15#if MAJOR_ROOT_VERSION < 6
16 Class()->IgnoreTObjectStreamer(kTRUE);
58 std::ostringstream str;
61 str<<
"Ifin Crystal: "<<
GetCrystal()<<std::endl;
62 str<<
"Ifin Energy: "<<
GetEnergy()<<std::endl;
63 str<<
"Ifin hit time: "<<
GetTime()<<std::endl;
64 str<<
"Ifin hit TV3 theta: "<<
GetPosition().Theta() * 180 / (3.141597)<<
"\tphi: "<<
GetPosition().Phi() * 180 / (3.141597)<<std::endl;
86 if(fippsHit ==
nullptr) {
87 throw std::runtime_error(
"trying to add non-fipps hit to fipps hit!");
109 if(chan ==
nullptr) {
110 Error(
"GetEnergy",
"No TChannel exists for address 0x%08x",
GetAddress());
ClassImp(THILMnemonic) void THILMnemonic
double CalibrateENG(double) const
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
!
virtual Float_t Charge() const
!
TChannel * GetChannel() 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
void Clear(Option_t *opt="") override
!
Double_t GetDefaultDistance() const
void Copy(TObject &) const override
!
static bool CompareEnergy(const TIfinHit *, const TIfinHit *)
!
TVector3 GetPosition() const override
!
Double_t GetNoCTEnergy(Option_t *opt="") const
void Print(Option_t *opt="") const override
!
void Copy(TObject &, bool) const override
!
void Add(const TDetectorHit *) override
!
static TVector3 GetPosition(int DetNbr, int CryNbr=5, double dist=90.0)
!