3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
6 * See cxx source for full Copyright notice
8 //___________________________________________________________________
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.
19 //___________________________________________________________________
20 class AliFMDHit : public AliHit
24 AliFMDHit(Int_t shunt,
41 virtual ~AliFMDHit() {}
43 UShort_t Detector() const { return fDetector; }
44 Char_t Ring() const { return fRing; }
45 UShort_t Sector() const { return fSector; }
46 UShort_t Strip() const { return fStrip; }
47 Float_t Edep() const { return fEdep; }
48 Float_t Px() const { return fPx; }
49 Float_t Py() const { return fPy; }
50 Float_t Pz() const { return fPz; }
54 Int_t Pdg() const { return fPdg; }
55 Float_t Time() const { return fTime; }
56 Float_t Length() const { return fLength; }
57 Bool_t IsStop() const { return fStop; }
58 void Print(Option_t* opt="") const;
60 void SetEdep(Float_t edep) { fEdep = edep; }
62 UShort_t fDetector; // (Sub) Detector # (1,2, or 3)
63 Char_t fRing; // Ring ID ('I' or 'O')
64 UShort_t fSector; // Sector # (phi division)
65 UShort_t fStrip; // Strip # (radial division)
66 Float_t fPx; // Particle's X momentum X
67 Float_t fPy; // Particle's Y momentum Y
68 Float_t fPz; // Particle's Z momentum Z
69 Int_t fPdg; // Particles PDG code
70 Float_t fEdep; // Energy deposition
71 Float_t fTime; // Particle's time of flight
72 Float_t fLength; // Track length through material.
73 Bool_t fStop; // Whether track was stopped.
75 ClassDef(AliFMDHit,2) //Hits for detector FMD
78 //____________________________________________________________________