Line data Source code
1 : #ifndef ALIVZEROHIT_H
2 : #define ALIVZEROHIT_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 : // Manager and hits classes for set : VZERO //
11 : // //
12 : ////////////////////////////////////////////////
13 :
14 : #include "AliHit.h"
15 : #include "TObjArray.h"
16 : #include "TArrayF.h"
17 :
18 0 : class AliVZEROhit : public AliHit {
19 :
20 : public:
21 : AliVZEROhit();
22 : AliVZEROhit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
23 150 : virtual ~AliVZEROhit() {};
24 :
25 0 : Int_t Volume() const {return fVolume;};
26 0 : Int_t CopyNumber() const {return fCopy;};
27 0 : Float_t TrackPiD() const {return fTrackPiD;};
28 128 : Float_t Tof() const {return fTof;};
29 0 : Float_t Charge() const {return fCharge;};
30 0 : Float_t RingNumber() const {return fRingNumber;};
31 0 : Float_t Pt() const {return fPt;};
32 0 : Float_t Pmom() const {return fPmom;};
33 0 : Float_t Px() const {return fPx;};
34 0 : Float_t Py() const {return fPy;};
35 0 : Float_t Pz() const {return fPz;};
36 0 : Float_t Vx() const {return fVx;};
37 0 : Float_t Vy() const {return fVy;};
38 0 : Float_t Vz() const {return fVz;};
39 0 : Float_t Eloss() const {return fEloss;}
40 0 : Float_t Tleng() const {return fTleng;}
41 128 : Int_t Nphot() const {return fNphot;}
42 256 : Int_t Cell() const {return fCell;}
43 :
44 : private:
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
53 :
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
64 : Int_t fNphot; // Number of photons created by current hit
65 : Int_t fCell; // Scintillator cell number from 0 to 71
66 :
67 14 : ClassDef(AliVZEROhit,2) // Hits for detector VZERO
68 : };
69 : #endif
|