]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSHit.h
Clean up to correct for the mess introduced by my eratic branching !
[u/mrichter/AliRoot.git] / PHOS / AliPHOSHit.h
1 #ifndef ALIPHOSHIT_H
2 #define ALIPHOSHIT_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 ////////////////////////////////////////////////
7 //  Hits class for PHOS                     //
8 //  Version SUBATECH                          //
9 //  Author M. Volkov, RRC KI                  //
10 //  october 1999:                             // 
11 //            Modified by Y. Schutz SUBATECH  //
12 ////////////////////////////////////////////////
13
14 // --- ROOT system ---
15
16 // --- AliRoot header files ---
17 #include "AliHit.h"
18
19 // --- Standard library ---
20
21 #include <iostream>
22
23 class AliPHOSHit : public AliHit {
24
25 protected:
26
27   Int_t     fId ;        // Absolute Id number of PHOS Xtal or PPSD pad
28   Float_t   fELOS ;      // Energy deposited
29   
30 public:
31
32   AliPHOSHit() {}
33   AliPHOSHit(Int_t shunt, Int_t track, Int_t id, Float_t *hits) ;
34   virtual ~AliPHOSHit(void) {}
35   
36   Float_t GetEnergy(void)   const { return fELOS ; }
37   Int_t   GetId(void)       const { return fId ; }
38   
39   Bool_t operator == (AliPHOSHit const &rValue) const ;
40   AliPHOSHit operator + (const AliPHOSHit& rValue) const ;
41
42   friend ostream& operator << (ostream&, const AliPHOSHit&) ;
43
44   ClassDef(AliPHOSHit,1)  // Hits object for PHOS
45
46 } ;
47
48 //////////////////////////////////////////////////////////////////////////////
49
50 #endif // ALIPHOSHIT_H