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

The TZeroDegree class defines the observables and algorithms used when analyzing GRIFFIN data. It includes detector positions, etc.

Definition at line 27 of file TZeroDegree.h.

Public Member Functions

 TZeroDegree ()
 
 TZeroDegree (const TZeroDegree &rhs)
 
 ~TZeroDegree () override
 
void AddFragment (const std::shared_ptr< const TFragment > &, TChannel *) override
 
void BuildHits () override
 
void Clear (Option_t *="") override
 
virtual void ClearTransients ()
 
virtual void Copy (TObject &) const override
 
virtual TDetectorHitGetHit (const int &) const
 
virtual const std::vector< TDetectorHit * > & GetHitVector () const
 
virtual Short_t GetMultiplicity () const
 
TZeroDegreeHitGetZeroDegreeHit (const int &i) const
 
TZeroDegreeoperator= (const TZeroDegree &)
 
void Print (Option_t *opt="") const override
 
void Print (std::ostream &out) const override
 

Static Public Member Functions

static TVector3 GetPosition (double dist)
 
static bool SetWave ()
 

Protected Attributes

std::vector< TDetectorHit * > fHits
 

Static Private Attributes

static bool fSetWave = false
 

#include <TZeroDegree.h>

+ Inheritance diagram for TZeroDegree:
+ Collaboration diagram for TZeroDegree:

Constructor & Destructor Documentation

◆ TZeroDegree() [1/2]

TZeroDegree::TZeroDegree ( )

Definition at line 15 of file TZeroDegree.cxx.

References TDetector::Clear().

◆ ~TZeroDegree()

TZeroDegree::~TZeroDegree ( )
override

Definition at line 24 of file TZeroDegree.cxx.

◆ TZeroDegree() [2/2]

TZeroDegree::TZeroDegree ( const TZeroDegree rhs)

Definition at line 29 of file TZeroDegree.cxx.

References TDetector::Copy().

Member Function Documentation

◆ AddFragment()

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

!

Builds the ZDS Hits directly from the TFragment. Basically, loops through the data for an event and sets observables.

Reimplemented from TDetector.

Definition at line 57 of file TZeroDegree.cxx.

References TDetector::fHits.

◆ BuildHits()

void TZeroDegree::BuildHits ( )
inlineoverridevirtual

!

Reimplemented from TDetector.

Definition at line 41 of file TZeroDegree.h.

◆ Clear()

◆ 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()

◆ GetHit()

◆ GetHitVector()

◆ GetMultiplicity()

◆ GetPosition()

static TVector3 TZeroDegree::GetPosition ( double  dist)
inlinestatic

!

Definition at line 36 of file TZeroDegree.h.

◆ GetZeroDegreeHit()

TZeroDegreeHit* TZeroDegree::GetZeroDegreeHit ( const int &  i) const
inline

Definition at line 34 of file TZeroDegree.h.

References TDetector::GetHit().

Referenced by ExampleTreeSelector::FillHistograms().

◆ operator=()

TZeroDegree & TZeroDegree::operator= ( const TZeroDegree rhs)

!

Definition at line 38 of file TZeroDegree.cxx.

References TDetector::Copy().

◆ Print() [1/2]

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

!

Prints out TZeroDegree multiplicity, currently does little.

Definition at line 44 of file TZeroDegree.cxx.

◆ Print() [2/2]

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

!

Reimplemented from TDetector.

Definition at line 50 of file TZeroDegree.cxx.

References TDetector::fHits.

◆ SetWave()

static bool TZeroDegree::SetWave ( )
inlinestatic

!

Definition at line 49 of file TZeroDegree.h.

References fSetWave.

Member Data Documentation

◆ fHits

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

Definition at line 72 of file TDetector.h.

Referenced by TSiLi::AddCluster(), TEaglePulser::AddFragment(), TFippsPulser::AddFragment(), TGenericDetector::AddFragment(), TPaces::AddFragment(), TTdrSiLi::AddFragment(), TBgo::AddFragment(), TSiLi::AddFragment(), TTip::AddFragment(), TSceptar::AddFragment(), TTdrPlastic::AddFragment(), TTAC::AddFragment(), TFippsTAC::AddFragment(), TEagle::AddFragment(), TDescant::AddFragment(), 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(), TTdrTigress::GetSuppressedMultiplicity(), TTdrClover::GetSuppressedMultiplicity(), TSiLi::Print(), TTdrSiLi::Print(), TTAC::Print(), TPaces::Print(), TFippsTAC::Print(), TTip::Print(), Print(), TTdrPlastic::Print(), TSceptar::Print(), TEagle::Print(), TDetector::Print(), TDescant::Print(), TEmma::Print(), TFippsLaBr::Print(), TLaBr::Print(), TTrific::Print(), TTigress::Print(), TSiLi::UseFitCharge(), and TDetector::~TDetector().

◆ fSetWave

bool TZeroDegree::fSetWave = false
staticprivate

Flag for Waveforms ON/OFF.

Definition at line 46 of file TZeroDegree.h.

Referenced by SetWave().