MpdFsaHit.h 826 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #ifndef MPDFSAHIT_H
  2. #define MPDFSAHIT_H
  3. #include "FairHit.h"
  4. class MpdFsaHit : public FairHit
  5. {
  6. public:
  7. /** Default constructor **/
  8. MpdFsaHit();
  9. /** Constructor with hit parameters (1)**/
  10. MpdFsaHit(Int_t detectorID, TVector3 pos, TVector3 dpos, Int_t refIndex, Int_t flag);
  11. /** Constructor with hit parameters (2) [not the flag]**/
  12. MpdFsaHit(Int_t detectorID, TVector3 pos, TVector3 dpos, Int_t refIndex);
  13. /** Destructor **/
  14. virtual ~MpdFsaHit();
  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(MpdFsaHit,1)
  24. };
  25. #endif