![]() |
GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
|
![]() |
This is an abstract class that contains the basic info about a detector. This is where the hits are built and the data is filled. It's main role is to act as a wrapper for every other type of detector system.
Definition at line 31 of file TDetector.h.
Public Member Functions | |
| TDetector ()=default | |
| TDetector (const TDetector &) | |
| TDetector (TDetector &&) noexcept | |
| ~TDetector () | |
| virtual void | AddFragment (const std::shared_ptr< const TFragment > &, TChannel *) |
| virtual void | AddHit (TDetectorHit *hit) |
| virtual void | BuildHits () |
| void | Clear (Option_t *="") override |
| virtual void | ClearTransients () |
| void | Copy (TObject &) const override |
| virtual TDetectorHit * | GetHit (const int &index) const |
| virtual Short_t | GetMultiplicity () const |
| std::vector< TDetectorHit * > & | Hits () |
| const std::vector< TDetectorHit * > & | Hits () const |
| virtual bool | NoHits () const |
| TDetector & | operator= (const TDetector &other) |
| TDetector & | operator= (TDetector &&other) noexcept |
| void | Print (Option_t *opt="") const override |
| virtual void | Print (std::ostream &out) const |
Private Attributes | |
| std::vector< TDetectorHit * > | fHits |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const TDetector &det) |
Inheritance diagram for TDetector:
Collaboration diagram for TDetector:
|
default |
| TDetector::TDetector | ( | const TDetector & | rhs | ) |
|
noexcept |
Default Move constructor.
Definition at line 10 of file TDetector.cxx.
| TDetector::~TDetector | ( | ) |
|
inlinevirtual |
!
Reimplemented in TAries, TBgo, TCSM, TDemand, TDescant, TEagle, TEaglePulser, TEmma, TFipps, TFippsLaBr, TFippsPulser, TFippsTAC, TGenericDetector, TGriffin, TIfin, TLaBr, TPaces, TRcmp, TRF, TS3, TSceptar, TSharc2, TSharc, TSiLi, TTAC, TTdrClover, TTdrPlastic, TTdrSiLi, TTdrTigress, TTigress, TTip, TTrific, TTriFoil, and TZeroDegree.
Definition at line 54 of file TDetector.h.
|
inlinevirtual |
Definition at line 60 of file TDetector.h.
References fHits.
Referenced by TAries::AddFragment(), TBgo::AddFragment(), TDemand::AddFragment(), TDescant::AddFragment(), TGenericDetector::AddFragment(), TLaBr::AddFragment(), TPaces::AddFragment(), TSceptar::AddFragment(), TSiLi::AddFragment(), TTAC::AddFragment(), TTigress::AddFragment(), TTip::AddFragment(), TTrific::AddFragment(), TZeroDegree::AddFragment(), TEmma::BuildHits(), TSharc2::BuildHits(), and TSharc::BuildHits().
|
inlinevirtual |
!
Reimplemented in TAries, TBgo, TCSM, TDemand, TDescant, TEagle, TEaglePulser, TEmma, TFipps, TFippsLaBr, TFippsPulser, TFippsTAC, TGenericDetector, TGriffin, TIfin, TLaBr, TPaces, TRcmp, TRF, TS3, TSceptar, TSharc2, TSharc, TSiLi, TTAC, TTigress, TTip, TTrific, TTriFoil, and TZeroDegree.
Definition at line 52 of file TDetector.h.
|
override |
!
Definition at line 67 of file TDetector.cxx.
References fHits.
Referenced by TAries::TAries(), TDemand::TDemand(), TEaglePulser::TEaglePulser(), TFippsPulser::TFippsPulser(), TFippsTAC::TFippsTAC(), TGenericDetector::TGenericDetector(), TPaces::TPaces(), TSceptar::TSceptar(), TTAC::TTAC(), TZeroDegree::TZeroDegree(), TBgo::Clear(), TDescant::Clear(), TEagle::Clear(), TEmma::Clear(), TRcmp::Clear(), TS3::Clear(), TSharc2::Clear(), TSharc::Clear(), TSiLi::Clear(), TSuppressed::Clear(), TTdrPlastic::Clear(), TTdrSiLi::Clear(), TTigress::Clear(), TTrific::Clear(), and TTriFoil::Clear().
|
virtual |
!
Reimplemented in TGriffin, TS3, TTigress, and TTrific.
Definition at line 77 of file TDetector.cxx.
References fHits.
Referenced by TGriffin::ClearTransients(), TTigress::ClearTransients(), and TTrific::ClearTransients().
|
override |
!
Definition at line 24 of file TDetector.cxx.
References fHits.
Referenced by TAries::TAries(), TDetector(), TEaglePulser::TEaglePulser(), TFippsPulser::TFippsPulser(), TFippsTAC::TFippsTAC(), TGenericDetector::TGenericDetector(), TSceptar::TSceptar(), TTAC::TTAC(), TTdrPlastic::TTdrPlastic(), TTip::TTip(), TZeroDegree::TZeroDegree(), TBgo::Copy(), TDemand::Copy(), TDescant::Copy(), TEagle::Copy(), TEmma::Copy(), TPaces::Copy(), TRcmp::Copy(), TRF::Copy(), TS3::Copy(), TSharc2::Copy(), TSharc::Copy(), TSiLi::Copy(), TSuppressed::Copy(), TTdrSiLi::Copy(), TTigress::Copy(), TTrific::Copy(), TTriFoil::Copy(), TAries::operator=(), TEaglePulser::operator=(), TFippsPulser::operator=(), TFippsTAC::operator=(), TGenericDetector::operator=(), TSceptar::operator=(), TTAC::operator=(), TTdrPlastic::operator=(), TTip::operator=(), and TZeroDegree::operator=().
|
virtual |
Definition at line 84 of file TDetector.cxx.
References fHits.
Referenced by TSiLi::AddCluster(), TTigress::GetAddbackMultiplicity(), TAries::GetAriesHit(), TBgo::GetBgoHit(), TCSM::GetCSMHit(), TDemand::GetDemandHit(), TDescant::GetDescantHit(), TEagle::GetEagleHit(), TEmma::GetEmmaHit(), TGenericDetector::GetGenericDetectorHit(), TLaBrBgo::GetLaBrBgoHit(), TFippsLaBr::GetLaBrHit(), TLaBr::GetLaBrHit(), TPaces::GetPacesHit(), TS3::GetS3Hit(), TSceptar::GetSceptarHit(), TSharc2::GetSharc2Hit(), TSharc::GetSharcHit(), TSiLi::GetSiLiHit(), TFippsTAC::GetTACHit(), TTAC::GetTACHit(), TTdrClover::GetTdrCloverHit(), TTdrPlastic::GetTdrPlasticHit(), TTdrSiLi::GetTdrSiLiHit(), TTdrTigress::GetTdrTigressHit(), TTigress::GetTigressHit(), TTip::GetTipHit(), TTrific::GetTrificHit(), TZeroDegree::GetZeroDegreeHit(), and TTigress::Print().
|
inlinevirtual |
Definition at line 70 of file TDetector.h.
References fHits.
Referenced by TTigress::AddFragment(), ComptonHists(), AlphanumericHelper::Exec(), ComptonPolarimetryHelper::Exec(), DirectoryHelper::Exec(), ExampleEventHelper::Exec(), ExampleTreeHelper::Exec(), TacOffsetHelper::Exec(), TimeWalkHelper::Exec(), SummingCorrectionsHelper::FillBranchingRatioHistograms(), SummingCorrectionsHelper::FillEfficiencyHistograms(), AlphanumericSelector::FillHistograms(), AngularCorrelationSelector::FillHistograms(), ExampleEventSelector::FillHistograms(), ExampleTreeSelector::FillHistograms(), TimeWalkSelector::FillHistograms(), TSiLi::GetAddbackMultiplicity(), TTigress::GetAddbackMultiplicity(), TSharc::GetSize(), main(), TAries::Print(), TBgo::Print(), TDemand::Print(), TDescant::Print(), TEmma::Print(), TFipps::Print(), TGriffin::Print(), TIfin::Print(), TLaBr::Print(), TPaces::Print(), TSceptar::Print(), TSiLi::Print(), TTAC::Print(), TTdrClover::Print(), TTdrTigress::Print(), TTigress::Print(), TTip::Print(), TTrific::Print(), and TZeroDegree::Print().
|
inline |
Definition at line 74 of file TDetector.h.
References fHits.
Referenced by TEagle::AddFragment(), TEaglePulser::AddFragment(), TFipps::AddFragment(), TFippsLaBr::AddFragment(), TFippsPulser::AddFragment(), TFippsTAC::AddFragment(), TGriffin::AddFragment(), TIfin::AddFragment(), TTdrClover::AddFragment(), TTdrPlastic::AddFragment(), TTdrSiLi::AddFragment(), TTdrTigress::AddFragment(), TCSM::BuildHits(), TSharc::BuildHits(), TTigress::BuildHits(), TSuppressed::CreateSuppressed(), TSuppressed::CreateSuppressedAddback(), TGriffin::FixCrossTalk(), TGriffin::GetAddbackMultiplicity(), TFipps::GetFippsHit(), TGriffin::GetGriffinHit(), TIfin::GetIfinHit(), TSharc2::GetSize(), TGriffin::GetSuppressedAddbackMultiplicity(), TFippsLaBr::GetSuppressedMultiplicity(), TGriffin::GetSuppressedMultiplicity(), TLaBr::GetSuppressedMultiplicity(), TTdrClover::GetSuppressedMultiplicity(), TTdrTigress::GetSuppressedMultiplicity(), TEagle::Print(), TEaglePulser::Print(), TFippsLaBr::Print(), TFippsTAC::Print(), TGriffin::Print(), TTdrPlastic::Print(), TTdrSiLi::Print(), and TSiLi::UseFitCharge().
|
inline |
Definition at line 75 of file TDetector.h.
References fHits.
|
inlinevirtual |
Definition at line 72 of file TDetector.h.
References fHits.
Referenced by TTigress::BuildHits(), TTigress::GetAddbackMultiplicity(), and TLaBr::GetSuppressedMultiplicity().
Definition at line 37 of file TDetector.h.
Definition at line 44 of file TDetector.h.
|
override |
!
Default print statement for TDetector.
Definition at line 50 of file TDetector.cxx.
References Print().
Referenced by Print().
|
virtual |
Print detector to stream out. Iterates over hits and prints them.
Reimplemented in TAries, TBgo, TDemand, TDescant, TEagle, TEaglePulser, TEmma, TFipps, TFippsLaBr, TFippsPulser, TFippsTAC, TGenericDetector, TGriffin, TIfin, TLaBr, TPaces, TRcmp, TRF, TS3, TSceptar, TSharc2, TSharc, TSiLi, TTAC, TTdrClover, TTdrPlastic, TTdrSiLi, TTdrTigress, TTigress, TTip, TTrific, TTriFoil, and TZeroDegree.
Definition at line 56 of file TDetector.cxx.
References fHits.
|
friend |
Definition at line 77 of file TDetector.h.
|
private |
Definition at line 84 of file TDetector.h.
Referenced by ~TDetector(), AddHit(), Clear(), ClearTransients(), Copy(), GetHit(), GetMultiplicity(), Hits(), Hits(), NoHits(), and Print().