#ifndef ALIMUONHIT_H #define ALIMUONHIT_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* $Id$ */ #include "AliHit.h" class AliMUONHit : public AliHit { public: AliMUONHit() {} AliMUONHit(Int_t fIshunt, Int_t track, Int_t *vol, Float_t *hits); 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); 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, Float_t Xref, Float_t Yref, Float_t Zref); virtual ~AliMUONHit() {} Int_t Chamber() {return fChamber;} Float_t Particle() {return fParticle;} Float_t Theta() {return fTheta;} Float_t Phi() {return fPhi;} Float_t Tlength() {return fTlength;} Float_t Eloss() {return fEloss;} Float_t Age() {return fAge;} Int_t PHfirst() {return fPHfirst;} Int_t PHlast() {return fPHlast;} Float_t Momentum() {return fPTot;} Float_t Px() {return fPx;} Float_t Py() {return fPy;} Float_t Pz() {return fPz;} Float_t Cx() {return fPx/fPTot;} Float_t Cy() {return fPy/fPTot;} Float_t Cz() {return fPz/fPTot;} Float_t Xref() {return fXref;} Float_t Yref() {return fYref;} Float_t Zref() {return fZref;} private: Int_t fChamber; // Chamber number Float_t fParticle; // Geant3 particle type Float_t fTheta ; // Incident theta angle in degrees Float_t fPhi ; // Incident phi angle in degrees Float_t fTlength; // Track length inside the chamber Float_t fEloss; // ionisation energy loss in gas Float_t fAge; // Particle Age Int_t fPHfirst; // first padhit Int_t fPHlast; // last padhit Float_t fPTot; // Local momentum P of the track when entering in the chamber Float_t fPx; // Px Float_t fPy; // Py Float_t fPz; // Pz Float_t fXref; // X position of hit in the center of the chamber (without angle effect) Float_t fYref; // Y position of hit in the center of the chamber (without angle effect) Float_t fZref; // Z position of hit in the center of the chamber (without angle effect) ClassDef(AliMUONHit,1) //Hit object for MUON }; #endif