11#if ROOT_VERSION_CODE < ROOT_VERSION(6, 0, 0)
12 Class()->IgnoreTObjectStreamer(kTRUE);
54 std::ostringstream str;
55 str <<
"Fipps Detector: " <<
GetDetector() << std::endl;
56 str <<
"Fipps Crystal: " <<
GetCrystal() << std::endl;
57 str <<
"Fipps Energy: " <<
GetEnergy() << std::endl;
58 str <<
"Fipps hit time: " <<
GetTime() << std::endl;
59 str <<
"Fipps hit TV3 theta: " <<
GetPosition().Theta() * 180. / 3.141597 <<
"\tphi: " <<
GetPosition().Phi() * 180. / 3.141597 << std::endl;
81 if(fippsHit ==
nullptr) {
82 throw std::runtime_error(
"trying to add non-fipps hit to fipps hit!");
104 if(chan ==
nullptr) {
105 Error(
"GetEnergy",
"No TChannel exists for address 0x%08x",
GetAddress());
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)
!