GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TRF Class Reference

Detailed Description

Definition at line 18 of file TRF.h.

Public Member Functions

 TRF ()
 
 TRF (const TRF &)
 
 TRF (TRF &&) noexcept=default
 
 ~TRF () override=default
 
void AddFragment (const std::shared_ptr< const TFragment > &, TChannel *) override
 
virtual void AddHit (TDetectorHit *hit)
 
void BuildHits () override
 
void Clear (Option_t *opt="") override
 
virtual void ClearTransients ()
 
void Copy (TObject &) const override
 
virtual TDetectorHitGetHit (const int &index) const
 
virtual const std::vector< TDetectorHit * > & GetHitVector () const
 
virtual Short_t GetMultiplicity () const
 
Double_t GetTimeFitCfd () const
 
Double_t GetTimeFitns () const
 
Double_t GetTimestampCfd () const
 
std::vector< TDetectorHit * > & Hits ()
 
const std::vector< TDetectorHit * > & Hits () const
 
time_t MidasTime () const
 
virtual bool NoHits () const
 
TRFoperator= (const TRF &)=default
 
TRFoperator= (TRF &&) noexcept=default
 
Double_t Period () const
 
Double_t Phase () const
 
void Print (Option_t *opt="") const override
 
void Print (std::ostream &out) const override
 
Double_t Time () const
 
Long_t TimeStamp () const
 

Private Attributes

std::vector< TDetectorHit * > fHits
 
time_t fMidasTime
 
double fPeriod
 
double fTime
 
Long_t fTimeStamp
 
+ Inheritance diagram for TRF:
+ Collaboration diagram for TRF:

Constructor & Destructor Documentation

◆ TRF() [1/3]

TRF::TRF ( )

Definition at line 3 of file TRF.cxx.

References Clear().

◆ TRF() [2/3]

TRF::TRF ( const TRF & rhs)

Definition at line 17 of file TRF.cxx.

References Copy().

◆ TRF() [3/3]

TRF::TRF ( TRF && )
defaultnoexcept

◆ ~TRF()

TRF::~TRF ( )
overridedefault

Member Function Documentation

◆ AddFragment()

void TRF::AddFragment ( const std::shared_ptr< const TFragment > & frag,
TChannel *  )
overridevirtual

!

Reimplemented from TDetector.

Definition at line 22 of file TRF.cxx.

References TPulseAnalyzer::fit_rf(), fMidasTime, fPeriod, fTime, fTimeStamp, and TPulseAnalyzer::IsSet().

◆ AddHit()

◆ BuildHits()

void TRF::BuildHits ( )
inlineoverridevirtual

!

Reimplemented from TDetector.

Definition at line 64 of file TRF.h.

◆ Clear()

void TRF::Clear ( Option_t * opt = "")
override

!

Definition at line 43 of file TRF.cxx.

References fMidasTime, fPeriod, fTime, and fTimeStamp.

Referenced by TRF().

◆ ClearTransients()

void TDetector::ClearTransients ( )
virtualinherited

!

Reimplemented in TGriffin, TS3, TTigress, and TTrific.

Definition at line 54 of file TDetector.cxx.

References TDetector::fHits.

Referenced by TGriffin::ClearTransients(), TTigress::ClearTransients(), and TTrific::ClearTransients().

◆ Copy()

void TRF::Copy ( TObject & rhs) const
override

Definition at line 8 of file TRF.cxx.

References TDetector::Copy(), fMidasTime, fPeriod, fTime, and fTimeStamp.

Referenced by TRF().

◆ GetHit()

◆ GetHitVector()

◆ GetMultiplicity()

◆ GetTimeFitCfd()

Double_t TRF::GetTimeFitCfd ( ) const
inline

Definition at line 39 of file TRF.h.

References fTime, and GetTimestampCfd().

◆ GetTimeFitns()

Double_t TRF::GetTimeFitns ( ) const
inline

Definition at line 47 of file TRF.h.

References fTime, and TimeStamp().

◆ GetTimestampCfd()

Double_t TRF::GetTimestampCfd ( ) const
inline

Definition at line 55 of file TRF.h.

References TimeStamp().

Referenced by GetTimeFitCfd().

◆ Hits() [1/2]

◆ Hits() [2/2]

const std::vector< TDetectorHit * > & TDetector::Hits ( ) const
inlineinherited

Definition at line 79 of file TDetector.h.

References TDetector::fHits.

◆ MidasTime()

time_t TRF::MidasTime ( ) const
inline

Definition at line 37 of file TRF.h.

References fMidasTime.

◆ NoHits()

virtual bool TDetector::NoHits ( ) const
inlinevirtualinherited

◆ operator=() [1/2]

TRF & TRF::operator= ( const TRF & )
default

◆ operator=() [2/2]

TRF & TRF::operator= ( TRF && )
defaultnoexcept

◆ Period()

Double_t TRF::Period ( ) const
inline

Definition at line 35 of file TRF.h.

References fPeriod.

◆ Phase()

Double_t TRF::Phase ( ) const
inline

Definition at line 27 of file TRF.h.

References fPeriod, and fTime.

◆ Print() [1/2]

void TRF::Print ( Option_t * opt = "") const
override

!

Definition at line 52 of file TRF.cxx.

References Print().

Referenced by Print().

◆ Print() [2/2]

void TRF::Print ( std::ostream & out) const
overridevirtual

!

Reimplemented from TDetector.

Definition at line 57 of file TRF.cxx.

References fMidasTime, fTime, and fTimeStamp.

◆ Time()

Double_t TRF::Time ( ) const
inline

Definition at line 34 of file TRF.h.

References fTime.

◆ TimeStamp()

Long_t TRF::TimeStamp ( ) const
inline

Definition at line 36 of file TRF.h.

References fTimeStamp.

Referenced by GetTimeFitns(), and GetTimestampCfd().

Member Data Documentation

◆ fHits

◆ fMidasTime

time_t TRF::fMidasTime
private

Definition at line 72 of file TRF.h.

Referenced by AddFragment(), Clear(), Copy(), MidasTime(), and Print().

◆ fPeriod

double TRF::fPeriod
private

Definition at line 75 of file TRF.h.

Referenced by AddFragment(), Clear(), Copy(), Period(), and Phase().

◆ fTime

double TRF::fTime
private

Definition at line 74 of file TRF.h.

Referenced by AddFragment(), Clear(), Copy(), GetTimeFitCfd(), GetTimeFitns(), Phase(), Print(), and Time().

◆ fTimeStamp

Long_t TRF::fTimeStamp
private

Definition at line 73 of file TRF.h.

Referenced by AddFragment(), Clear(), Copy(), Print(), and TimeStamp().