16#if ROOT_VERSION_CODE < ROOT_VERSION(6,0,0)
17 Class()->IgnoreTObjectStreamer(kTRUE);
79 std::ostringstream str;
80 str<<
"TdrTigress Detector: "<<
GetDetector()<<std::endl;
81 str<<
"TdrTigress Crystal: "<<
GetCrystal()<<std::endl;
82 str<<
"TdrTigress Energy: "<<
GetEnergy()<<std::endl;
83 str<<
"TdrTigress hit time: "<<
GetTime()<<std::endl;
84 str<<
"TdrTigress hit TV3 theta: "<<
GetPosition().Theta() * 180./3.141597<<
"\tphi"<<
GetPosition().Phi() * 180./3.141597<<std::endl;
108 if(tigressHit ==
nullptr) {
109 throw std::runtime_error(
"trying to add non-tdr-tigress hit to tdr-tigress 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
!
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
UShort_t NPileUps() const
Int_t fFilter
The Filter Word.
Bool_t fBremSuppressed_flag
! Bremsstrahlung Suppression flag.
void Add(const TDetectorHit *) override
!
~TTdrTigressHit() override
void SetTdrTigressFlag(ETdrTigressHitBits, Bool_t set)
Double_t GetDefaultDistance() const
void Print(Option_t *opt="") const override
!
TTransientBits< UChar_t > fTdrTigressHitBits
Transient Member Flags.
UInt_t fCrystal
! Crystal Number
void Copy(TObject &) const override
!
TVector3 GetPosition() const override
!
static bool CompareEnergy(const TTdrTigressHit *, const TTdrTigressHit *)
!
void Clear(Option_t *opt="") override
!
void SetNPileUps(UChar_t npileups)
void SetPUHit(UChar_t puhit)
static TVector3 GetPosition(int DetNbr, int CryNbr=5, double dist=110.0)
!
void SetBit(T bit, Bool_t flag)