]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FMD/AliFMDhit.h
Moving to the new VMC naming convention
[u/mrichter/AliRoot.git] / FMD / AliFMDhit.h
1 #ifndef AliFMDhit_H
2 #define AliFMDhit_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5 ////////////////////////////////////////////////
6 //  Manager and hits classes for set:FMD     //
7 ////////////////////////////////////////////////
8 #include "AliHit.h"
9  
10  
11 class AliFMDhit : public AliHit {
12 ///////////////////////////////////////////////////////////////////////
13 // AliFMDhit is the hit class for the FMD. Hits are the information
14 // that comes from a Monte Carlo at each step as a particle mass through
15 // sensitive detector elements as particles are transported through a
16 // detector.
17 //
18 // Data members:
19 //
20 // Int_t fTrack
21 //     See AliHit for a full description. The track number of the track
22 // that made this hit.
23 //
24 // Float_t fX
25 //     See AliHit for a full description. The global x position of the
26 // hit (in the standard units of the Monte Carlo).
27 //
28 // Float_t fY
29 //     See AliHit for a full description. The global y position of the
30 // hit (in the standard units of the Monte Carlo).
31 //
32 // Float_t fZ
33 //     See AliHit for a full description. The global z position of the
34 // hit (in the standard units of the Monte Carlo).
35 //
36 // Int_t fStatus
37 //     The track status flag. This flag indicates the track status
38 // at the time of creating this hit. It is made up of the following 8
39 // status bits from highest order to lowest order bits
40 // 0           :  IsTrackAlive():    IsTrackStop():IsTrackDisappeared():
41 // IsTrackOut():IsTrackExiting():IsTrackEntering():IsTrackInside()     .
42 // See AliMC for a description of these functions. If the function is
43 // true then the bit is set to one, otherwise it is zero.
44
45 // Int_t fVolume
46 //     The number of the FMD detector that contains this hit. 
47
48 // Float_t fEdep
49 //     The energy lost by the particle during the step ending in this
50 // hit. The units are those determined by the Monte Carlo.
51 //
52 // Float_t fPx
53 //     The x momentum, in global coordinates, of the particle that
54 // "created" the hit at the time and position of the hit. The units
55 // are those determined by the Monte Carlo.
56 //
57 // Float_t fPy
58 //     The y momentum, in global coordinates, of the particle that
59 // "created" the hit at the time and position of the hit. The units
60 // are those determined by the Monte Carlo.
61 //
62 // Float_t fPz
63 //     The z momentum, in global coordinates, of the particle that
64 // "created" the hit at the time and position of the hit. The units
65 // are those determined by the Monte Carlo.
66 //
67 ///
68 // Float_t fTime
69 //     The time of flight associated with the particle ending in this
70 // hit. The time is typically measured from the point of creation of the
71 // original particle (if this particle is a daughter).  The units
72 // are those determined by the Monte Carlo.
73
74   
75 public:
76   AliFMDhit() {}
77   AliFMDhit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
78   virtual ~AliFMDhit() {}
79   Int_t Volume() const {return fVolume;}
80   Int_t NumberOfSector() const {return fNumberOfSector;}
81   Int_t NumberOfRing() const {return fNumberOfRing;}
82   Float_t Particle() const {return fParticle;} 
83   Float_t Edep() const {return fEdep;}
84   Float_t Px() const {return fPx;}
85   Float_t Py() const {return fPy;}
86   Float_t Pz() const {return fPz;} 
87   Float_t Time() const {return fTime;}
88 private:
89   Int_t      fVolume;       //Volume copy identifier
90   Int_t    fNumberOfSector;  //number of sector of hitted pad 
91   Int_t    fNumberOfRing;    //number of ring of  hitted pad
92   Int_t      fParticle;     //Particle identificator
93   Float_t    fEdep;         //Energy deposition
94   Float_t    fPx;            // Particle's momentum X
95   Float_t    fPy;            // Particle's momentum Y
96   Float_t    fPz;            // Particle's momentum Z
97   Float_t    fTime;         // Particle's time of flight
98
99   ClassDef(AliFMDhit,1)  //Hits for detector FMD
100 };
101 #endif