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

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

Definition at line 28 of file TEagle.h.

Public Member Functions

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

Static Public Member Functions

static ROOT::Math::Polar3DVector GetPinDiodePosition (int DetNbr)
 
static ROOT::Math::Polar3DVector GetPosition (int DetNbr)
 

Protected Attributes

std::vector< TDetectorHit * > fHits
 

Private Attributes

uint32_t fEventNumber
 
std::vector< TPinDiodeHit * > fPinDiodeHits
 
uint16_t fUsTime
 

Static Private Attributes

static ROOT::Math::Polar3DVector gDetectorPosition [17]
 
static ROOT::Math::Polar3DVector gDiodePosition [49]
 

#include <TEagle.h>

+ Inheritance diagram for TEagle:
+ Collaboration diagram for TEagle:

Constructor & Destructor Documentation

◆ TEagle() [1/2]

TEagle::TEagle ( )

Definition at line 89 of file TEagle.cxx.

References Clear().

◆ ~TEagle()

TEagle::~TEagle ( )
override

Definition at line 107 of file TEagle.cxx.

◆ TEagle() [2/2]

TEagle::TEagle ( const TEagle rhs)

Definition at line 98 of file TEagle.cxx.

References Copy().

Member Function Documentation

◆ AddFragment()

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

!

Reimplemented from TDetector.

Definition at line 139 of file TEagle.cxx.

References fEventNumber, TDetector::fHits, fPinDiodeHits, and fUsTime.

◆ BuildHits()

void TEagle::BuildHits ( )
inlineoverridevirtual

!

Reimplemented from TDetector.

Definition at line 39 of file TEagle.h.

◆ Clear()

void TEagle::Clear ( Option_t *  opt = "all")
override

!

Clears the parent and all of the hits

Definition at line 130 of file TEagle.cxx.

References TDetector::Clear(), fEventNumber, fPinDiodeHits, and fUsTime.

Referenced by TEagle().

◆ 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 TEagle::Copy ( TObject &  rhs) const
overridevirtual

!

Copy function

Reimplemented from TDetector.

Definition at line 118 of file TEagle.cxx.

References TDetector::Copy(), fEventNumber, fPinDiodeHits, and fUsTime.

Referenced by operator=(), and TEagle().

◆ GetEagleHit()

TEagleHit* TEagle::GetEagleHit ( const int &  i) const
inline

Definition at line 34 of file TEagle.h.

References TDetector::GetHit().

◆ GetHit()

◆ GetHitVector()

◆ GetMultiplicity()

◆ GetPinDiodeHit()

TPinDiodeHit * TEagle::GetPinDiodeHit ( const int &  i) const

Definition at line 158 of file TEagle.cxx.

References fPinDiodeHits.

◆ GetPinDiodePosition()

static ROOT::Math::Polar3DVector TEagle::GetPinDiodePosition ( int  DetNbr)
inlinestatic

!

Definition at line 42 of file TEagle.h.

References gDiodePosition.

Referenced by TPinDiodeHit::GetPosition().

◆ GetPosition()

static ROOT::Math::Polar3DVector TEagle::GetPosition ( int  DetNbr)
inlinestatic

!

Definition at line 41 of file TEagle.h.

References gDetectorPosition.

Referenced by TEagleHit::GetPosition().

◆ operator=()

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

!

Definition at line 112 of file TEagle.cxx.

References Copy().

◆ Print() [1/2]

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

!

Prints out TEagle information

Definition at line 168 of file TEagle.cxx.

◆ Print() [2/2]

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

!

Prints out TEagle information

Reimplemented from TDetector.

Definition at line 174 of file TEagle.cxx.

References fEventNumber, TDetector::fHits, fPinDiodeHits, and fUsTime.

Member Data Documentation

◆ fEventNumber

uint32_t TEagle::fEventNumber
private

event number

Definition at line 51 of file TEagle.h.

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

◆ 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(), AddFragment(), TDescant::AddFragment(), TZeroDegree::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(), TZeroDegree::Print(), TTdrPlastic::Print(), TSceptar::Print(), Print(), TDetector::Print(), TDescant::Print(), TEmma::Print(), TFippsLaBr::Print(), TLaBr::Print(), TTrific::Print(), TTigress::Print(), TSiLi::UseFitCharge(), and TDetector::~TDetector().

◆ fPinDiodeHits

std::vector<TPinDiodeHit*> TEagle::fPinDiodeHits
private

vector of pin diode hits

Definition at line 50 of file TEagle.h.

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

◆ fUsTime

uint16_t TEagle::fUsTime
private

time in microseconds

Definition at line 52 of file TEagle.h.

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

◆ gDetectorPosition

ROOT::Math::Polar3DVector TEagle::gDetectorPosition
staticprivate
Initial value:
= {
ROOT::Math::Polar3DVector(1., 101./180.*TMath::Pi(), 0./180.*TMath::Pi()),
ROOT::Math::Polar3DVector(1., 37./180.*TMath::Pi(), 324./180.*TMath::Pi()),
ROOT::Math::Polar3DVector(1., 79./180.*TMath::Pi(), 36./180.*TMath::Pi()),
ROOT::Math::Polar3DVector(1., 101./180.*TMath::Pi(), 144./180.*TMath::Pi()),
ROOT::Math::Polar3DVector(1., 143./180.*TMath::Pi(), 288./180.*TMath::Pi()),
ROOT::Math::Polar3DVector(1., 37./180.*TMath::Pi(), 180./180.*TMath::Pi()),
ROOT::Math::Polar3DVector(1., 101./180.*TMath::Pi(), 72./180.*TMath::Pi()),
ROOT::Math::Polar3DVector(1., 143./180.*TMath::Pi(), 0./180.*TMath::Pi()),
ROOT::Math::Polar3DVector(1., 143./180.*TMath::Pi(), 72./180.*TMath::Pi()),
ROOT::Math::Polar3DVector(1., 37./180.*TMath::Pi(), 108./180.*TMath::Pi()),
ROOT::Math::Polar3DVector(1., 79./180.*TMath::Pi(), 324./180.*TMath::Pi()),
ROOT::Math::Polar3DVector(1., 143./180.*TMath::Pi(), 144./180.*TMath::Pi()),
ROOT::Math::Polar3DVector(1., 101./180.*TMath::Pi(), 216./180.*TMath::Pi()),
ROOT::Math::Polar3DVector(1., 79./180.*TMath::Pi(), 180./180.*TMath::Pi()),
ROOT::Math::Polar3DVector(1., 37./180.*TMath::Pi(), 36./180.*TMath::Pi()),
ROOT::Math::Polar3DVector(1., 37./180.*TMath::Pi(), 252./180.*TMath::Pi()),
ROOT::Math::Polar3DVector(1., 143./180.*TMath::Pi(), 216./180.*TMath::Pi())}

! Position of each detector (plus one default position)

Definition at line 47 of file TEagle.h.

Referenced by GetPosition().

◆ gDiodePosition

ROOT::Math::Polar3DVector TEagle::gDiodePosition
staticprivate

! Position of each diode

Definition at line 48 of file TEagle.h.

Referenced by GetPinDiodePosition().