// -*- mode: c++ -*- // #ifndef BRAT_BrTofPid #define BRAT_BrTofPid // $Id: BrTofPid.h,v 1.2 2001/12/12 21:26:41 ejkim Exp $ // $Author: ejkim $ // $Date: 2001/12/12 21:26:41 $ #ifndef BRAT_BrPid #include "BrPid.h" #endif #ifndef BRAT_BrTofTrackMatch #include "BrTofTrackMatch.h" #endif class BrTofPid: public BrPid { public: BrTofPid(); virtual ~BrTofPid() { }; Double_t GetMomentum() const { return fMomentum; } Double_t GetBeta() const { return fBeta; } Double_t GetMass2() const { return fMass2; } Double_t GetDE() const { return fDE; } Int_t GetPanelId() const; Int_t GetHitId() const; Int_t GetHit2Id() const; void SetMatching(BrTofTrackMatch* m) { SetUniqueID(m->GetUniqueID()); fTrackId = m->GetTrackId(); } void SetMomentum(Double_t p) { fMomentum = p; } void SetBeta(Double_t beta) { fBeta = beta; } void SetMass2(Double_t m2) { fMass2 = m2; } void SetDE(Double_t de) { fDE = de; } virtual void Print(Option_t* option = "P") const; private: Double_t fBeta; // particle velocity Double_t fMass2; // particle mass squared Double_t fDE; // energy deposited Double_t fMomentum; // track momentum public: ClassDef(BrTofPid,1) // BRAHMS Tof Pid object }; #endif // $Log: BrTofPid.h,v $ // Revision 1.2 2001/12/12 21:26:41 ejkim // "ifndef BRAT_BrTofDig" was changed "ifndef BRAT_BrTofPid" BrTofPid.h // // Revision 1.1 2001/10/02 01:41:47 ouerdane // Added new holding the tof pid //