15#if ROOT_VERSION_CODE < ROOT_VERSION(6,0,0)
16 Class()->IgnoreTObjectStreamer(kTRUE);
58 std::ostringstream str;
60 str<<
"Fipps Crystal: "<<
GetCrystal()<<std::endl;
61 str<<
"Fipps Energy: "<<
GetEnergy()<<std::endl;
62 str<<
"Fipps hit time: "<<
GetTime()<<std::endl;
63 str<<
"Fipps hit TV3 theta: "<<
GetPosition().Theta() * 180./3.141597<<
"\tphi: "<<
GetPosition().Phi() * 180./3.141597<<std::endl;
85 if(fippsHit ==
nullptr) {
86 throw std::runtime_error(
"trying to add non-fipps hit to fipps hit!");
108 if(chan ==
nullptr) {
109 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 Print(Option_t *opt="") const override
!
void Copy(TObject &) const override
!
static bool CompareEnergy(const TFippsHit *, const TFippsHit *)
!
TVector3 GetPosition() const override
!
Double_t GetNoCTEnergy(Option_t *opt="") const
void Add(const TDetectorHit *) override
!
void Clear(Option_t *opt="") override
!
Double_t GetDefaultDistance() const
static TVector3 GetPosition(int DetNbr, int CryNbr=5, double dist=90.0)
!