]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONHit.h
Doxygen configuration files (Initial version)
[u/mrichter/AliRoot.git] / MUON / AliMUONHit.h
CommitLineData
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$ */
30178c30 7// Revision of includes 07/05/2004
a9e2aefa 8
34c512f6 9// MUON classe for MonteCarlo Hits, inherited from AliHit for the
10// In addition to the ALiHit data member fX, fY, fZ and fTrack, AliMUONHit contains some info about the particle crossing the chamber:
11// Impulsion: fPtot, fPx, fPy and fPz
12// Reference position at the center of the chamber (wire plane) fXref, fYref and fZref
13// Cumulated path along the active volume fTlength for spliting of hits for very inclined tracks
14// Energy loss of the particle inside the gas active volume.
15// Incident fTheta and fPhi angle with respect of the wire plane of the chamber.
16//
17
18
a9e2aefa 19#include "AliHit.h"
20
21class AliMUONHit : public AliHit {
a450cfad 22
a9e2aefa 23 public:
a450cfad 24
30178c30 25 AliMUONHit();
d59b2ec3 26 AliMUONHit(Int_t fIshunt, Int_t track, Int_t *vol, Float_t *hits);
27 // TBR
28 AliMUONHit(Int_t fIshunt, Int_t track, Int_t *vol, Float_t *hits,
29 Bool_t isNew);
30
31 AliMUONHit(Int_t fIshunt, Int_t track, Int_t iChamber, 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 // TBR
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, Bool_t isNew);
38
1391e633 39 AliMUONHit(Int_t fIshunt, Int_t track, Int_t iChamber, Int_t idpart,
40 Float_t X, Float_t Y, Float_t Z, Float_t tof, Float_t momentum,
41 Float_t theta, Float_t phi, Float_t length, Float_t destep,
42 Float_t Xref, Float_t Yref, Float_t Zref);
d59b2ec3 43 // TBR
44 AliMUONHit(Int_t fIshunt, Int_t track, Int_t detElemId, Int_t idpart,
45 Float_t X, Float_t Y, Float_t Z, Float_t tof, Float_t momentum,
46 Float_t theta, Float_t phi, Float_t length, Float_t destep,
47 Float_t Xref, Float_t Yref, Float_t Zref, Bool_t isNew);
a450cfad 48 virtual ~AliMUONHit() {}
d59b2ec3 49
50 Int_t DetElemId()const;
51 Int_t Chamber() const;
34c512f6 52 Float_t Particle() const {return fParticle;}
53 Float_t Theta() const {return fTheta;}
54 Float_t Phi() const {return fPhi;}
55 Float_t Tlength() const {return fTlength;}
56 Float_t Eloss() const {return fEloss;}
57 Float_t Age() const {return fAge;}
58 Int_t PHfirst() const {return fPHfirst;}
59 Int_t PHlast() const {return fPHlast;}
60
61 Float_t Momentum() const {return fPTot;}
62 Float_t Px() const {return fPx;}
63 Float_t Py() const {return fPy;}
64 Float_t Pz() const {return fPz;}
65 Float_t Cx() const {return fPx/fPTot;}
66 Float_t Cy() const {return fPy/fPTot;}
67 Float_t Cz() const {return fPz/fPTot;}
1391e633 68
34c512f6 69 Float_t Xref() const {return fXref;}
70 Float_t Yref() const {return fYref;}
71 Float_t Zref() const {return fZref;}
1391e633 72
d59b2ec3 73 private:
74 Bool_t fIsDetElemId; // False if fDetElemId contains Chamber Id (old code)
75 Int_t fDetElemId; // Detection element ID
a9e2aefa 76 Float_t fParticle; // Geant3 particle type
77 Float_t fTheta ; // Incident theta angle in degrees
78 Float_t fPhi ; // Incident phi angle in degrees
79 Float_t fTlength; // Track length inside the chamber
80 Float_t fEloss; // ionisation energy loss in gas
81 Float_t fAge; // Particle Age
82 Int_t fPHfirst; // first padhit
83 Int_t fPHlast; // last padhit
84
1391e633 85 Float_t fPTot; // Local momentum P of the track when entering in the chamber
2eb55fab 86 Float_t fPx; // Px
87 Float_t fPy; // Py
88 Float_t fPz; // Pz
a9e2aefa 89
1391e633 90 Float_t fXref; // X position of hit in the center of the chamber (without angle effect)
91 Float_t fYref; // Y position of hit in the center of the chamber (without angle effect)
92 Float_t fZref; // Z position of hit in the center of the chamber (without angle effect)
93
94
a450cfad 95 ClassDef(AliMUONHit,1) //Hit object for MUON
a9e2aefa 96};
97#endif