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 34 of file TDetector.h.
Public Member Functions | |
TDetector () | |
TDetector (const TDetector &) | |
~TDetector () override | |
virtual void | AddFragment (const std::shared_ptr< const TFragment > &, TChannel *) |
virtual void | BuildHits () |
void | Clear (Option_t *="") override |
virtual void | ClearTransients () |
virtual void | Copy (TObject &) const override |
virtual TDetectorHit * | GetHit (const int &) const |
virtual const std::vector< TDetectorHit * > & | GetHitVector () const |
virtual Short_t | GetMultiplicity () const |
TDetector & | operator= (const TDetector &other) |
void | Print (Option_t *opt="") const override |
virtual void | Print (std::ostream &out) const |
Protected Attributes | |
std::vector< TDetectorHit * > | fHits |
Friends | |
std::ostream & | operator<< (std::ostream &out, const TDetector &det) |
#include <TDetector.h>
TDetector::TDetector | ( | ) |
Default constructor.
Definition at line 8 of file TDetector.cxx.
TDetector::TDetector | ( | const TDetector & | rhs | ) |
|
override |
|
inlinevirtual |
!
Reimplemented in TTigress, TLaBr, TFippsLaBr, TRF, TSharc, TTrific, TGriffin, TFipps, TIfin, TTdrClover, TTdrTigress, TCSM, TS3, TDescant, TZeroDegree, TTriFoil, TTAC, TEagle, TFippsTAC, TEmma, TSceptar, TTdrPlastic, TTip, TSiLi, TBgo, TPaces, TTdrSiLi, TGenericDetector, TEaglePulser, and TFippsPulser.
Definition at line 50 of file TDetector.h.
|
inlinevirtual |
!
Reimplemented in TTigress, TLaBr, TFippsLaBr, TRF, TSharc, TTrific, TGriffin, TCSM, TS3, TDescant, TZeroDegree, TTriFoil, TTAC, TEagle, TFippsTAC, TEmma, TSceptar, TTip, TSiLi, TBgo, TPaces, TGenericDetector, TEaglePulser, and TFippsPulser.
Definition at line 48 of file TDetector.h.
|
inlineoverride |
!
Definition at line 57 of file TDetector.h.
References fHits.
Referenced by TSiLi::Clear(), TTdrSiLi::Clear(), TTriFoil::Clear(), TBgo::Clear(), TSharc::Clear(), TTdrPlastic::Clear(), TEagle::Clear(), TDescant::Clear(), TEmma::Clear(), TTrific::Clear(), TS3::Clear(), TTigress::Clear(), TPaces::TPaces(), TSceptar::TSceptar(), and TZeroDegree::TZeroDegree().
|
virtual |
!
Reimplemented in TS3, TTigress, TTrific, and TGriffin.
Definition at line 63 of file TDetector.cxx.
References fHits.
Referenced by TGriffin::ClearTransients(), TTrific::ClearTransients(), and TTigress::ClearTransients().
|
overridevirtual |
!
Reimplemented in TGriffin, TTigress, TIfin, TFipps, TTdrTigress, TTdrClover, TS3, TTrific, TEmma, TRF, TDescant, TEagle, TLaBr, TTriFoil, TFippsLaBr, TPaces, TSharc, TBgo, TTdrSiLi, TSiLi, and TSuppressed.
Definition at line 34 of file TDetector.cxx.
References fHits.
Referenced by ClassImp(), TSiLi::Copy(), TTdrSiLi::Copy(), TBgo::Copy(), TSharc::Copy(), TPaces::Copy(), TTriFoil::Copy(), TEagle::Copy(), TDescant::Copy(), TRF::Copy(), TEmma::Copy(), TTrific::Copy(), TS3::Copy(), TTigress::Copy(), TEaglePulser::operator=(), TFippsPulser::operator=(), TGenericDetector::operator=(), TTip::operator=(), operator=(), TFippsTAC::operator=(), TTAC::operator=(), TTdrPlastic::operator=(), TSceptar::operator=(), TZeroDegree::operator=(), TDetector(), TEaglePulser::TEaglePulser(), TFippsPulser::TFippsPulser(), TFippsTAC::TFippsTAC(), TGenericDetector::TGenericDetector(), TSceptar::TSceptar(), TTAC::TTAC(), TTdrPlastic::TTdrPlastic(), TTip::TTip(), and TZeroDegree::TZeroDegree().
|
virtual |
Definition at line 70 of file TDetector.cxx.
References fHits.
Referenced by exAnalysis(), TBgo::GetBgoHit(), TCSM::GetCSMHit(), TDescant::GetDescantHit(), TEagle::GetEagleHit(), TEmma::GetEmmaHit(), TGenericDetector::GetGenericDetectorHit(), TLaBrBgo::GetLaBrBgoHit(), TFippsLaBr::GetLaBrHit(), TLaBr::GetLaBrHit(), TPaces::GetPacesHit(), TS3::GetS3Hit(), TSceptar::GetSceptarHit(), TSharc::GetSharcHit(), TSiLi::GetSiLiHit(), TTAC::GetTACHit(), TFippsTAC::GetTACHit(), TTdrClover::GetTdrCloverHit(), TTdrPlastic::GetTdrPlasticHit(), TTdrSiLi::GetTdrSiLiHit(), TTdrTigress::GetTdrTigressHit(), TTigress::GetTigressHit(), TTip::GetTipHit(), TTrific::GetTrificHit(), TZeroDegree::GetZeroDegreeHit(), and MakeAnalysisHistograms().
|
inlinevirtual |
Reimplemented in TGriffin.
Definition at line 64 of file TDetector.h.
References fHits.
Referenced by TSuppressed::CreateSuppressed(), TSuppressed::CreateSuppressedAddback(), TFipps::FixCrossTalk(), TIfin::FixCrossTalk(), TTdrClover::GetAddbackMultiplicity(), TTdrTigress::GetAddbackMultiplicity(), TFipps::GetAddbackMultiplicity(), TIfin::GetAddbackMultiplicity(), TTdrClover::GetSuppressedAddbackMultiplicity(), TTdrTigress::GetSuppressedAddbackMultiplicity(), TFipps::GetSuppressedMultiplicity(), and TIfin::GetSuppressedMultiplicity().
|
inlinevirtual |
Reimplemented in TTrific, and TGriffin.
Definition at line 62 of file TDetector.h.
References fHits.
Referenced by exAnalysis(), TimeWalkSelector::FillHistograms(), ExampleEventSelector::FillHistograms(), ExampleTreeSelector::FillHistograms(), AngularCorrelationSelector::FillHistograms(), main(), MakeAnalysisHistograms(), TBgo::Print(), TTdrClover::Print(), TTdrTigress::Print(), TFipps::Print(), TIfin::Print(), and TTigress::Print().
Definition at line 39 of file TDetector.h.
References Copy().
|
override |
|
virtual |
Print detector to stream out. Iterates over hits and prints them.
Reimplemented in TGriffin, TTigress, TIfin, TFipps, TTdrTigress, TTdrClover, TS3, TTrific, TLaBr, TFippsLaBr, TEmma, TRF, TDescant, TEagle, TSceptar, TTdrPlastic, TZeroDegree, TTip, TSharc, TPaces, TTAC, TFippsTAC, TBgo, TTriFoil, TTdrSiLi, TSiLi, TGenericDetector, TEaglePulser, and TFippsPulser.
Definition at line 53 of file TDetector.cxx.
References fHits.
|
friend |
Definition at line 66 of file TDetector.h.
|
protected |
Definition at line 72 of file TDetector.h.
Referenced by TSiLi::AddCluster(), TEaglePulser::AddFragment(), TGenericDetector::AddFragment(), TFippsPulser::AddFragment(), TPaces::AddFragment(), TTdrSiLi::AddFragment(), TBgo::AddFragment(), TSiLi::AddFragment(), TTip::AddFragment(), TSceptar::AddFragment(), TTdrPlastic::AddFragment(), TTAC::AddFragment(), TFippsTAC::AddFragment(), TEagle::AddFragment(), TZeroDegree::AddFragment(), TDescant::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(), Clear(), TEmma::Clear(), TTrific::Clear(), ClearTransients(), Copy(), TSiLi::GetAddbackMultiplicity(), TTigress::GetAddbackMultiplicity(), TFipps::GetFippsHit(), GetHit(), GetHitVector(), TIfin::GetIfinHit(), GetMultiplicity(), TTrific::GetMultiplicity(), TSharc::GetSize(), TFippsLaBr::GetSuppressedMultiplicity(), TLaBr::GetSuppressedMultiplicity(), TTdrClover::GetSuppressedMultiplicity(), TTdrTigress::GetSuppressedMultiplicity(), TSiLi::Print(), TTdrSiLi::Print(), TTAC::Print(), TFippsTAC::Print(), TPaces::Print(), TTip::Print(), TZeroDegree::Print(), TSceptar::Print(), TTdrPlastic::Print(), TEagle::Print(), Print(), TDescant::Print(), TEmma::Print(), TLaBr::Print(), TFippsLaBr::Print(), TTrific::Print(), TTigress::Print(), TSiLi::UseFitCharge(), and ~TDetector().