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.
75 Int_t fVolume; //Volume copy identifier
76 Int_t fNumberOfSector;
78 Int_t fParticle; //Particle identificator
79 Float_t fEdep; //Energy deposition
80 Float_t fPx; // Particle's momentum X
81 Float_t fPy; // Particle's momentum Y
82 Float_t fPz; // Particle's momentum Z
83 Float_t fTime; // Particle's time of flight
87 AliFMDhit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
88 virtual ~AliFMDhit() {}
90 Int_t NumberOfSector();
98 ClassDef(AliFMDhit,1) //Hits for detector FMD
100 inline Int_t AliFMDhit::Volume(){return fVolume;}
101 inline Int_t AliFMDhit::NumberOfSector(){return fNumberOfSector;}
102 inline Int_t AliFMDhit::NumberOfRing(){return fNumberOfRing;}
103 inline Float_t AliFMDhit::Particle(){return fParticle;}
104 inline Float_t AliFMDhit::Edep(){return fEdep;}
105 inline Float_t AliFMDhit::Px(){return fPx;}
106 inline Float_t AliFMDhit::Py(){return fPy;}
107 inline Float_t AliFMDhit::Pz(){return fPz;}
108 inline Float_t AliFMDhit::Time(){return fTime;}