]>
Commit | Line | Data |
---|---|---|
f359b593 | 1 | #ifndef ALIVZEROHIT_H |
2 | #define ALIVZEROHIT_H | |
47890cd3 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
88cb7938 | 6 | /* $Id$ */ |
47890cd3 | 7 | |
8 | //////////////////////////////////////////////// | |
b2501ea3 | 9 | // // |
47890cd3 | 10 | // Manager and hits classes for set : VZERO // |
b2501ea3 | 11 | // // |
47890cd3 | 12 | //////////////////////////////////////////////// |
13 | ||
47890cd3 | 14 | #include "AliHit.h" |
15 | #include "TObjArray.h" | |
16 | #include "TArrayF.h" | |
47890cd3 | 17 | |
18 | class AliVZEROhit : public AliHit { | |
19 | ||
20 | public: | |
0b2bea8b | 21 | AliVZEROhit(); |
47890cd3 | 22 | AliVZEROhit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits); |
c288a388 | 23 | virtual ~AliVZEROhit() {}; |
61874e87 | 24 | |
b2501ea3 | 25 | Int_t Volume() const {return fVolume;}; |
f8313c96 | 26 | Int_t CopyNumber() const {return fCopy;}; |
b2501ea3 | 27 | Float_t TrackPiD() const {return fTrackPiD;}; |
28 | Float_t Tof() const {return fTof;}; | |
29 | Float_t Charge() const {return fCharge;}; | |
30 | Float_t RingNumber() const {return fRingNumber;}; | |
31 | Float_t Pt() const {return fPt;}; | |
32 | Float_t Pmom() const {return fPmom;}; | |
33 | Float_t Px() const {return fPx;}; | |
34 | Float_t Py() const {return fPy;}; | |
35 | Float_t Pz() const {return fPz;}; | |
36 | Float_t Vx() const {return fVx;}; | |
37 | Float_t Vy() const {return fVy;}; | |
38 | Float_t Vz() const {return fVz;}; | |
39 | Float_t Eloss() const {return fEloss;} | |
40 | Float_t Tleng() const {return fTleng;} | |
4fb54467 | 41 | Int_t Nphot() const {return fNphot;} |
42 | Int_t Cell() const {return fCell;} | |
c288a388 | 43 | |
61874e87 | 44 | private: |
b2501ea3 | 45 | Int_t fVolume; // Current volume ID |
46 | Int_t fCopy; // Current copy number | |
47 | Float_t fTrackPiD; // Track PiD | |
48 | Float_t fTof; // Particle time of flight wrt vertex | |
49 | Float_t fCharge; // Particle charge | |
50 | Float_t fTheta; // Incident theta angle in degrees | |
51 | Float_t fPhi; // Incident phi angle in degrees | |
52 | Float_t fRingNumber; // RingNumber | |
61874e87 | 53 | |
b2501ea3 | 54 | Float_t fPt; // Local transverse momentum of the particle |
55 | Float_t fPmom; // Local P momentum of the particle | |
56 | Float_t fPx; // Local Px momentum of the particle | |
57 | Float_t fPy; // Local Py momentum of the particle | |
58 | Float_t fPz; // Local Pz momentum of the particle | |
59 | Float_t fVx; // Vertex x coordinate | |
60 | Float_t fVy; // Vertex y coordinate | |
61 | Float_t fVz; // Vertex z coordinate | |
62 | Float_t fEloss; // Energy loss in VZERO detector | |
63 | Float_t fTleng; // Track length in VZERO detector | |
1332e706 | 64 | Int_t fNphot; // Number of photons created by current hit |
65 | Int_t fCell; // Scintillator cell number from 0 to 71 | |
66 | ||
b2501ea3 | 67 | ClassDef(AliVZEROhit,2) // Hits for detector VZERO |
47890cd3 | 68 | }; |
69 | #endif |