79 std::ostringstream str;
81 str <<
"==== TigressHit @ " <<
this <<
" ====" << std::endl;
82 str <<
"\t" <<
GetName() << std::endl;
83 str <<
"\tCharge: " <<
GetCharge() << std::endl;
84 str <<
"\tEnergy: " <<
GetEnergy() << std::endl;
85 str <<
"\tTime: " <<
GetTime() << std::endl;
86 str <<
"\tCore set: " << (
CoreSet() ?
"true" :
"false") << std::endl;
87 str <<
"\tBGO Fired: " << (
BGOFired() ?
"true" :
"false") << std::endl;
89 str <<
"\thit contains " <<
GetNSegments() <<
" segments." << std::endl;
91 str <<
"Name Charge" << std::endl;
96 str << p.GetName() <<
" " << p.GetTitle() <<
" (x,y,z)=(" << p.X() <<
"," << p.Y() <<
"," << p.Z() <<
") (rho,theta,phi)=(" << p.Mag() <<
"," << p.Theta() <<
"," << p.Phi() <<
")" << std::endl;
98 str <<
"============================" << std::endl;
132 std::vector<TDetectorHit> fSegmentHold = hit->
fSegments;
virtual Float_t GetCharge() const
!
Double_t SetEnergy(const double &energy) const
virtual UInt_t GetAddress() const
!
virtual void SetCfd(const Float_t &val)
!
virtual Long64_t GetTimeStamp(Option_t *="") const
virtual TVector3 GetPosition() const
!
virtual double GetEnergy(Option_t *opt="") const
const char * GetName() const override
!
const std::vector< Short_t > * GetWaveform() const
!
virtual Int_t GetCrystal() const
!
void Clear(Option_t *opt="") override
!
virtual Int_t GetDetector() const
!
virtual Float_t GetCfd() const
!
virtual Int_t GetSegment() 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
virtual void CopyWave(TObject &) const
!
int GetNSegments() const
!
void Print(Option_t *opt="") const override
!
static bool CompareEnergy(const TTigressHit &lhs, const TTigressHit &rhs)
!
void SetBGOFired(bool fired)
TVector3 GetLastPosition(Double_t dist=0.) const
void Clear(Option_t *opt="") override
!
void SumHit(TTigressHit *)
!
std::vector< TDetectorHit > fSegments
static bool Compare(const TTigressHit &lhs, const TTigressHit &rhs)
!
const TDetectorHit & GetSegmentHit(int i) const
!
void AddSegment(const TDetectorHit &seg)
!
void Copy(TObject &) const override
!
void CopyFragment(const TFragment &frag)
static TVector3 GetPosition(int DetNbr, int CryNbr, int SegNbr, double dist=0., bool smear=false)
!