// EMCAL digit:
//
// A Digit is the sum of energy in a Tower (Hit sum) and stores information, about primaries
-// and enterring particle contributing to a Digit
+// and entering particle contributing to a Digit
//
//*-- Author: Sahal Yacoob (LBL)
// based on : AliPHOSDigit
Int_t GetIparent(Int_t index) const ;
Float_t GetPhi() const;
Float_t GetTime(void) const {return fTime ;}
+ Float_t GetTimeR(void) const {return fTimeR ;}
Bool_t IsSortable() const { return kTRUE ; }
void SetAmp(Int_t amp) { fAmp= amp ; }
void SetId(Int_t id) {fId = id ;}
void SetTime(Float_t time) {fTime = time ;}
- void ShiftPrimary(Int_t shift); // shift to semarate different TreeK in merging
+ void SetTimeR(Float_t time) {fTimeR = time ;}
+ void ShiftPrimary(Int_t shift); // shift to separate different TreeK in merging
private:
Int_t *fIparent ; //[fNMaxiparent] Array of parents
Int_t fMaxIter ; // Number to Increment Maxiparent, and MaxPrimary if default is not sufficient
Float_t fTime ; // Calculated time
-
- ClassDef(AliEMCALDigit,1) // Digit in EMCAL
+ Float_t fTimeR ; // Earliest time: to be used by Digits2Raw
+
+ ClassDef(AliEMCALDigit,2) // Digit in EMCAL
} ;