Hall-D Software
alpha
|
#include <DChargedTrackHypothesis_factory.h>
Public Member Functions | |
DChargedTrackHypothesis * | Create_ChargedTrackHypothesis (JEventLoop *locEventLoop, const DTrackTimeBased *locTrackTimeBased, const DDetectorMatches *locDetectorMatches, const DEventRFBunch *locEventRFBunch) |
void | Add_TimeToTrackingMatrix (DChargedTrackHypothesis *locChargedTrackHypothesis, TMatrixFSym *locCovarianceMatrix, double locFlightTimeVariance, double locHitTimeVariance, double locFlightTimePCorrelation) const |
void | Recycle_Hypotheses (vector< const DChargedTrackHypothesis * > &locHypos) |
void | Recycle_Hypotheses (vector< DChargedTrackHypothesis * > &locHypos) |
void | Recycle_Hypothesis (const DChargedTrackHypothesis *locHypo) |
size_t | Get_NumObjectsAllThreads (void) const |
DChargedTrackHypothesis * | Get_Resource (void) |
Private Member Functions | |
jerror_t | init (void) |
Called once at program start. More... | |
jerror_t | brun (jana::JEventLoop *locEventLoop, int32_t runnumber) |
Called everytime a new run number is detected. More... | |
jerror_t | evnt (jana::JEventLoop *locEventLoop, uint64_t eventnumber) |
Called every event. More... | |
jerror_t | fini (void) |
Private Attributes | |
const DParticleID * | dPIDAlgorithm |
vector< DChargedTrackHypothesis * > | dCreated |
DResourcePool < DChargedTrackHypothesis > * | dResourcePool_ChargedTrackHypothesis = nullptr |
shared_ptr< DResourcePool < TMatrixFSym > > | dResourcePool_TMatrixFSym |
Definition at line 27 of file DChargedTrackHypothesis_factory.h.
void DChargedTrackHypothesis_factory::Add_TimeToTrackingMatrix | ( | DChargedTrackHypothesis * | locChargedTrackHypothesis, |
TMatrixFSym * | locCovarianceMatrix, | ||
double | locFlightTimeVariance, | ||
double | locHitTimeVariance, | ||
double | locFlightTimePCorrelation | ||
) | const |
Definition at line 188 of file DChargedTrackHypothesis_factory.cc.
References DKinematicData::momentum(), sin(), and sqrt().
|
private |
Called everytime a new run number is detected.
Definition at line 44 of file DChargedTrackHypothesis_factory.cc.
References dPIDAlgorithm.
DChargedTrackHypothesis * DChargedTrackHypothesis_factory::Create_ChargedTrackHypothesis | ( | JEventLoop * | locEventLoop, |
const DTrackTimeBased * | locTrackTimeBased, | ||
const DDetectorMatches * | locDetectorMatches, | ||
const DEventRFBunch * | locEventRFBunch | ||
) |
Definition at line 96 of file DChargedTrackHypothesis_factory.cc.
References DParticleID::Calc_ChargedPIDFOM(), DParticleID::Calc_PropagatedRFTime(), dPIDAlgorithm, dResourcePool_TMatrixFSym, DEventRFBunch::dTimeSource, DEventRFBunch::dTimeVariance, DKinematicData::errorMatrix(), DChargedTrackHypothesis::Get_BCALShowerMatchParams(), DParticleID::Get_BestBCALMatchParams(), DParticleID::Get_BestFCALMatchParams(), DParticleID::Get_BestSCMatchParams(), DParticleID::Get_BestTOFMatchParams(), DParticleID::Get_DIRCMatchParams(), DChargedTrackHypothesis::Get_FCALShowerMatchParams(), Get_Resource(), DChargedTrackHypothesis::Get_TOFHitMatchParams(), DFCALShower::getTime(), DChargedTrackHypothesis::Set_BCALShowerMatchParams(), DChargedTrackHypothesis::Set_DIRCMatchParams(), DChargedTrackHypothesis::Set_FCALShowerMatchParams(), DChargedTrackHypothesis::Set_SCHitMatchParams(), DChargedTrackHypothesis::Set_T0(), DChargedTrackHypothesis::Set_TimeAtPOCAToVertex(), DChargedTrackHypothesis::Set_TOFHitMatchParams(), DChargedTrackHypothesis::Set_TrackTimeBased(), DKinematicData::setErrorMatrix(), DKinematicData::setTime(), DKinematicData::Share_FromInput_Kinematics(), SYS_BCAL, SYS_FCAL, SYS_NULL, SYS_START, SYS_TOF, DBCALShower::t, DChargedTrackHypothesis::t1_detector(), and DKinematicData::time().
Referenced by DChargedTrack_factory_Combo::evnt(), and evnt().
|
private |
Called every event.
Definition at line 53 of file DChargedTrackHypothesis_factory.cc.
References DTrackTimeBased::candidateid, Create_ChargedTrackHypothesis(), DChargedTrackHypothesis_SortByEnergy(), dCreated, dResourcePool_ChargedTrackHypothesis, DChargedTrackHypothesis::Get_TrackTimeBased(), and DResourcePool< DType >::Recycle().
|
inlineprivate |
Definition at line 57 of file DChargedTrackHypothesis_factory.h.
|
inline |
Definition at line 37 of file DChargedTrackHypothesis_factory.h.
Referenced by DAnalysis::DParticleComboCreator::Reset().
|
inline |
Definition at line 38 of file DChargedTrackHypothesis_factory.h.
Referenced by DAnalysis::DParticleComboCreator::Create_ChargedHypo(), DAnalysis::DParticleComboCreator::Create_ChargedHypo_KinFit(), and Create_ChargedTrackHypothesis().
|
private |
Called once at program start.
Definition at line 30 of file DChargedTrackHypothesis_factory.cc.
References dResourcePool_ChargedTrackHypothesis, dResourcePool_TMatrixFSym, and DResourcePool< DType >::Set_ControlParams().
|
inline |
Definition at line 33 of file DChargedTrackHypothesis_factory.h.
Referenced by DChargedTrack_factory_Combo::evnt(), and DAnalysis::DParticleComboCreator::Reset().
|
inline |
Definition at line 34 of file DChargedTrackHypothesis_factory.h.
|
inline |
Definition at line 35 of file DChargedTrackHypothesis_factory.h.
|
private |
Definition at line 50 of file DChargedTrackHypothesis_factory.h.
Referenced by evnt().
|
private |
Definition at line 45 of file DChargedTrackHypothesis_factory.h.
Referenced by brun(), and Create_ChargedTrackHypothesis().
|
private |
Definition at line 51 of file DChargedTrackHypothesis_factory.h.
|
private |
Definition at line 52 of file DChargedTrackHypothesis_factory.h.
Referenced by Create_ChargedTrackHypothesis(), and init().