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 ////////////////////////////////////////////////
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
21 // See AliHit for a full description. The track number of the track
22 // that made this hit.
25 // See AliHit for a full description. The global x position of the
26 // hit (in the standard units of the Monte Carlo).
29 // See AliHit for a full description. The global y position of the
30 // hit (in the standard units of the Monte Carlo).
33 // See AliHit for a full description. The global z position of the
34 // hit (in the standard units of the Monte Carlo).
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.
46 // The number of the FMD detector that contains this hit.
49 // The energy lost by the particle during the step ending in this
50 // hit. The units are those determined by the Monte Carlo.
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.
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.
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.
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.
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;}
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
99 ClassDef(AliFMDhit,1) //Hits for detector FMD