]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONHit.h
- Welding section on absorber side (LHCVC2C_001)
[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$ */
7
34c512f6 8// MUON classe for MonteCarlo Hits, inherited from AliHit for the
9// In addition to the ALiHit data member fX, fY, fZ and fTrack, AliMUONHit contains some info about the particle crossing the chamber:
10// Impulsion: fPtot, fPx, fPy and fPz
11// Reference position at the center of the chamber (wire plane) fXref, fYref and fZref
12// Cumulated path along the active volume fTlength for spliting of hits for very inclined tracks
13// Energy loss of the particle inside the gas active volume.
14// Incident fTheta and fPhi angle with respect of the wire plane of the chamber.
15//
16
17
a9e2aefa 18#include "AliHit.h"
19
20class AliMUONHit : public AliHit {
a450cfad 21
a9e2aefa 22 public:
a450cfad 23
24 AliMUONHit() {}
25 AliMUONHit(Int_t fIshunt, Int_t track, Int_t *vol, Float_t *hits);
0e83b872 26 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 27 AliMUONHit(Int_t fIshunt, Int_t track, Int_t iChamber, Int_t idpart,
28 Float_t X, Float_t Y, Float_t Z, Float_t tof, Float_t momentum,
29 Float_t theta, Float_t phi, Float_t length, Float_t destep,
30 Float_t Xref, Float_t Yref, Float_t Zref);
a450cfad 31 virtual ~AliMUONHit() {}
34c512f6 32 Int_t Chamber() const {return fChamber;}
33 Float_t Particle() const {return fParticle;}
34 Float_t Theta() const {return fTheta;}
35 Float_t Phi() const {return fPhi;}
36 Float_t Tlength() const {return fTlength;}
37 Float_t Eloss() const {return fEloss;}
38 Float_t Age() const {return fAge;}
39 Int_t PHfirst() const {return fPHfirst;}
40 Int_t PHlast() const {return fPHlast;}
41
42 Float_t Momentum() const {return fPTot;}
43 Float_t Px() const {return fPx;}
44 Float_t Py() const {return fPy;}
45 Float_t Pz() const {return fPz;}
46 Float_t Cx() const {return fPx/fPTot;}
47 Float_t Cy() const {return fPy/fPTot;}
48 Float_t Cz() const {return fPz/fPTot;}
1391e633 49
34c512f6 50 Float_t Xref() const {return fXref;}
51 Float_t Yref() const {return fYref;}
52 Float_t Zref() const {return fZref;}
1391e633 53
a450cfad 54 private:
a9e2aefa 55 Int_t fChamber; // Chamber number
56 Float_t fParticle; // Geant3 particle type
57 Float_t fTheta ; // Incident theta angle in degrees
58 Float_t fPhi ; // Incident phi angle in degrees
59 Float_t fTlength; // Track length inside the chamber
60 Float_t fEloss; // ionisation energy loss in gas
61 Float_t fAge; // Particle Age
62 Int_t fPHfirst; // first padhit
63 Int_t fPHlast; // last padhit
64
1391e633 65 Float_t fPTot; // Local momentum P of the track when entering in the chamber
2eb55fab 66 Float_t fPx; // Px
67 Float_t fPy; // Py
68 Float_t fPz; // Pz
a9e2aefa 69
1391e633 70 Float_t fXref; // X position of hit in the center of the chamber (without angle effect)
71 Float_t fYref; // Y position of hit in the center of the chamber (without angle effect)
72 Float_t fZref; // Z position of hit in the center of the chamber (without angle effect)
73
74
a450cfad 75 ClassDef(AliMUONHit,1) //Hit object for MUON
a9e2aefa 76};
77#endif