///////////////////////////////////////////////////////////////////////////////// // // // PndLhePidTrack class - implementation of track for LHE pid // // // ///////////////////////////////////////////////////////////////////////////////// #ifndef PND_LHE_PID_TRACK_H #define PND_LHE_PID_TRACK_H #include "PndTpcLheTrack.h" class PndLhePidTrack: public PndTpcLheTrack { // using namespace std; protected: Double_t fMvdELoss; // Energy Loss in MVD Int_t fMvdHitCount; // Number of mvd hits Int_t fTofIndex; // Index of PndTofHot object Float_t fTofDeltaPhi; // phi (TRACK-TOF) Float_t fTofDeltaZ; // Z (TRACK-TOF) Float_t fTofQuality; // chi2 TRACK-TOF correlation Float_t fTofPathLength; // path length to TOF hit Int_t fEmcIndex; // Index of PndEmcCluster object Float_t fEmcDeltaPhi; // phi (TRACK-EMC) Float_t fEmcDeltaZ; // Z (TRACK-EMC) Float_t fEmcQuality; // chi2 TRACK-EMC correlation Float_t fTimeOfFlight; // time-of-flight Float_t fEmcELoss; // EMC energy loss public: PndLhePidTrack (); // constructor /** Copy constructor **/ PndLhePidTrack (const PndTpcLheTrack& track); PndLhePidTrack (const PndLhePidTrack& track); Double_t GetMvdELoss() { return fMvdELoss; }; Int_t GetMvdHitCounts() { return fMvdHitCount; }; Int_t GetTofIndex() { return fTofIndex; } Float_t GetTofDeltaPhi() { return fTofDeltaPhi; } Float_t GetTofDeltaZ() { return fTofDeltaZ; } Float_t GetTofQuality() { return fTofQuality; } Float_t GetTofPathLength() { return fTofPathLength; } Int_t GetEmcIndex() { return fEmcIndex; } Float_t GetEmcDeltaPhi() { return fEmcDeltaPhi; } Float_t GetEmcDeltaZ() { return fEmcDeltaZ; } Float_t GetEmcQuality() { return fEmcQuality; } Float_t GetTof() { return fTimeOfFlight; } Float_t GetEmcELoss() { return fEmcELoss; } Float_t GetBeta() { return fTimeOfFlight>0. ? fTofPathLength/fTimeOfFlight : 0.; } void SetMvdELoss(Double_t eloss) { fMvdELoss = eloss; }; void SetMvdHitCounts(Int_t nhit) { fMvdHitCount = nhit; }; void SetTofIndex(Int_t ind) { fTofIndex = ind; }; void SetTofDeltaPhi(Float_t dphi) { fTofDeltaPhi = dphi; }; void SetTofDeltaZ(Float_t dz) { fTofDeltaZ = dz; }; void SetTofQuality(Float_t qq) { fTofQuality = qq; }; void SetTofPathLength(Float_t len) { fTofPathLength = len; }; void SetEmcIndex(Int_t ind) { fEmcIndex = ind; }; void SetEmcDeltaPhi(Float_t dphi) { fEmcDeltaPhi = dphi; }; void SetEmcDeltaZ(Float_t dz) { fEmcDeltaZ = dz; }; void SetEmcQuality(Float_t qq) { fEmcQuality = qq; }; void SetTof(Float_t tof) { fTimeOfFlight = tof; }; void SetEmcELoss(Float_t eloss) { fEmcELoss = eloss; }; virtual ~PndLhePidTrack (); ClassDef(PndLhePidTrack , 2) }; #endif