]> git.uio.no Git - u/mrichter/AliRoot.git/blob - VZERO/AliVZEROhit.h
fortran loop removed
[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   Copy()    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  
42 private:
43   Int_t   fVolume;        // Current volume ID
44   Int_t   fCopy;          // Current copy number
45   Float_t fTrackPiD;      // Track PiD 
46   Float_t fTof;           // Particle time of flight wrt vertex
47   Float_t fCharge;        // Particle charge
48   Float_t fTheta;         // Incident theta angle in degrees 
49   Float_t fPhi;           // Incident phi angle in degrees
50   Float_t fRingNumber;    // RingNumber
51   
52   Float_t fPt;            // Local transverse momentum of the particle
53   Float_t fPmom;          // Local P momentum of the particle
54   Float_t fPx;            // Local Px momentum of the particle
55   Float_t fPy;            // Local Py momentum of the particle
56   Float_t fPz;            // Local Pz momentum of the particle
57   Float_t fVx;            // Vertex x coordinate  
58   Float_t fVy;            // Vertex y coordinate  
59   Float_t fVz;            // Vertex z coordinate    
60   Float_t fEloss;         // Energy loss  in VZERO detector
61   Float_t fTleng;         // Track length in VZERO detector
62   
63     
64   ClassDef(AliVZEROhit,2) //  Hits for detector VZERO
65 };
66 #endif