GRSISort
Created by P.C. Bender
Developement Team: P.C. Bender, R. Dunlop, V. Bildstein
An extension of the ROOT analysis Framework
TTriFoil Class Reference

Definition at line 15 of file TTriFoil.h.

Public Member Functions

 TTriFoil ()
 
 TTriFoil (const TTriFoil &rhs)
 
 ~TTriFoil () override
 
void AddFragment (const std::shared_ptr< const TFragment > &, TChannel *) override
 
bool Beam () const
 
void BuildHits () override
 
void Clear (Option_t *opt="") override
 
virtual void ClearTransients ()
 
void Copy (TObject &rhs) const override
 
virtual TDetectorHitGetHit (const int &) const
 
virtual const std::vector< TDetectorHit * > & GetHitVector () const
 
virtual Short_t GetMultiplicity () const
 
time_t GetTimeStamp () const
 
std::vector< Short_t > GetWave ()
 
bool HasWave () const
 
int NTBeam () const
 
void Print (Option_t *opt="") const override
 
void Print (std::ostream &out) const override
 
int TBeam (unsigned int n=0) const
 

Protected Attributes

std::vector< TDetectorHit * > fHits
 

Private Attributes

bool fBeam {false}
 
std::vector< int > fTBeam
 
std::vector< Short_t > fTfWave
 
Long_t fTimestamp {0}
 

#include <TTriFoil.h>

+ Inheritance diagram for TTriFoil:
+ Collaboration diagram for TTriFoil:

Constructor & Destructor Documentation

◆ TTriFoil() [1/2]

TTriFoil::TTriFoil ( )

Definition at line 7 of file TTriFoil.cxx.

◆ ~TTriFoil()

TTriFoil::~TTriFoil ( )
overridedefault

◆ TTriFoil() [2/2]

TTriFoil::TTriFoil ( const TTriFoil rhs)

Definition at line 33 of file TTriFoil.cxx.

References Copy().

Member Function Documentation

◆ AddFragment()

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

!

Reimplemented from TDetector.

Definition at line 41 of file TTriFoil.cxx.

References fTBeam, fTfWave, and fTimestamp.

◆ Beam()

bool TTriFoil::Beam ( ) const
inline

Definition at line 22 of file TTriFoil.h.

References fBeam.

◆ BuildHits()

void TTriFoil::BuildHits ( )
inlineoverridevirtual

!

Reimplemented from TDetector.

Definition at line 40 of file TTriFoil.h.

◆ Clear()

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

!

Definition at line 14 of file TTriFoil.cxx.

References TDetector::Clear(), fBeam, fTBeam, fTfWave, and fTimestamp.

◆ ClearTransients()

void TDetector::ClearTransients ( )
virtualinherited

!

Reimplemented in TS3, TTigress, TTrific, and TGriffin.

Definition at line 63 of file TDetector.cxx.

References TDetector::fHits.

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

◆ Copy()

void TTriFoil::Copy ( TObject &  rhs) const
overridevirtual

!

Reimplemented from TDetector.

Definition at line 24 of file TTriFoil.cxx.

References TDetector::Copy(), fBeam, fTBeam, fTfWave, and fTimestamp.

Referenced by TTriFoil().

◆ GetHit()

◆ GetHitVector()

◆ GetMultiplicity()

◆ GetTimeStamp()

time_t TTriFoil::GetTimeStamp ( ) const
inline

Definition at line 35 of file TTriFoil.h.

References fTimestamp.

◆ GetWave()

std::vector<Short_t> TTriFoil::GetWave ( )
inline

Definition at line 21 of file TTriFoil.h.

References fTfWave.

◆ HasWave()

bool TTriFoil::HasWave ( ) const
inline

Definition at line 34 of file TTriFoil.h.

References fTfWave.

◆ NTBeam()

int TTriFoil::NTBeam ( ) const
inline

Definition at line 23 of file TTriFoil.h.

References fTBeam.

◆ Print() [1/2]

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

!

Definition at line 79 of file TTriFoil.cxx.

◆ Print() [2/2]

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

!

Reimplemented from TDetector.

Definition at line 84 of file TTriFoil.cxx.

◆ TBeam()

int TTriFoil::TBeam ( unsigned int  n = 0) const
inline

Definition at line 25 of file TTriFoil.h.

References fTBeam.

Member Data Documentation

◆ fBeam

bool TTriFoil::fBeam {false}
private

Definition at line 50 of file TTriFoil.h.

Referenced by Beam(), Clear(), and Copy().

◆ fHits

std::vector<TDetectorHit*> TDetector::fHits
protectedinherited

Definition at line 72 of file TDetector.h.

Referenced by TSiLi::AddCluster(), TEaglePulser::AddFragment(), TGenericDetector::AddFragment(), TFippsPulser::AddFragment(), TPaces::AddFragment(), TTdrSiLi::AddFragment(), TBgo::AddFragment(), TSiLi::AddFragment(), TTip::AddFragment(), TSceptar::AddFragment(), TTdrPlastic::AddFragment(), TTAC::AddFragment(), TFippsTAC::AddFragment(), TEagle::AddFragment(), TZeroDegree::AddFragment(), TDescant::AddFragment(), TTdrClover::AddFragment(), TTdrTigress::AddFragment(), TFipps::AddFragment(), TIfin::AddFragment(), TTrific::AddFragment(), TLaBr::AddFragment(), TFippsLaBr::AddFragment(), TTigress::AddFragment(), TEmma::BuildHits(), TCSM::BuildHits(), TSharc::BuildHits(), TTigress::BuildHits(), TSharc::Clear(), TDetector::Clear(), TEmma::Clear(), TTrific::Clear(), TDetector::ClearTransients(), TDetector::Copy(), TSiLi::GetAddbackMultiplicity(), TTigress::GetAddbackMultiplicity(), TFipps::GetFippsHit(), TDetector::GetHit(), TDetector::GetHitVector(), TIfin::GetIfinHit(), TDetector::GetMultiplicity(), TTrific::GetMultiplicity(), TSharc::GetSize(), TFippsLaBr::GetSuppressedMultiplicity(), TLaBr::GetSuppressedMultiplicity(), TTdrClover::GetSuppressedMultiplicity(), TTdrTigress::GetSuppressedMultiplicity(), TSiLi::Print(), TTdrSiLi::Print(), TTAC::Print(), TFippsTAC::Print(), TPaces::Print(), TTip::Print(), TZeroDegree::Print(), TSceptar::Print(), TTdrPlastic::Print(), TEagle::Print(), TDetector::Print(), TDescant::Print(), TEmma::Print(), TLaBr::Print(), TFippsLaBr::Print(), TTrific::Print(), TTigress::Print(), TSiLi::UseFitCharge(), and TDetector::~TDetector().

◆ fTBeam

std::vector<int> TTriFoil::fTBeam
private

Definition at line 51 of file TTriFoil.h.

Referenced by AddFragment(), Clear(), Copy(), NTBeam(), and TBeam().

◆ fTfWave

std::vector<Short_t> TTriFoil::fTfWave
private

Definition at line 48 of file TTriFoil.h.

Referenced by AddFragment(), Clear(), Copy(), GetWave(), and HasWave().

◆ fTimestamp

Long_t TTriFoil::fTimestamp {0}
private

Definition at line 49 of file TTriFoil.h.

Referenced by AddFragment(), Clear(), Copy(), and GetTimeStamp().