AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONHit.h
Go to the documentation of this file.
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 // Revision of includes 07/05/2004
8 
20 
21 
22 #include "AliHit.h"
23 
24 class AliMUONHit : public AliHit {
25 
26  public:
27 
28  AliMUONHit();
29  AliMUONHit(Int_t fIshunt, Int_t track, Int_t *vol, Float_t *hits);
30 
31  AliMUONHit(Int_t fIshunt, Int_t track, Int_t detElemId, Int_t idpart,
32  Float_t X, Float_t Y, Float_t Z, Float_t tof, Float_t momentum,
33  Float_t theta, Float_t phi, Float_t length, Float_t destep);
34 
35  AliMUONHit(Int_t fIshunt, Int_t track, Int_t detElemId, Int_t idpart,
36  Float_t X, Float_t Y, Float_t Z, Float_t tof, Float_t momentum,
37  Float_t theta, Float_t phi, Float_t length, Float_t destep,
38  Float_t Xref, Float_t Yref, Float_t Zref);
39  virtual ~AliMUONHit();
40 
41  virtual const char* GetName() const;
42 
43  Int_t DetElemId()const {return fDetElemId;}
44  Int_t Chamber() const;
45 
46  virtual void Print(Option_t* opt="") const;
47 
48  Float_t Particle() const {return fParticle;}
49  Float_t Theta() const {return fTheta;}
50  Float_t Phi() const {return fPhi;}
51  Float_t Tlength() const {return fTlength;}
52  Float_t Eloss() const {return fEloss;}
53  Float_t Age() const {return fAge;}
54  Int_t PHfirst() const {return fPHfirst;}
55  Int_t PHlast() const {return fPHlast;}
56 
57  Float_t Momentum() const {return fPTot;}
58  Float_t Px() const {return fPx;}
59  Float_t Py() const {return fPy;}
60  Float_t Pz() const {return fPz;}
61  Float_t Cx() const {return fPx/fPTot;}
62  Float_t Cy() const {return fPy/fPTot;}
63  Float_t Cz() const {return fPz/fPTot;}
64 
65  Float_t Xref() const {return fXref;}
66  Float_t Yref() const {return fYref;}
67  Float_t Zref() const {return fZref;}
68 
69  private:
70  Int_t fDetElemId;
71  Float_t fParticle;
72  Float_t fTheta ;
73  Float_t fPhi ;
74  Float_t fTlength;
75  Float_t fEloss;
76  Float_t fAge;
77  Int_t fPHfirst;
78  Int_t fPHlast;
79 
80  Float_t fPTot;
81  Float_t fPx;
82  Float_t fPy;
83  Float_t fPz;
84 
85  Float_t fXref;
86  Float_t fYref;
87  Float_t fZref;
88 
89 
90  ClassDef(AliMUONHit,2) //Hit object for MUON
91 };
92 #endif
Float_t Particle() const
Return particle id.
Definition: AliMUONHit.h:48
Float_t Pz() const
Return Pz.
Definition: AliMUONHit.h:60
Float_t fParticle
Geant3 particle type.
Definition: AliMUONHit.h:71
Int_t fDetElemId
Detection element ID.
Definition: AliMUONHit.h:70
Float_t fAge
Particle Age.
Definition: AliMUONHit.h:76
Float_t Eloss() const
Return Ionisation energy loss in gas.
Definition: AliMUONHit.h:52
Int_t PHfirst() const
Return First padhit.
Definition: AliMUONHit.h:54
Float_t Momentum() const
Return local momentum P of the entering track.
Definition: AliMUONHit.h:57
Float_t fPTot
Local momentum P of the track when entering in the chamber.
Definition: AliMUONHit.h:80
Float_t fZref
Z position of hit in the center of the chamber (without angle effect)
Definition: AliMUONHit.h:87
Float_t fPz
Pz.
Definition: AliMUONHit.h:83
virtual ~AliMUONHit()
Definition: AliMUONHit.cxx:154
Float_t Age() const
Return Particle Age.
Definition: AliMUONHit.h:53
Float_t fPy
Py.
Definition: AliMUONHit.h:82
AliTPCfastTrack * track
Float_t Py() const
Return Py.
Definition: AliMUONHit.h:59
Float_t fTheta
Incident theta angle in degrees.
Definition: AliMUONHit.h:72
Float_t fYref
Y position of hit in the center of the chamber (without angle effect)
Definition: AliMUONHit.h:86
Float_t Tlength() const
Return track length inside the chamber.
Definition: AliMUONHit.h:51
Int_t Chamber() const
Definition: AliMUONHit.cxx:160
virtual void Print(Option_t *opt="") const
Definition: AliMUONHit.cxx:177
Float_t Px() const
Return Px.
Definition: AliMUONHit.h:58
Int_t DetElemId() const
Return detection element ID.
Definition: AliMUONHit.h:43
Float_t Cx() const
Return Px/PTot.
Definition: AliMUONHit.h:61
Float_t fTlength
Track length inside the chamber.
Definition: AliMUONHit.h:74
Float_t Phi() const
Return incident phi angle in degrees.
Definition: AliMUONHit.h:50
MonteCarlo hit.
Definition: AliMUONHit.h:24
Float_t fEloss
Ionisation energy loss in gas.
Definition: AliMUONHit.h:75
Float_t Cz() const
Return Pz/PTot.
Definition: AliMUONHit.h:63
virtual const char * GetName() const
Definition: AliMUONHit.cxx:169
Float_t Xref() const
Return X position of hit in the center of the chamber (without angle effect)
Definition: AliMUONHit.h:65
Float_t Yref() const
Return Y position of hit in the center of the chamber (without angle effect)
Definition: AliMUONHit.h:66
Float_t fPx
Px.
Definition: AliMUONHit.h:81
Int_t fPHlast
Last padhit.
Definition: AliMUONHit.h:78
Float_t Cy() const
Return Py/PTot.
Definition: AliMUONHit.h:62
Int_t PHlast() const
Return Last padhit.
Definition: AliMUONHit.h:55
Float_t fXref
X position of hit in the center of the chamber (without angle effect)
Definition: AliMUONHit.h:85
Float_t Zref() const
Return Z position of hit in the center of the chamber (without angle effect)
Definition: AliMUONHit.h:67
Float_t fPhi
Incident phi angle in degrees.
Definition: AliMUONHit.h:73
Int_t fPHfirst
First padhit.
Definition: AliMUONHit.h:77
Float_t Theta() const
Return incident theta angle in degrees.
Definition: AliMUONHit.h:49