rpe[2] = 0.5 * log((rpe[0]+xyz[2])/(rpe[0]-xyz[2]));
}
-Double_t AliL3Transform::GetEta(Int_t padrow,Int_t pad,Int_t time)
+Double_t AliL3Transform::GetEta(Int_t slice,Int_t padrow,Int_t pad,Int_t time)
{
Float_t xyz[3];
Int_t sector,row;
- Slice2Sector(0,padrow,sector,row);
+ Slice2Sector(slice,padrow,sector,row);
Raw2Local(xyz,sector,row,pad,time);
return GetEta(xyz);
static Double_t Row2X(Int_t slicerow);
static Double_t GetMaxY(Int_t slicerow);
static Double_t GetEta(Float_t *xyz);
- static Double_t GetEta(Int_t row, Int_t pad, Int_t time);
+ static Double_t GetEta(Int_t slice,Int_t padrow, Int_t pad, Int_t time);
static Double_t GetPhi(Float_t *xyz);
static void XYZtoRPhiEta(Float_t *rpe, Float_t *xyz);