![]() |
GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
|
![]() |
Public Member Functions | |
TCSM () | |
TCSM (const TCSM &)=default | |
TCSM (TCSM &&) noexcept=default | |
~TCSM () 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 |
TCSMHit * | GetCSMHit (const int &i) const |
virtual TDetectorHit * | GetHit (const int &index) const |
virtual const std::vector< TDetectorHit * > & | GetHitVector () const |
virtual Short_t | GetMultiplicity () const |
std::vector< TDetectorHit * > & | Hits () |
const std::vector< TDetectorHit * > & | Hits () const |
virtual bool | NoHits () const |
TCSM & | operator= (const TCSM &)=default |
TCSM & | operator= (TCSM &&) noexcept=default |
void | Print (Option_t *opt="") const override |
virtual void | Print (std::ostream &out) const |
Static Public Member Functions | |
static TVector3 | GetPosition (int detector, char pos, int horizontalstrip, int verticalstrip, double X=0.00, double Y=0.00, double Z=0.00) |
Private Member Functions | |
bool | AlmostEqual (double, double) const |
bool | AlmostEqual (int, int) const |
void | BuilddEE (std::vector< std::vector< TDetectorHit * > > &, std::vector< TDetectorHit * > &) |
void | BuildVH (std::vector< std::vector< std::pair< TFragment, TGRSIMnemonic > > > &, std::vector< TDetectorHit * > &) |
TCSMHit * | CombineHits (TDetectorHit *, TDetectorHit *) |
void | MakedEE (std::vector< TDetectorHit * > &DHitVec, std::vector< TDetectorHit * > &EHitVec, std::vector< TDetectorHit * > &BuiltHits) |
TCSMHit * | MakeHit (std::pair< TFragment, TGRSIMnemonic > &, std::pair< TFragment, TGRSIMnemonic > &) |
TCSMHit * | MakeHit (std::vector< std::pair< TFragment, TGRSIMnemonic > > &, std::vector< std::pair< TFragment, TGRSIMnemonic > > &) |
void | OldBuilddEE (std::vector< TDetectorHit * > &, std::vector< TDetectorHit * > &, std::vector< TDetectorHit * > &) |
void | RecoverHit (char, std::pair< TFragment, TGRSIMnemonic > &, std::vector< TDetectorHit * > &) |
Private Attributes | |
double | fAlmostEqualWindow |
std::map< int16_t, std::vector< std::vector< std::vector< std::pair< TFragment, TGRSIMnemonic > > > > > | fFragments |
std::vector< TDetectorHit * > | fHits |
Static Private Attributes | |
static int | fCfdBuildDiff = 5 |
|
default |
|
defaultnoexcept |
|
overridedefault |
|
overridevirtual |
!
This function just stores the fragments and mnemonics in vectors, separated by detector number and type (horizontal/vertical strip or pad). The hits themselves are built in the BuildHits function because the way we build them depends on the number of hits.
Reimplemented from TDetector.
Definition at line 14 of file TCSM.cxx.
References TMnemonic::ArrayPosition(), TMnemonic::ArraySubPositionString(), TMnemonic::CollectedChargeString(), fFragments, and TChannel::GetMnemonic().
|
inlinevirtualinherited |
Definition at line 63 of file TDetector.h.
References TDetector::fHits.
Referenced by TAries::AddFragment(), TBgo::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().
|
private |
Definition at line 628 of file TCSM.cxx.
References fAlmostEqualWindow.
|
private |
Definition at line 620 of file TCSM.cxx.
References fAlmostEqualWindow.
Referenced by BuildVH(), and OldBuilddEE().
|
private |
|
overridevirtual |
!
This function takes the fragments that were stored in the successive AddFragment calls and builds hits out of them
Reimplemented from TDetector.
Definition at line 52 of file TCSM.cxx.
References BuilddEE(), BuildVH(), fFragments, and TDetector::Hits().
|
private |
Build hits from horizontal (index = 0) and vertical (index = 1) strips into the hitVector
Definition at line 124 of file TCSM.cxx.
References AlmostEqual(), MakeHit(), RecoverHit(), and SumHits.
Referenced by BuildHits().
|
inlineoverrideinherited |
!
Definition at line 68 of file TDetector.h.
References TDetector::fHits.
Referenced by TAries::TAries(), 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().
|
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().
|
private |
Definition at line 592 of file TCSM.cxx.
References TCSMHit::SetEHorizontalStrip().
Referenced by MakedEE(), and OldBuilddEE().
|
overrideinherited |
!
Definition at line 24 of file TDetector.cxx.
References TDetector::fHits.
Referenced by TAries::TAries(), TDetector::TDetector(), TEaglePulser::TEaglePulser(), TFippsPulser::TFippsPulser(), TFippsTAC::TFippsTAC(), TGenericDetector::TGenericDetector(), TSceptar::TSceptar(), TTAC::TTAC(), TTdrPlastic::TTdrPlastic(), TTip::TTip(), TZeroDegree::TZeroDegree(), TBgo::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=().
|
inline |
Definition at line 45 of file TCSM.h.
References TDetector::GetHit().
|
virtualinherited |
Reimplemented in TGriffin.
Definition at line 61 of file TDetector.cxx.
References TDetector::fHits.
Referenced by TSiLi::AddCluster(), TTigress::GetAddbackMultiplicity(), TAries::GetAriesHit(), TBgo::GetBgoHit(), GetCSMHit(), 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(), MakeAnalysisHistograms(), and TTigress::Print().
|
inlinevirtualinherited |
Reimplemented in TGriffin.
Definition at line 75 of file TDetector.h.
References TDetector::fHits.
Referenced by TSuppressed::CreateSuppressed(), TSuppressed::CreateSuppressedAddback(), TFipps::FixCrossTalk(), TIfin::FixCrossTalk(), TFipps::GetAddbackMultiplicity(), TIfin::GetAddbackMultiplicity(), TTdrClover::GetAddbackMultiplicity(), TTdrTigress::GetAddbackMultiplicity(), TFipps::GetSuppressedAddbackMultiplicity(), TIfin::GetSuppressedAddbackMultiplicity(), TTdrClover::GetSuppressedAddbackMultiplicity(), TTdrTigress::GetSuppressedAddbackMultiplicity(), TFipps::GetSuppressedMultiplicity(), and TIfin::GetSuppressedMultiplicity().
|
inlinevirtualinherited |
Reimplemented in TGriffin.
Definition at line 73 of file TDetector.h.
References TDetector::fHits.
Referenced by TTigress::AddFragment(), ExampleEventHelper::Exec(), ExampleTreeHelper::Exec(), TimeWalkHelper::Exec(), AngularCorrelationSelector::FillHistograms(), ExampleEventSelector::FillHistograms(), ExampleTreeSelector::FillHistograms(), TimeWalkSelector::FillHistograms(), TSiLi::GetAddbackMultiplicity(), TTigress::GetAddbackMultiplicity(), TGriffin::GetLowGainMultiplicity(), TGriffin::GetMultiplicity(), TSharc::GetSize(), main(), MakeAnalysisHistograms(), TAries::Print(), TBgo::Print(), TDescant::Print(), TEmma::Print(), TFipps::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().
|
static |
Definition at line 69 of file TCSM.cxx.
Referenced by MakeHit(), MakeHit(), and RecoverHit().
|
inlineinherited |
Definition at line 78 of file TDetector.h.
References TDetector::fHits.
Referenced by BuildHits(), TSharc::BuildHits(), TTigress::BuildHits(), TGriffin::GetHitVector(), TGriffin::GetHitVector(), TSharc2::GetSize(), TLaBr::GetSuppressedMultiplicity(), TGriffin::Print(), and TSiLi::UseFitCharge().
|
inlineinherited |
Definition at line 79 of file TDetector.h.
References TDetector::fHits.
|
private |
Definition at line 371 of file TCSM.cxx.
References CombineHits(), TCSMHit::GetDPosition(), and TCSMHit::GetEPosition().
Referenced by BuilddEE().
|
private |
|
private |
Definition at line 234 of file TCSM.cxx.
References TCSMHit::GetEnergy(), and GetPosition().
|
inlinevirtualinherited |
Definition at line 76 of file TDetector.h.
References TDetector::fHits.
Referenced by TTigress::BuildHits(), TTigress::GetAddbackMultiplicity(), and TLaBr::GetSuppressedMultiplicity().
|
private |
Definition at line 442 of file TCSM.cxx.
References AlmostEqual(), CombineHits(), DGREEN, TCSMHit::GetDetectorNumber(), TCSMHit::GetDPosition(), TCSMHit::GetEPosition(), and RESET_COLOR.
|
overrideinherited |
!
Default print statement for TDetector.
Definition at line 37 of file TDetector.cxx.
References TDetector::Print().
Referenced by TDetector::Print().
|
virtualinherited |
Print detector to stream out. Iterates over hits and prints them.
Reimplemented in TAries, TBgo, 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 43 of file TDetector.cxx.
References TDetector::fHits.
|
private |
Definition at line 514 of file TCSM.cxx.
References GetPosition(), and RecoverHits.
Referenced by BuildVH().
|
private |
Definition at line 57 of file TCSM.h.
Referenced by AlmostEqual(), and AlmostEqual().
|
staticprivate |
|
private |
|
privateinherited |
Definition at line 88 of file TDetector.h.
Referenced by TDetector::~TDetector(), TEagle::AddFragment(), TEaglePulser::AddFragment(), TFipps::AddFragment(), TFippsLaBr::AddFragment(), TFippsPulser::AddFragment(), TFippsTAC::AddFragment(), TIfin::AddFragment(), TTdrClover::AddFragment(), TTdrPlastic::AddFragment(), TTdrSiLi::AddFragment(), TTdrTigress::AddFragment(), TDetector::AddHit(), TDetector::Clear(), TDetector::ClearTransients(), TDetector::Copy(), TFipps::GetFippsHit(), TDetector::GetHit(), TDetector::GetHitVector(), TIfin::GetIfinHit(), TDetector::GetMultiplicity(), TFippsLaBr::GetSuppressedMultiplicity(), TTdrClover::GetSuppressedMultiplicity(), TTdrTigress::GetSuppressedMultiplicity(), TDetector::Hits(), TDetector::Hits(), TDetector::NoHits(), TDetector::Print(), TEagle::Print(), TEaglePulser::Print(), TFippsLaBr::Print(), TFippsTAC::Print(), TTdrPlastic::Print(), and TTdrSiLi::Print().