mciEvent.h 820 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef MODELCONVERTER_FORMAT_EVENT_H
  2. #define MODELCONVERTER_FORMAT_EVENT_H
  3. #include <iostream>
  4. #include <vector>
  5. #include <Rtypes.h>
  6. class mciEvent
  7. {
  8. private:
  9. Float_t fB;
  10. Float_t fPhiRP;
  11. Int_t fNparticles;
  12. Int_t fNparticipants;
  13. public:
  14. mciEvent(/* args */);
  15. virtual ~mciEvent();
  16. // Setters
  17. virtual void SetB(Float_t _a) { fB = _a; }
  18. virtual void SetPhiRP(Float_t _a) { fPhiRP = _a; }
  19. virtual void SetNparticles(Float_t _a) { fNparticles = _a; }
  20. virtual void SetNparticipants(Float_t _a) { fNparticipants = _a; }
  21. // Getters
  22. virtual Float_t GetB() const { return fB; }
  23. virtual Float_t GetPhiRP() const { return fPhiRP; }
  24. virtual Int_t GetNparticles() const { return fNparticles; }
  25. virtual Int_t GetNparticipants() const { return fNparticipants; }
  26. ClassDef(mciEvent, 0);
  27. };
  28. #endif