MpdBbcHit.h 826 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #ifndef MPDBBCHIT_H
  2. #define MPDBBCHIT_H
  3. #include "FairHit.h"
  4. class MpdBbcHit : public FairHit
  5. {
  6. public:
  7. /** Default constructor **/
  8. MpdBbcHit();
  9. /** Constructor with hit parameters (1)**/
  10. MpdBbcHit(Int_t detectorID, TVector3 pos, TVector3 dpos, Int_t refIndex, Int_t flag);
  11. /** Constructor with hit parameters (2) [not the flag]**/
  12. MpdBbcHit(Int_t detectorID, TVector3 pos, TVector3 dpos, Int_t refIndex);
  13. /** Destructor **/
  14. virtual ~MpdBbcHit();
  15. void Print(const Option_t* opt = 0) const;
  16. /** Accessors **/
  17. Int_t GetFlag() const { return fFlag; };
  18. /** Modifiers **/
  19. void SetFlag(Int_t flag) { fFlag = flag; };
  20. protected:
  21. Int_t fTrackID;
  22. Int_t fFlag; // Flag for general purposes [TDC, event tagging...]
  23. ClassDef(MpdBbcHit,1)
  24. };
  25. #endif