X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSHit.h;h=c8dd1e3f31ff6b64bd38c862c89117b60121ca33;hb=94256c234ed702deab6d41d77254f94e75752e65;hp=591e751d1a41b749005a73d76cbc2b4d1aea072e;hpb=b37750a69b962e261778906ac123eab7cfd06b37;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSHit.h b/PHOS/AliPHOSHit.h index 591e751d1a4..c8dd1e3f31f 100644 --- a/PHOS/AliPHOSHit.h +++ b/PHOS/AliPHOSHit.h @@ -19,8 +19,6 @@ // --- Standard library --- -#include - class AliPHOSHit : public AliHit { @@ -50,6 +48,15 @@ class AliPHOSHit : public AliHit { return fPrimary ; } + Float_t GetTime(void) const { + // returns the time of the first energy deposition + return fTime ; + } + + virtual Float_t X() const ; + virtual Float_t Y() const ; + virtual Float_t Z() const ; + Bool_t operator == (AliPHOSHit const &rValue) const ; AliPHOSHit operator + (const AliPHOSHit& rValue) ; @@ -59,6 +66,7 @@ class AliPHOSHit : public AliHit { Int_t fId ; // Absolute Id number of PHOS Xtal or PPSD pad Float_t fELOS ; // Energy deposited Int_t fPrimary ; // Primary particles at the origine of the hit + Float_t fTime ; // Time of the energy deposition ClassDef(AliPHOSHit,1) // Hit for PHOS