PicoDstMCTrack.h 841 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef PICODST_MC_TRACK_H
  2. #define PICODST_MC_TRACK_H
  3. #include <TROOT.h>
  4. #include "PicoDstBaseTrack.h"
  5. class PicoDstMCTrack : public PicoDstBaseTrack
  6. {
  7. private:
  8. Int_t fMotherId;
  9. Int_t fPdg;
  10. Float_t fEnergy;
  11. Int_t fInitialId;
  12. public:
  13. PicoDstMCTrack();
  14. virtual ~PicoDstMCTrack();
  15. void Clear(Option_t *option = "");
  16. // Setters
  17. virtual void SetInitialId(Int_t _a) { fInitialId = _a; }
  18. virtual void SetMotherId(Int_t _a) { fMotherId = _a; }
  19. virtual void SetPdg(Int_t _a) { fPdg = _a; }
  20. virtual void SetEnergy(Float_t _a) { fEnergy = _a; }
  21. // Getters
  22. virtual Int_t GetInitialId() const { return fInitialId; }
  23. virtual Int_t GetMotherId() const { return fMotherId; }
  24. virtual Int_t GetPdg() const { return fPdg; }
  25. virtual Float_t GetEnergy() const { return fEnergy; }
  26. ClassDef(PicoDstMCTrack,1);
  27. };
  28. #endif