]>
Commit | Line | Data |
---|---|---|
5e319bd5 | 1 | #ifndef ALIADHIT_H |
2 | #define ALIADHIT_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id: AliADhit.h $ */ | |
7 | ||
8 | //////////////////////////////////////////////// | |
9 | // // | |
10 | // Manager and hits classes for set : AD // | |
11 | // // | |
12 | //////////////////////////////////////////////// | |
13 | ||
14 | #include "AliHit.h" | |
15 | #include "TObjArray.h" | |
16 | ||
17 | ||
18 | class AliADhit : public AliHit { | |
19 | ||
20 | public: | |
21 | AliADhit(); | |
22 | AliADhit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits); | |
23 | virtual ~AliADhit(); | |
24 | Int_t GetModule() const { return fModule; } | |
25 | Float_t GetEnergy() const { return fEk; } | |
26 | Float_t GetPt() const { return fPt; } | |
27 | Float_t GetPx() const { return fPx; } | |
28 | Float_t GetPy() const { return fPy; } | |
29 | Float_t GetPz() const { return fPz; } | |
30 | Float_t GetTof() const { return fTof; }; | |
31 | Float_t GetTrackleng() const { return fTleng; } | |
32 | Float_t GetEloss() const { return fEloss; } | |
33 | Int_t GetNphot() const { return fNphot; } | |
34 | Int_t GetCell() const { return fCell; } | |
35 | Int_t GetTrackStatus() const { return fPrimary; } | |
36 | Int_t GetTrackPDG() const { return fPDG; } | |
37 | Int_t GetTrackPDGMother() const { return fPDGMother; } | |
38 | ||
39 | protected: | |
36507bb2 | 40 | Int_t fModule; |
5e319bd5 | 41 | Float_t fEk; // kinetic energy of the entering particle |
42 | Float_t fPt; // Local transverse momentum of the particle | |
43 | Float_t fPx; // Local Px momentum of the particle | |
44 | Float_t fPy; // Local Py momentum of the particle | |
45 | Float_t fPz; // Local Pz momentum of the particle | |
46 | Float_t fTof; // Particle time of flight wrt vertex | |
47 | Float_t fTleng; // Track length in ADA or ADD detector | |
48 | Float_t fEloss; // Energy loss in AD detector | |
49 | Int_t fNphot; // Number of photons created by current hit | |
50 | Int_t fCell; // Scintillator cell (Sector Number) (ADA1 = 10-14, ADA2 = 20-24, ADC1 = 30-34, ADC2 = 40-44) | |
51 | ||
52 | // The following are for fast analysis, but nor really needed, can be retrive from AliStack with track ID on fTrack | |
53 | Int_t fPrimary; // flag (track primary or secondary) | |
54 | Int_t fPDG; // PDG code | |
55 | Int_t fPDGMother; // PDG code of the mother | |
56 | ||
57 | private: | |
58 | ClassDef(AliADhit,1) // Hits for detector AD | |
59 | }; | |
60 | ||
61 | #endif |