#ifndef ALITOFHIT_H #define ALITOFHIT_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ //////////////////////////////////////////////// // // // Hit class for TOF // // Interface // // Getters, Setters and member variables // // declared here // // // //////////////////////////////////////////////// /* $Id$ */ #include "AliHit.h" class AliTOFhit : public AliHit { public: AliTOFhit(); AliTOFhit(Int_t shunt, Int_t track, Int_t * const vol, Float_t * const hits); AliTOFhit(const AliTOFhit & hit) ; virtual ~AliTOFhit() {} // getters for AliTOFhit object Int_t GetSector() const {return fSector;} Int_t GetPlate() const {return fPlate;} Int_t GetPadx() const {return fPadx;} Int_t GetPadz() const {return fPadz;} Int_t GetStrip() const {return fStrip;} Float_t GetTof() const {return fTof;} Float_t GetMom() const {return fPmom;} Float_t GetPx() const {return fPx;} Float_t GetPy() const {return fPy;} Float_t GetPz() const {return fPz;} Float_t GetDx() const {return fDx;} Float_t GetDz() const {return fDz;} Float_t GetIncA() const {return fIncA;} Float_t GetEdep() const {return fEdep;} protected: Int_t fSector; // number of sector Int_t fPlate; // number of plate Int_t fStrip; // number of strip Int_t fPadx; // number of pad along x Int_t fPadz; // number of pad along z // X, Y and Z coordinates of the hit are defined on mother class // AliHit Float_t fPx; // px in TOF Float_t fPy; // py in TOF Float_t fPz; // pz in TOF Float_t fPmom; // P in TOF Float_t fTof; // Time of Flight Float_t fDx; // x of impact point in pad r.s. Float_t fDy; // y of impact point in pad r.s. Float_t fDz; // z of impact point in pad r.s. Float_t fIncA; // Incidence angle Float_t fEdep; // Energy lost in TOF sensitive layer ClassDef(AliTOFhit,1) // Hit for Time Of Flight }; #endif /* ALITOFHIT_H */