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);
58 return TVector3(vec.X(), vec.Y(), vec.Z());
82 std::ostringstream str;
83 str <<
"PinDiode Address: 0x" << std::setw(4) << std::hex << std::setfill(
'0') <<
GetAddress() << std::setfill(
' ') << std::dec << std::endl;
84 str <<
"PinDiode Detector: " << std::setw(16) <<
GetDetector() << std::endl;
85 str <<
"PinDiode hit energy: " << std::setw(16) <<
GetEnergy() << std::endl;
86 str <<
"PinDiode hit time: " << std::setw(16) <<
GetTime() << std::endl;
void SetKValue(const Short_t &temp_kval)
!
virtual UInt_t GetAddress() 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
!
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)
!
virtual void SetTimeStamp(const Long64_t &val)
!
virtual void CopyWave(TObject &) const
!
static ROOT::Math::Polar3DVector GetPinDiodePosition(int DetNbr)
!
void Print(Option_t *opt="") const override
!
Double_t GetDefaultDistance() const
TVector3 GetPosition() const override
!
void Clear(Option_t *opt="") override
!
void Copy(TObject &) const override
!