]>
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); | |
16 | virtual ~AliMUONHit() {} | |
17 | Int_t Chamber() {return fChamber;} | |
18 | Float_t Particle() {return fParticle;} | |
19 | Float_t Theta() {return fTheta;} | |
20 | Float_t Phi() {return fPhi;} | |
21 | Float_t Tlength() {return fTlength;} | |
22 | Float_t Eloss() {return fEloss;} | |
23 | Float_t Age() {return fAge;} | |
24 | Int_t PHfirst() {return fPHfirst;} | |
25 | Int_t PHlast() {return fPHlast;} | |
26 | Float_t Momentum() {return fPTot;} | |
2eb55fab | 27 | Float_t Px() {return fPx;} |
28 | Float_t Py() {return fPy;} | |
29 | Float_t Pz() {return fPz;} | |
f3614f90 | 30 | Float_t Cx() {return fPx/fPTot;} |
49c47942 | 31 | Float_t Cy() {return fPy/fPTot;} |
32 | Float_t Cz() {return fPz/fPTot;} | |
33 | ||
a450cfad | 34 | private: |
a9e2aefa | 35 | Int_t fChamber; // Chamber number |
36 | Float_t fParticle; // Geant3 particle type | |
37 | Float_t fTheta ; // Incident theta angle in degrees | |
38 | Float_t fPhi ; // Incident phi angle in degrees | |
39 | Float_t fTlength; // Track length inside the chamber | |
40 | Float_t fEloss; // ionisation energy loss in gas | |
41 | Float_t fAge; // Particle Age | |
42 | Int_t fPHfirst; // first padhit | |
43 | Int_t fPHlast; // last padhit | |
44 | ||
45 | Float_t fPTot; // hit local momentum P | |
2eb55fab | 46 | Float_t fPx; // Px |
47 | Float_t fPy; // Py | |
48 | Float_t fPz; // Pz | |
a9e2aefa | 49 | |
a450cfad | 50 | ClassDef(AliMUONHit,1) //Hit object for MUON |
a9e2aefa | 51 | }; |
52 | #endif |