]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ACORDE/AliACORDEhit.h
Fix for IsTriggerInputFired,GetFiredTriggerInputs
[u/mrichter/AliRoot.git] / ACORDE / AliACORDEhit.h
1 #ifndef ALIACORDEHIT_H
2 #define ALIACORDEHIT_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 ////////////////////////////////////////////////
9 //                                            //
10 //  Hit class for ACORDE                         //
11 //  Interface                                 //
12 //  Getters, Setters and member variables     //
13 //  declared here                             //
14 //                                            //
15 ////////////////////////////////////////////////
16
17 #include "AliHit.h"
18
19 class AliACORDEhit : public AliHit {  
20 public:
21   AliACORDEhit();
22   AliACORDEhit(Int_t shunt, Int_t track, Int_t* vol, Float_t *hits);
23   virtual ~AliACORDEhit();
24
25   Int_t GetModule() const {return fModule;}
26   Int_t GetPlastic() const {return fPlastic;}
27
28   Float_t TrackId()   const {return fTrackId;}
29   Float_t GetTime() const {return fTime;}
30   Float_t Px()           const {return fPx;}
31   Float_t Py()           const {return fPy;}
32   Float_t Pz()           const {return fPz;}
33   Float_t Energy() const {return fEnergy;}
34   Float_t Eloss()        const {return fEloss;}
35   Float_t PolarAngle()   const;
36   Float_t AzimuthAngle() const;
37   Float_t TrkLength() const {return fTrkLength;}
38
39
40 protected:
41   Int_t fModule;
42   Int_t fPlastic;
43   Float_t fTrackId;
44   Float_t fTime;
45   Float_t fPx;  
46   Float_t fPy;  
47   Float_t fPz;  
48   Float_t fEloss;
49   Float_t fEnergy;
50   Float_t fTrkLength;
51
52 private:
53   ClassDef(AliACORDEhit,1)  // Hit for ACORDE (ACORDE)
54 };
55
56 typedef AliACORDEhit AliCRThit; // for backward compatibility
57
58 #endif /* ALIACORDEHIT_H */