Skip to content
Snippets Groups Projects
THcRawTdcHit.h 775 B
Newer Older
  • Learn to ignore specific revisions
  • #ifndef ROOT_THcRawTdcHit
    #define ROOT_THcRawTdcHit
    
    #include "TObject.h"
    
    
    class THcRawTdcHit : public TObject {
      public:
        THcRawTdcHit();
        THcRawTdcHit& operator=(const THcRawTdcHit& right);
        virtual ~THcRawTdcHit();
    
        virtual void Clear(Option_t* opt="");
    
        void SetTime(Int_t time);
        void SetRefTime(Int_t refTime);
    
        Int_t GetTimeRaw(UInt_t iHit=0) const;
        Int_t GetTime(UInt_t iHit=0) const;
        Int_t GetRefTime() const;
    
    
        Bool_t HasRefTime() const;
    
        static const UInt_t fMaxNHits = 128;
    
        Double_t fChannelToTimeFactor;
    
    
        Int_t fTime[fMaxNHits];
        Int_t fRefTime;
    
        Bool_t fHasRefTime;
        UInt_t fNHits;
    
      private:
        ClassDef(THcRawTdcHit, 0)
    };
    
    
    #endif  // ROOT_THcRawTdcHit