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

Detailed Description

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

Definition at line 27 of file TTdrPlastic.h.

Public Member Functions

 TTdrPlastic ()
 
 TTdrPlastic (const TTdrPlastic &rhs)
 
 ~TTdrPlastic () override
 
void AddFragment (const std::shared_ptr< const TFragment > &, TChannel *) override
 
virtual void AddHit (TDetectorHit *hit)
 
virtual void BuildHits ()
 
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
 
TTdrPlasticHitGetTdrPlasticHit (const int &i) const
 
std::vector< TDetectorHit * > & Hits ()
 
const std::vector< TDetectorHit * > & Hits () const
 
virtual bool NoHits () const
 
TTdrPlasticoperator= (const TTdrPlastic &)
 
void Print (Option_t *opt="") const override
 
void Print (std::ostream &out) const override
 

Static Public Member Functions

static TVector3 GetPosition (int DetNbr)
 
static bool SetWave ()
 

Private Attributes

std::vector< TDetectorHit * > fHits
 

Static Private Attributes

static bool fSetWave = false
 
static TVector3 gPaddlePosition [21]
 
+ Inheritance diagram for TTdrPlastic:
+ Collaboration diagram for TTdrPlastic:

Constructor & Destructor Documentation

◆ TTdrPlastic() [1/2]

TTdrPlastic::TTdrPlastic ( )

Definition at line 36 of file TTdrPlastic.cxx.

References Clear().

◆ ~TTdrPlastic()

TTdrPlastic::~TTdrPlastic ( )
override

Definition at line 47 of file TTdrPlastic.cxx.

◆ TTdrPlastic() [2/2]

TTdrPlastic::TTdrPlastic ( const TTdrPlastic & rhs)

Definition at line 52 of file TTdrPlastic.cxx.

References TDetector::Copy().

Member Function Documentation

◆ AddFragment()

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

!

Reimplemented from TDetector.

Definition at line 74 of file TTdrPlastic.cxx.

References TDetector::fHits.

◆ AddHit()

◆ BuildHits()

virtual void TDetector::BuildHits ( )
inlinevirtualinherited

◆ Clear()

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

!

Definition at line 61 of file TTdrPlastic.cxx.

References TDetector::Clear().

Referenced by TTdrPlastic().

◆ 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 TTdrPlastic::GetPosition ( int DetNbr)
inlinestatic

!

Definition at line 39 of file TTdrPlastic.h.

References gPaddlePosition.

Referenced by TTdrPlasticHit::GetPosition().

◆ GetTdrPlasticHit()

TTdrPlasticHit * TTdrPlastic::GetTdrPlasticHit ( const int & i) const
inline

Definition at line 34 of file TTdrPlastic.h.

References TDetector::GetHit().

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

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

!

Definition at line 68 of file TTdrPlastic.cxx.

References TDetector::Copy().

◆ Print() [1/2]

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

!

Definition at line 80 of file TTdrPlastic.cxx.

References Print().

Referenced by Print().

◆ Print() [2/2]

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

Reimplemented from TDetector.

Definition at line 86 of file TTdrPlastic.cxx.

References TDetector::fHits.

◆ SetWave()

static bool TTdrPlastic::SetWave ( )
inlinestatic

!

Definition at line 47 of file TTdrPlastic.h.

References fSetWave.

Referenced by TTdrPlasticHit::TTdrPlasticHit().

Member Data Documentation

◆ fHits

◆ fSetWave

bool TTdrPlastic::fSetWave = false
staticprivate

Definition at line 44 of file TTdrPlastic.h.

Referenced by SetWave().

◆ gPaddlePosition

TVector3 TTdrPlastic::gPaddlePosition
staticprivate
Initial value:
= {
TVector3(0, 0, 1),
TVector3(14.3025, 4.6472, 22.8096),
TVector3(0, 15.0386, 22.8096),
TVector3(-14.3025, 4.6472, 22.8096),
TVector3(-8.8395, -12.1665, 22.8096),
TVector3(8.8395, -12.1665, 22.8096),
TVector3(19.7051, 6.4026, 6.2123),
TVector3(0, 20.7192, 6.2123),
TVector3(-19.7051, 6.4026, 6.2123),
TVector3(-12.1784, -16.7622, 6.2123),
TVector3(12.1784, -16.7622, 6.2123),
TVector3(19.7051, 6.4026, -6.2123),
TVector3(0, 20.7192, -6.2123),
TVector3(-19.7051, 6.4026, -6.2123),
TVector3(-12.1784, -16.7622, -6.2123),
TVector3(12.1784, -16.7622, -6.2123),
TVector3(14.3025, 4.6472, -22.8096),
TVector3(0, 15.0386, -22.8096),
TVector3(-14.3025, 4.6472, -22.8096),
TVector3(-8.8395, -12.1665, -22.8096),
TVector3(8.8395, -12.1665, -22.8096)}

! Position of each Paddle

Definition at line 12 of file TTdrPlastic.h.

Referenced by GetPosition().