// This function should be one to one
AliEMCALGetter * gime = AliEMCALGetter::GetInstance() ;
const AliEMCALGeometry * geom = gime->EMCALGeometry();
- Int_t ieta = (ihit/geom->GetNPhi())%geom->GetNZ(); // eta Tower Index
+ Int_t ieta = ((ihit-1)/geom->GetNPhi())%geom->GetNZ(); // eta Tower Index
Int_t iphi = (ihit-1)%(geom->GetNPhi())+1; //phi Tower Index
Int_t it = -10;
Int_t ipre = 0;
void SetSDigitsBranch(const char * title ) ;
Bool_t operator == (const AliEMCALSDigitizer & sd) const ;
+ Int_t Segment2TowerID(Int_t SegmentID){
+ return Layer2TowerID(SegmentID,kFALSE);
+}
private:
void Init() ;