3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
6 * See cxx source for full Copyright notice
8 ////////////////////////////////////////////////
10 // Manager and hits classes for set:FMD
12 ////////////////////////////////////////////////
18 ///////////////////////////////////////////////////////////////////////
19 // AliFMDhit is the hit class for the FMD. Hits are the information
20 // that comes from a Monte Carlo at each step as a particle mass through
21 // sensitive detector elements as particles are transported through a
27 // See AliHit for a full description. The track number of the track
28 // that made this hit.
31 // See AliHit for a full description. The global x position of the
32 // hit (in the standard units of the Monte Carlo).
35 // See AliHit for a full description. The global y position of the
36 // hit (in the standard units of the Monte Carlo).
39 // See AliHit for a full description. The global z position of the
40 // hit (in the standard units of the Monte Carlo).
43 // The track status flag. This flag indicates the track status
44 // at the time of creating this hit. It is made up of the following 8
45 // status bits from highest order to lowest order bits
46 // 0 : IsTrackAlive(): IsTrackStop():IsTrackDisappeared():
47 // IsTrackOut():IsTrackExiting():IsTrackEntering():IsTrackInside() .
48 // See AliMC for a description of these functions. If the function is
49 // true then the bit is set to one, otherwise it is zero.
52 // The number of the FMD detector that contains this hit.
55 // The energy lost by the particle during the step ending in this
56 // hit. The units are those determined by the Monte Carlo.
59 // The x momentum, in global coordinates, of the particle that
60 // "created" the hit at the time and position of the hit. The units
61 // are those determined by the Monte Carlo.
64 // The y momentum, in global coordinates, of the particle that
65 // "created" the hit at the time and position of the hit. The units
66 // are those determined by the Monte Carlo.
69 // The z momentum, in global coordinates, of the particle that
70 // "created" the hit at the time and position of the hit. The units
71 // are those determined by the Monte Carlo.
75 // The time of flight associated with the particle ending in this
76 // hit. The time is typically measured from the point of creation of the
77 // original particle (if this particle is a daughter). The units
78 // are those determined by the Monte Carlo.
80 class AliFMDHit : public AliHit
84 AliFMDHit(Int_t shunt,
99 virtual ~AliFMDHit() {}
101 UShort_t Detector() const { return fDetector; }
102 Char_t Ring() const { return fRing; }
103 UShort_t Sector() const { return fSector; }
104 UShort_t Strip() const { return fStrip; }
105 Float_t Edep() const { return fEdep; }
106 Float_t Px() const { return fPx; }
107 Float_t Py() const { return fPy; }
108 Float_t Pz() const { return fPz; }
109 Int_t Pdg() const { return fPdg; }
110 Float_t Time() const { return fTime; }
111 void Print(Option_t* opt="") const;
113 void SetEdep(Float_t edep) { fEdep = edep; }
115 UShort_t fDetector; // (Sub) Detector # (1,2, or 3)
116 Char_t fRing; // Ring ID ('I' or 'O')
117 UShort_t fSector; // Sector # (phi division)
118 UShort_t fStrip; // Strip # (radial division)
119 Float_t fPx; // Particle's X momentum X
120 Float_t fPy; // Particle's Y momentum Y
121 Float_t fPz; // Particle's Z momentum Z
122 Int_t fPdg; // Particles PDG code
123 Float_t fEdep; // Energy deposition
124 Float_t fTime; // Particle's time of flight
126 ClassDef(AliFMDHit,1) //Hits for detector FMD
129 //____________________________________________________________________