3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 ////////////////////////////////////////////////
7 // Hits class for PHOS //
9 // Author M. Volkov, RRC KI //
11 // Modified by Y. Schutz SUBATECH //
12 ////////////////////////////////////////////////
14 // --- ROOT system ---
16 // --- AliRoot header files ---
20 class AliPHOSHit : public AliHit {
24 Int_t fId ; // Absolute Id number of PHOS Xtal or PPSD pad
25 Float_t fELOS ; // Energy deposited
30 AliPHOSHit(Int_t shunt, Int_t track, Int_t id, Float_t *hits) ;
31 virtual ~AliPHOSHit(void) {}
33 Float_t GetEnergy(void) const { return fELOS ; }
34 Int_t GetId(void) const { return fId ; }
36 Bool_t operator == (AliPHOSHit const &rValue) const ;
37 AliPHOSHit operator + (const AliPHOSHit& rValue) const ;
39 friend ostream& operator << (ostream&, const AliPHOSHit&) ;
41 ClassDef(AliPHOSHit,1) // Hits object for PHOS
45 //////////////////////////////////////////////////////////////////////////////
47 #endif // ALIPHOSHIT_H