MpdFfdHit.h 1008 B

12345678910111213141516171819202122232425262728
  1. //------------------------------------------------------------------------------------------------------------------------
  2. #ifndef __MPD_FFD_HIT_H
  3. #define __MPD_FFD_HIT_H 1
  4. #include "FairHit.h"
  5. //------------------------------------------------------------------------------------------------------------------------
  6. class MpdFfdHit : public FairHit
  7. {
  8. protected:
  9. Double_t fTime = 0.; // Time since event start [ns]
  10. Int_t fFlag = 0; // Flag for general purposes [TDC, event tagging...]
  11. size_t fNpe = 0; // weight: number of pe
  12. public:
  13. MpdFfdHit();
  14. MpdFfdHit(Int_t suid, TVector3 pos, TVector3 dpos, Int_t refIndex, Double_t time, size_t npe, Int_t flag = 0);
  15. virtual ~MpdFfdHit();
  16. void Print(const Option_t* opt = 0) const;
  17. Int_t GetFlag() const { return fFlag; };
  18. void SetFlag(Int_t flag) { fFlag = flag; };
  19. ClassDef(MpdFfdHit,2)
  20. };
  21. //------------------------------------------------------------------------------------------------------------------------
  22. #endif