14#if ROOT_VERSION_CODE < ROOT_VERSION(6, 0, 0)
15 Class()->IgnoreTObjectStreamer(kTRUE);
25#if ROOT_VERSION_CODE < ROOT_VERSION(6, 0, 0)
26 Class()->IgnoreTObjectStreamer(kTRUE);
32TEagleHit::TEagleHit(
const uint8_t&
id,
const uint16_t& energy,
const uint16_t& time,
const uint64_t& eventTime)
59 return TVector3(vec.X(), vec.Y(), vec.Z());
83 std::ostringstream str;
84 str <<
"Eagle Address: 0x" << std::setw(4) << std::hex << std::setfill(
'0') <<
GetAddress() << std::setfill(
' ') << std::dec << std::endl;
85 str <<
"Eagle Detector: " << std::setw(16) <<
GetDetector() << std::endl;
86 str <<
"Eagle hit energy: " << std::setw(16) <<
GetEnergy() << std::endl;
87 str <<
"Eagle hit time stamp: " << std::setw(16) <<
GetTimeStamp() << std::endl;
88 str <<
"Eagle CFD: " << std::setw(16) <<
GetCfd() << std::endl;
void SetKValue(const Short_t &temp_kval)
!
virtual UInt_t GetAddress() const
!
virtual void SetCfd(const Float_t &val)
!
virtual Long64_t GetTimeStamp(Option_t *="") const
virtual double GetEnergy(Option_t *opt="") 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
!
void SetAddress(const UInt_t &temp_address)
!
virtual void SetTimeStamp(const Long64_t &val)
!
virtual void CopyWave(TObject &) const
!
void Print(Option_t *opt="") const override
!
Double_t GetDefaultDistance() const
void Copy(TObject &) const override
!
void Clear(Option_t *opt="") override
!
TVector3 GetPosition() const override
!
static ROOT::Math::Polar3DVector GetPosition(int DetNbr)
!