]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONHit.h
Removing output of hit pointers in AliMUONTrack class. New switch in ALiMUONv1 for...
[u/mrichter/AliRoot.git] / MUON / AliMUONHit.h
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 {
11
12  public:
13     
14     AliMUONHit() {}
15     AliMUONHit(Int_t fIshunt, Int_t track, Int_t *vol, Float_t *hits);
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);
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);
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;}
32     Float_t Px()       {return fPx;}
33     Float_t Py()       {return fPy;}
34     Float_t Pz()       {return fPz;}
35     Float_t Cx()       {return fPx/fPTot;} 
36     Float_t Cy()       {return fPy/fPTot;}
37     Float_t Cz()       {return fPz/fPTot;}
38
39     Float_t Xref()     {return fXref;}
40     Float_t Yref()     {return fYref;}
41     Float_t Zref()     {return fZref;}
42
43
44  private:
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
55     Float_t   fPTot;          // Local momentum P of the track when entering in the chamber
56     Float_t   fPx;            // Px
57     Float_t   fPy;            // Py
58     Float_t   fPz;            // Pz
59     
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     
65     ClassDef(AliMUONHit,1)    //Hit object for MUON
66 };
67 #endif