]> git.uio.no Git - u/mrichter/AliRoot.git/blob - VZERO/AliVZEROhit.h
Transition to NewIO
[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 /* $Id$ */
7
8 ////////////////////////////////////////////////
9 //  Manager and hits classes for set : VZERO  //
10 ////////////////////////////////////////////////
11  
12 #include "AliDetector.h"
13 #include "AliHit.h"
14 #include "TObjArray.h"
15 #include "TArrayF.h"
16  
17 class AliVZEROhit : public AliHit {
18  
19 public:
20   AliVZEROhit() {}
21   AliVZEROhit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
22   virtual ~AliVZEROhit() {};
23   
24   Int_t Volume()  {return fVolume;};
25   Int_t Copy()    {return fCopy;};
26   Float_t TrackPiD() {return fTrackPiD;};
27   Float_t Tof()   {return fTof;};
28   Float_t Charge() {return fCharge;};
29   Float_t RingNumber() {return fRingNumber;};
30   Float_t Pt()    {return fPt;};
31   Float_t Pmom()  {return fPmom;};
32   Float_t Px()    {return fPx;};
33   Float_t Py()    {return fPy;};
34   Float_t Pz()    {return fPz;};
35   Float_t Vx()    {return fVx;};
36   Float_t Vy()    {return fVy;};
37   Float_t Vz()    {return fVz;};
38   Float_t Eloss() {return fEloss;}
39   Float_t Tleng() {return fTleng;}
40  
41 private:
42   Int_t   fVolume;                // Current volume ID
43   Int_t   fCopy;                  // Copy number
44   Float_t fTrackPiD;              // Root particle ID 
45   Float_t fTof;                   // Time of flight wrt vertex
46   Float_t fCharge;                // Charge of particle
47   Float_t fTheta; 
48   Float_t fPhi;
49   Float_t fRingNumber;
50   
51   Float_t fPt;
52   Float_t fPmom;
53   Float_t fPx;
54   Float_t fPy;
55   Float_t fPz;
56   Float_t fVx;
57   Float_t fVy;
58   Float_t fVz;
59   Float_t fEloss;         //  energy loss  in VZERO detector
60   Float_t fTleng;         //  track length in VZERO detector
61   
62     
63   ClassDef(AliVZEROhit,2)  //Hits for detector VZERO
64 };
65 #endif