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