From: barbera Date: Tue, 22 Oct 2002 08:41:10 +0000 (+0000) Subject: A bug spotted by Yura Belikov in AliITSsegmentationSDD::GetPadIxz has been fixed X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=18b96646e93bad3fd4d0a7b7ce0c869911d42c54;p=u%2Fmrichter%2FAliRoot.git A bug spotted by Yura Belikov in AliITSsegmentationSDD::GetPadIxz has been fixed --- diff --git a/ITS/AliITSsegmentationSDD.cxx b/ITS/AliITSsegmentationSDD.cxx index 7f3bed61147..12779f13630 100644 --- a/ITS/AliITSsegmentationSDD.cxx +++ b/ITS/AliITSsegmentationSDD.cxx @@ -97,7 +97,7 @@ void AliITSsegmentationSDD::GetPadIxz(Float_t x,Float_t z, Int_t na = fNanodes/2; Float_t driftpath=fDx-TMath::Abs(kconv*x); timebin=(Int_t)(driftpath/fDriftSpeed/fTimeStep); - anode=(Int_t)(kconv*(z/fPitch + na/2)); + anode=(Int_t)(kconv*z/fPitch + na/2)); if (x > 0) anode += na; timebin+=1;