]> git.uio.no Git - u/mrichter/AliRoot.git/blob - VZERO/AliVZEROhit.h
Protection against wrong name added
[u/mrichter/AliRoot.git] / VZERO / AliVZEROhit.h
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"
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);
21   virtual ~AliVZEROhit() {}
22   virtual Int_t Volume() {return fVolume;};
23   virtual Int_t Copy() {return fCopy;};
24   virtual Float_t TrackPiD() {return fTrackPiD;};
25   virtual Float_t Tof() {return fTof;};
26   virtual Float_t Charge() {return fCharge;};
27   virtual Float_t RingNumber() {return fRingNumber;};
28   
29   virtual Float_t Pt()   {return fPt;};
30   virtual Float_t Pmom() {return fPmom;};
31   virtual Float_t Px()   {return fPx;};
32   virtual Float_t Py()   {return fPy;};
33   virtual Float_t Pz()   {return fPz;};
34   
35   Float_t Eloss()        {return fEloss;}
36   Float_t Tleng()        {return fTleng;}
37   
38 private:
39   Int_t   fVolume;                // Current volume ID
40   Int_t   fCopy;                  // Copy number
41   Float_t fTrackPiD;              // Root particle ID 
42   Float_t fTof;                   // Time of flight wrt vertex
43   Float_t fCharge;                // Charge of particle
44   Float_t fTheta; 
45   Float_t fPhi;
46   Float_t fRingNumber;
47   
48   Float_t fPt;
49   Float_t fPmom;
50   Float_t fPx;
51   Float_t fPy;
52   Float_t fPz;
53   
54   Float_t fEloss;         //  energy loss  in VZERO detector
55   Float_t fTleng;         //  track length in VZERO detector
56   
57     
58   ClassDef(AliVZEROhit,1)  //Hits for detector VZERO
59 };
60 #endif