]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Bugfix in GetEta(padrow,pad,time)
authorvestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Oct 2001 18:55:38 +0000 (18:55 +0000)
committervestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Oct 2001 18:55:38 +0000 (18:55 +0000)
HLT/src/AliL3Transform.cxx

index 95fb71ad1a42d99dbd5f450d01b817931d3adf4b..13c6e3386aa9d72d27cc035d0b3919a1b2c976e2 100644 (file)
@@ -413,10 +413,12 @@ Double_t AliL3Transform::GetEta(Float_t *xyz)
   return eta;
 }
 
-Double_t AliL3Transform::GetEta(Int_t row,Int_t pad,Int_t time)
+Double_t AliL3Transform::GetEta(Int_t padrow,Int_t pad,Int_t time)
 {
   Float_t xyz[3];
-  Raw2Local(xyz,0,row,pad,time);
+  Int_t sector,row;
+  Slice2Sector(0,padrow,sector,row);
+  Raw2Local(xyz,sector,row,pad,time);
   
   return GetEta(xyz);
 }