12#if ROOT_VERSION_CODE < ROOT_VERSION(6, 0, 0)
13 Class()->IgnoreTObjectStreamer(kTRUE);
75 std::ostringstream str;
76 str <<
"TdrTigress Detector: " <<
GetDetector() << std::endl;
77 str <<
"TdrTigress Crystal: " <<
GetCrystal() << std::endl;
78 str <<
"TdrTigress Energy: " <<
GetEnergy() << std::endl;
79 str <<
"TdrTigress hit time: " <<
GetTime() << std::endl;
80 str <<
"TdrTigress hit TV3 theta: " <<
GetPosition().Theta() * 180. / 3.141597 <<
"\tphi" <<
GetPosition().Phi() * 180. / 3.141597 << std::endl;
104 if(tigressHit ==
nullptr) {
105 throw std::runtime_error(
"trying to add non-tdr-tigress hit to tdr-tigress hit!");
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)