16#if ROOT_VERSION_CODE < ROOT_VERSION(6,0,0)
17 Class()->IgnoreTObjectStreamer(kTRUE);
79 std::ostringstream str;
80 str<<
"TdrClover Detector: "<<
GetDetector()<<std::endl;
81 str<<
"TdrClover Crystal: "<<
GetCrystal()<<std::endl;
82 str<<
"TdrClover Energy: "<<
GetEnergy()<<std::endl;
83 str<<
"TdrClover hit time: "<<
GetTime()<<std::endl;
84 str<<
"TdrClover hit TV3 theta: "<<
GetPosition().Theta() * 180./3.141597<<
"\tphi"<<
GetPosition().Phi() * 180./3.141597<<std::endl;
108 if(cloverHit ==
nullptr) {
109 throw std::runtime_error(
"trying to add non-clover hit to clover hit!");
ClassImp(THILMnemonic) void THILMnemonic
void SetKValue(const Short_t &temp_kval)
!
Double_t SetEnergy(const double &energy) const
virtual UInt_t GetAddress() const
!
virtual void SetCfd(const Float_t &val)
!
virtual double GetEnergy(Option_t *opt="") const
virtual Short_t GetKValue() const
!
TTransientBits< UChar_t > fBitFlags
virtual Int_t GetCrystal() const
!
void SetCharge(const Float_t &temp_charge)
!
void Clear(Option_t *opt="") override
!
virtual Int_t GetDetector() const
!
virtual Float_t GetCfd() const
!
void Copy(TObject &) const override
!
virtual Double_t GetTime(const ETimeFlag &correct_flag=ETimeFlag::kAll, Option_t *opt="") const
Returns a time value to the nearest nanosecond!
void SetAddress(const UInt_t &temp_address)
!
Double_t SetTime(const Double_t &time) const
virtual void CopyWave(TObject &) const
!
Short_t GetNumberOfPileups() const
void SetPUHit(UChar_t puhit)
void Clear(Option_t *opt="") override
!
Int_t fFilter
The Filter Word.
~TTdrCloverHit() override
void Print(Option_t *opt="") const override
!
TVector3 GetPosition() const override
!
void Copy(TObject &) const override
!
UInt_t fCrystal
! Crystal Number
void SetTdrCloverFlag(ETdrCloverHitBits, Bool_t set)
UShort_t NPileUps() const
Bool_t fBremSuppressed_flag
! Bremsstrahlung Suppression flag.
void Add(const TDetectorHit *) override
!
Double_t GetDefaultDistance() const
void SetNPileUps(UChar_t npileups)
static bool CompareEnergy(const TTdrCloverHit *, const TTdrCloverHit *)
!
static TVector3 GetPosition(int DetNbr, int CryNbr=5, double dist=110.0)
!
void SetBit(T bit, Bool_t flag)