]>
Commit | Line | Data |
---|---|---|
d28dcc0d | 1 | #ifndef AliFMDhit_H |
2 | #define AliFMDhit_H | |
4347b38f | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights |
4 | * reserved. | |
5 | * | |
6 | * See cxx source for full Copyright notice | |
7 | */ | |
42403906 | 8 | //___________________________________________________________________ |
4347b38f | 9 | // |
42403906 | 10 | // AliFMDhit is the hit class for the FMD. Hits are the information |
11 | // that comes from a Monte Carlo at each step as a particle mass | |
12 | // through sensitive detector elements as particles are transported | |
13 | // through a detector. | |
4347b38f | 14 | // |
4347b38f | 15 | #ifndef ALIHIT_H |
16 | # include "AliHit.h" | |
17 | #endif | |
d28dcc0d | 18 | |
4347b38f | 19 | |
d28dcc0d | 20 | |
4347b38f | 21 | class AliFMDHit : public AliHit |
22 | { | |
ab256e65 | 23 | public: |
4347b38f | 24 | AliFMDHit(); |
25 | AliFMDHit(Int_t shunt, | |
26 | Int_t track, | |
27 | UShort_t detector, | |
28 | Char_t ring, | |
29 | UShort_t sector, | |
30 | UShort_t strip, | |
31 | Float_t x=0, | |
32 | Float_t y=0, | |
33 | Float_t z=0, | |
34 | Float_t px=0, | |
35 | Float_t py=0, | |
36 | Float_t pz=0, | |
37 | Float_t edep=0, | |
38 | Int_t pdg=0, | |
39 | Float_t t=0); | |
40 | virtual ~AliFMDHit() {} | |
41 | ||
42 | UShort_t Detector() const { return fDetector; } | |
43 | Char_t Ring() const { return fRing; } | |
44 | UShort_t Sector() const { return fSector; } | |
45 | UShort_t Strip() const { return fStrip; } | |
46 | Float_t Edep() const { return fEdep; } | |
47 | Float_t Px() const { return fPx; } | |
48 | Float_t Py() const { return fPy; } | |
49 | Float_t Pz() const { return fPz; } | |
50 | Int_t Pdg() const { return fPdg; } | |
51 | Float_t Time() const { return fTime; } | |
52 | void Print(Option_t* opt="") const; | |
53 | ||
54 | void SetEdep(Float_t edep) { fEdep = edep; } | |
42403906 | 55 | protected: |
4347b38f | 56 | UShort_t fDetector; // (Sub) Detector # (1,2, or 3) |
57 | Char_t fRing; // Ring ID ('I' or 'O') | |
58 | UShort_t fSector; // Sector # (phi division) | |
59 | UShort_t fStrip; // Strip # (radial division) | |
60 | Float_t fPx; // Particle's X momentum X | |
61 | Float_t fPy; // Particle's Y momentum Y | |
62 | Float_t fPz; // Particle's Z momentum Z | |
63 | Int_t fPdg; // Particles PDG code | |
64 | Float_t fEdep; // Energy deposition | |
65 | Float_t fTime; // Particle's time of flight | |
ab256e65 | 66 | |
4347b38f | 67 | ClassDef(AliFMDHit,1) //Hits for detector FMD |
d28dcc0d | 68 | }; |
d28dcc0d | 69 | #endif |
4347b38f | 70 | //____________________________________________________________________ |
71 | // | |
0d0e6995 | 72 | // Local Variables: |
73 | // mode: C++ | |
74 | // End: | |
75 | // | |
4347b38f | 76 | // EOF |
77 | // |