]>
Commit | Line | Data |
---|---|---|
d28dcc0d | 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 | private: | |
75 | Int_t fVolume; //Volume copy identifier | |
b9a2d5e4 | 76 | Int_t fNumberOfSector; |
77 | Int_t fNumberOfRing; | |
d28dcc0d | 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 | |
84 | ||
85 | public: | |
86 | AliFMDhit() {} | |
87 | AliFMDhit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits); | |
88 | virtual ~AliFMDhit() {} | |
c50e4c92 | 89 | Int_t Volume(); |
b9a2d5e4 | 90 | Int_t NumberOfSector(); |
91 | Int_t NumberOfRing(); | |
c50e4c92 | 92 | Float_t Particle(); |
93 | Float_t Edep(); | |
94 | Float_t Px(); | |
95 | Float_t Py(); | |
96 | Float_t Pz(); | |
97 | Float_t Time(); | |
dc8af42e | 98 | ClassDef(AliFMDhit,1) //Hits for detector FMD |
d28dcc0d | 99 | }; |
c50e4c92 | 100 | inline Int_t AliFMDhit::Volume(){return fVolume;} |
b9a2d5e4 | 101 | inline Int_t AliFMDhit::NumberOfSector(){return fNumberOfSector;} |
102 | inline Int_t AliFMDhit::NumberOfRing(){return fNumberOfRing;} | |
c50e4c92 | 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;} | |
d28dcc0d | 109 | #endif |