PicoDstRecoTrack.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #ifndef PICODST_RECO_TRACK_H
  2. #define PICODST_RECO_TRACK_H
  3. #include "PicoDstBaseTrack.h"
  4. class PicoDstRecoTrack : public PicoDstBaseTrack
  5. {
  6. private:
  7. Int_t fId; // Id of the corresponding MC track
  8. Int_t fInitialId; // Initial Id of the corresponding MC track
  9. Int_t fTofFlag;
  10. Float_t fTpcdEdx;
  11. Float_t fTofMass2;
  12. Float_t fPidProbPion;
  13. Float_t fPidProbKaon;
  14. Float_t fPidProbProton;
  15. Float_t fChi2;
  16. Int_t fNhits;
  17. Int_t fNhitsPoss;
  18. Short_t fChargeSign;
  19. public:
  20. PicoDstRecoTrack();
  21. virtual ~PicoDstRecoTrack();
  22. virtual void Clear(Option_t *option = "");
  23. // Setters
  24. virtual void SetInitialMcId(Int_t _a) { fInitialId = _a; }
  25. virtual void SetMcId(Int_t _a) { fId = _a; }
  26. virtual void SetTofFlag(Int_t _a) { fTofFlag = _a; }
  27. virtual void SetTpcdEdx(Float_t _a) { fTpcdEdx = _a; }
  28. virtual void SetTofMass2(Float_t _a) { fTofMass2 = _a; }
  29. virtual void SetPidProbPion(Float_t _a) { fPidProbPion = _a; }
  30. virtual void SetPidProbKaon(Float_t _a) { fPidProbKaon = _a; }
  31. virtual void SetPidProbProton(Float_t _a) { fPidProbProton = _a; }
  32. virtual void SetChi2(Float_t _a) { fChi2 = _a; }
  33. virtual void SetNhits(Int_t _a) { fNhits = _a; }
  34. virtual void SetNhitsPoss(Int_t _a) { fNhitsPoss = _a; }
  35. virtual void SetCharge(Short_t _a) { fChargeSign = _a; }
  36. // Getters
  37. virtual Int_t GetInitialMcId() const { return fInitialId; }
  38. virtual Int_t GetMcId() const { return fId; }
  39. virtual Int_t GetTofFlag() const { return fTofFlag; }
  40. virtual Float_t GetTpcdEdx() const { return fTpcdEdx; }
  41. virtual Float_t GetTofMass2() const { return fTofMass2; }
  42. virtual Float_t GetPidProbPion() const { return fPidProbPion; }
  43. virtual Float_t GetPidProbKaon() const { return fPidProbKaon; }
  44. virtual Float_t GetPidProbProton() const { return fPidProbProton; }
  45. virtual Float_t GetChi2() const { return fChi2; }
  46. virtual Int_t GetNhits() const { return fNhits; }
  47. virtual Int_t GetNhitsPoss() const { return fNhitsPoss; }
  48. virtual Short_t GetCharge() const { return fChargeSign; }
  49. ClassDef(PicoDstRecoTrack,1);
  50. };
  51. #endif