- Float_t GetEnergy(void) const { return fELOS ; }
- Int_t GetId(void) const { return fId ; }
- Int_t GetPrimary(void) const { return fPrimary ; }
+ AliPHOSHit() : fId(0),fELOS(0),fTime(0) {
+ // default ctor
+ }
+ AliPHOSHit(const AliPHOSHit & hit) ;
+ AliPHOSHit(Int_t shunt, Int_t tracknumber, Int_t id, Float_t *hits);
+ virtual ~AliPHOSHit(void) {
+ // dtor
+ }
+
+ Float_t GetEnergy(void) const {
+ // returns the energy loss for this hit
+ return fELOS ;
+ }
+ Int_t GetId(void) const {
+ // return the identificator of this his
+ return fId ;
+ }
+ Int_t GetPrimary(void) const {
+ // returns the primary particle id at the origine of this hit
+ return fTrack ;
+ }
+
+ Float_t GetTime(void) const {
+ // returns the time of the first energy deposition
+ return fTime ;
+ }
+