Added new funtion GetEta
authorvestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 18 Sep 2001 10:48:24 +0000 (10:48 +0000)
committervestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 18 Sep 2001 10:48:24 +0000 (10:48 +0000)
HLT/src/AliL3Transform.cxx
HLT/src/AliL3Transform.h

index 5048a13e338eb9a1c1bb1f24d018431ecd41dad9..95fb71ad1a42d99dbd5f450d01b817931d3adf4b 100644 (file)
@@ -413,6 +413,15 @@ Double_t AliL3Transform::GetEta(Float_t *xyz)
   return eta;
 }
 
+Double_t AliL3Transform::GetEta(Int_t row,Int_t pad,Int_t time)
+{
+  Float_t xyz[3];
+  Raw2Local(xyz,0,row,pad,time);
+  
+  return GetEta(xyz);
+}
+
+
 Double_t AliL3Transform::GetPhi(Float_t *xyz)
 {
   
index eb29a4799fe8212ecf156b96948a06d3da8114e1..f5e79b38e82d9c8f2c30748d35a868176970464e 100644 (file)
@@ -45,6 +45,7 @@ class AliL3Transform {
   Int_t GetNTimeBins(){return fNTimeBins;}
 
   Double_t GetEta(Float_t *xyz);
+  Double_t GetEta(Int_t row,Int_t pad,Int_t time);
   Double_t GetPhi(Float_t *xyz);
   Double_t GetMaxY(Int_t slicerow);
   void Local2Global(Float_t *xyz,Int_t slice);