]>
Commit | Line | Data |
---|---|---|
a9e2aefa | 1 | #ifndef ALIMUONHIT_H |
2 | #define ALIMUONHIT_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | #include "AliHit.h" | |
9 | ||
10 | class AliMUONHit : public AliHit { | |
a450cfad | 11 | |
a9e2aefa | 12 | public: |
a450cfad | 13 | |
14 | AliMUONHit() {} | |
15 | AliMUONHit(Int_t fIshunt, Int_t track, Int_t *vol, Float_t *hits); | |
0e83b872 | 16 | AliMUONHit(Int_t fIshunt, Int_t track, Int_t iChamber, Int_t idpart, Float_t X, Float_t Y, Float_t Z, Float_t tof, Float_t momentum, Float_t theta, Float_t phi, Float_t length, Float_t destep); |
1391e633 | 17 | AliMUONHit(Int_t fIshunt, Int_t track, Int_t iChamber, Int_t idpart, |
18 | Float_t X, Float_t Y, Float_t Z, Float_t tof, Float_t momentum, | |
19 | Float_t theta, Float_t phi, Float_t length, Float_t destep, | |
20 | Float_t Xref, Float_t Yref, Float_t Zref); | |
a450cfad | 21 | virtual ~AliMUONHit() {} |
22 | Int_t Chamber() {return fChamber;} | |
23 | Float_t Particle() {return fParticle;} | |
24 | Float_t Theta() {return fTheta;} | |
25 | Float_t Phi() {return fPhi;} | |
26 | Float_t Tlength() {return fTlength;} | |
27 | Float_t Eloss() {return fEloss;} | |
28 | Float_t Age() {return fAge;} | |
29 | Int_t PHfirst() {return fPHfirst;} | |
30 | Int_t PHlast() {return fPHlast;} | |
31 | Float_t Momentum() {return fPTot;} | |
2eb55fab | 32 | Float_t Px() {return fPx;} |
33 | Float_t Py() {return fPy;} | |
34 | Float_t Pz() {return fPz;} | |
f3614f90 | 35 | Float_t Cx() {return fPx/fPTot;} |
49c47942 | 36 | Float_t Cy() {return fPy/fPTot;} |
37 | Float_t Cz() {return fPz/fPTot;} | |
38 | ||
1391e633 | 39 | Float_t Xref() {return fXref;} |
40 | Float_t Yref() {return fYref;} | |
41 | Float_t Zref() {return fZref;} | |
42 | ||
43 | ||
a450cfad | 44 | private: |
a9e2aefa | 45 | Int_t fChamber; // Chamber number |
46 | Float_t fParticle; // Geant3 particle type | |
47 | Float_t fTheta ; // Incident theta angle in degrees | |
48 | Float_t fPhi ; // Incident phi angle in degrees | |
49 | Float_t fTlength; // Track length inside the chamber | |
50 | Float_t fEloss; // ionisation energy loss in gas | |
51 | Float_t fAge; // Particle Age | |
52 | Int_t fPHfirst; // first padhit | |
53 | Int_t fPHlast; // last padhit | |
54 | ||
1391e633 | 55 | Float_t fPTot; // Local momentum P of the track when entering in the chamber |
2eb55fab | 56 | Float_t fPx; // Px |
57 | Float_t fPy; // Py | |
58 | Float_t fPz; // Pz | |
a9e2aefa | 59 | |
1391e633 | 60 | Float_t fXref; // X position of hit in the center of the chamber (without angle effect) |
61 | Float_t fYref; // Y position of hit in the center of the chamber (without angle effect) | |
62 | Float_t fZref; // Z position of hit in the center of the chamber (without angle effect) | |
63 | ||
64 | ||
a450cfad | 65 | ClassDef(AliMUONHit,1) //Hit object for MUON |
a9e2aefa | 66 | }; |
67 | #endif |