]> git.uio.no Git - u/mrichter/AliRoot.git/blob - VZERO/AliVZEROhit.h
Fixes for the trunk: compilation on Lion (Yves)
[u/mrichter/AliRoot.git] / VZERO / AliVZEROhit.h
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 class AliVZEROhit : public AliHit {
19  
20 public:
21   AliVZEROhit();
22   AliVZEROhit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
23   virtual ~AliVZEROhit() {};
24   
25   Int_t   Volume()  const {return fVolume;};
26   Int_t   CopyNumber()    const {return fCopy;};
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;}
41   Int_t   Nphot() const {return fNphot;}
42   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   ClassDef(AliVZEROhit,2) //  Hits for detector VZERO
68 };
69 #endif