47890cd3 |
1 | #ifndef VZEROHIT_H |
2 | #define VZEROHIT_H |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ |
5 | |
6 | |
7 | //////////////////////////////////////////////// |
8 | // Manager and hits classes for set : VZERO // |
9 | //////////////////////////////////////////////// |
10 | |
11 | #include "AliDetector.h" |
12 | #include "AliHit.h" |
13 | #include "TObjArray.h" |
14 | #include "TArrayF.h" |
47890cd3 |
15 | |
16 | class AliVZEROhit : public AliHit { |
17 | |
18 | public: |
19 | AliVZEROhit() {} |
20 | AliVZEROhit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits); |
c288a388 |
21 | virtual ~AliVZEROhit() {}; |
61874e87 |
22 | |
c288a388 |
23 | Int_t Volume() {return fVolume;}; |
24 | Int_t Copy() {return fCopy;}; |
25 | Float_t TrackPiD() {return fTrackPiD;}; |
26 | Float_t Tof() {return fTof;}; |
27 | Float_t Charge() {return fCharge;}; |
28 | Float_t RingNumber() {return fRingNumber;}; |
29 | Float_t Pt() {return fPt;}; |
30 | Float_t Pmom() {return fPmom;}; |
31 | Float_t Px() {return fPx;}; |
32 | Float_t Py() {return fPy;}; |
33 | Float_t Pz() {return fPz;}; |
34 | Float_t Vx() {return fVx;}; |
35 | Float_t Vy() {return fVy;}; |
36 | Float_t Vz() {return fVz;}; |
37 | Float_t Eloss() {return fEloss;} |
38 | Float_t Tleng() {return fTleng;} |
39 | |
61874e87 |
40 | private: |
47890cd3 |
41 | Int_t fVolume; // Current volume ID |
42 | Int_t fCopy; // Copy number |
47890cd3 |
43 | Float_t fTrackPiD; // Root particle ID |
47890cd3 |
44 | Float_t fTof; // Time of flight wrt vertex |
47890cd3 |
45 | Float_t fCharge; // Charge of particle |
47890cd3 |
46 | Float_t fTheta; |
47 | Float_t fPhi; |
61874e87 |
48 | Float_t fRingNumber; |
49 | |
50 | Float_t fPt; |
51 | Float_t fPmom; |
52 | Float_t fPx; |
53 | Float_t fPy; |
54 | Float_t fPz; |
c288a388 |
55 | Float_t fVx; |
56 | Float_t fVy; |
57 | Float_t fVz; |
61874e87 |
58 | Float_t fEloss; // energy loss in VZERO detector |
59 | Float_t fTleng; // track length in VZERO detector |
60 | |
47890cd3 |
61 | |
14f9f6b4 |
62 | ClassDef(AliVZEROhit,2) //Hits for detector VZERO |
47890cd3 |
63 | }; |
64 | #endif |