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

Detailed Description

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 (TZeroDegree &&) noexcept=default
 
 ~TZeroDegree () override=default
 
void AddFragment (const std::shared_ptr< const TFragment > &, TChannel *) override
 
virtual void AddHit (TDetectorHit *hit)
 
void BuildHits () override
 
void Clear (Option_t *="") 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
 
TZeroDegreeHitGetZeroDegreeHit (const int &i) const
 
std::vector< TDetectorHit * > & Hits ()
 
const std::vector< TDetectorHit * > & Hits () const
 
virtual bool NoHits () const
 
TZeroDegreeoperator= (const TZeroDegree &)
 
TZeroDegreeoperator= (TZeroDegree &&)=default
 
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 ()
 

Private Attributes

std::vector< TDetectorHit * > fHits
 

Static Private Attributes

static bool fSetWave = false
 
+ Inheritance diagram for TZeroDegree:
+ Collaboration diagram for TZeroDegree:

Constructor & Destructor Documentation

◆ TZeroDegree() [1/3]

TZeroDegree::TZeroDegree ( )

Definition at line 11 of file TZeroDegree.cxx.

References TDetector::Clear().

◆ TZeroDegree() [2/3]

TZeroDegree::TZeroDegree ( const TZeroDegree & rhs)

Definition at line 17 of file TZeroDegree.cxx.

References TDetector::Copy().

◆ TZeroDegree() [3/3]

TZeroDegree::TZeroDegree ( TZeroDegree && )
defaultnoexcept

◆ ~TZeroDegree()

TZeroDegree::~TZeroDegree ( )
overridedefault

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 42 of file TZeroDegree.cxx.

References TDetector::AddHit().

◆ AddHit()

◆ BuildHits()

void TZeroDegree::BuildHits ( )
inlineoverridevirtual

!

Reimplemented from TDetector.

Definition at line 43 of file TZeroDegree.h.

◆ Clear()

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

◆ GetHit()

◆ GetHitVector()

◆ GetMultiplicity()

◆ GetPosition()

static TVector3 TZeroDegree::GetPosition ( double dist)
inlinestatic

!

Definition at line 38 of file TZeroDegree.h.

◆ GetZeroDegreeHit()

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

◆ 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.

◆ NoHits()

virtual bool TDetector::NoHits ( ) const
inlinevirtualinherited

◆ operator=() [1/2]

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

!

Definition at line 23 of file TZeroDegree.cxx.

References TDetector::Copy().

◆ operator=() [2/2]

TZeroDegree & TZeroDegree::operator= ( TZeroDegree && )
default

◆ Print() [1/2]

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

!

Prints out TZeroDegree multiplicity, currently does little.

Definition at line 29 of file TZeroDegree.cxx.

References Print().

Referenced by Print().

◆ Print() [2/2]

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

!

Reimplemented from TDetector.

Definition at line 35 of file TZeroDegree.cxx.

References TDetector::GetMultiplicity().

◆ SetWave()

static bool TZeroDegree::SetWave ( )
inlinestatic

!

Definition at line 49 of file TZeroDegree.h.

References fSetWave.

Member Data Documentation

◆ fHits

◆ fSetWave

bool TZeroDegree::fSetWave = false
staticprivate

Flag for Waveforms ON/OFF.

Definition at line 46 of file TZeroDegree.h.

Referenced by SetWave().