Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DChargedTrackHypothesis_factory Class Reference

#include <DChargedTrackHypothesis_factory.h>

+ Inheritance diagram for DChargedTrackHypothesis_factory:

Public Member Functions

DChargedTrackHypothesisCreate_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
 
DChargedTrackHypothesisGet_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 DParticleIDdPIDAlgorithm
 
vector< DChargedTrackHypothesis * > dCreated
 
DResourcePool
< DChargedTrackHypothesis > * 
dResourcePool_ChargedTrackHypothesis = nullptr
 
shared_ptr< DResourcePool
< TMatrixFSym > > 
dResourcePool_TMatrixFSym
 

Detailed Description

Definition at line 27 of file DChargedTrackHypothesis_factory.h.

Member Function Documentation

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().

jerror_t DChargedTrackHypothesis_factory::brun ( jana::JEventLoop *  locEventLoop,
int32_t  runnumber 
)
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 
)
jerror_t DChargedTrackHypothesis_factory::evnt ( jana::JEventLoop *  locEventLoop,
uint64_t  eventnumber 
)
private
jerror_t DChargedTrackHypothesis_factory::fini ( void  )
inlineprivate

Definition at line 57 of file DChargedTrackHypothesis_factory.h.

size_t DChargedTrackHypothesis_factory::Get_NumObjectsAllThreads ( void  ) const
inline
jerror_t DChargedTrackHypothesis_factory::init ( void  )
private
void DChargedTrackHypothesis_factory::Recycle_Hypotheses ( vector< const DChargedTrackHypothesis * > &  locHypos)
inline
void DChargedTrackHypothesis_factory::Recycle_Hypotheses ( vector< DChargedTrackHypothesis * > &  locHypos)
inline

Definition at line 34 of file DChargedTrackHypothesis_factory.h.

void DChargedTrackHypothesis_factory::Recycle_Hypothesis ( const DChargedTrackHypothesis locHypo)
inline

Definition at line 35 of file DChargedTrackHypothesis_factory.h.

Member Data Documentation

vector<DChargedTrackHypothesis*> DChargedTrackHypothesis_factory::dCreated
private

Definition at line 50 of file DChargedTrackHypothesis_factory.h.

Referenced by evnt().

const DParticleID* DChargedTrackHypothesis_factory::dPIDAlgorithm
private

Definition at line 45 of file DChargedTrackHypothesis_factory.h.

Referenced by brun(), and Create_ChargedTrackHypothesis().

DResourcePool<DChargedTrackHypothesis>* DChargedTrackHypothesis_factory::dResourcePool_ChargedTrackHypothesis = nullptr
private

Definition at line 51 of file DChargedTrackHypothesis_factory.h.

Referenced by evnt(), and init().

shared_ptr<DResourcePool<TMatrixFSym> > DChargedTrackHypothesis_factory::dResourcePool_TMatrixFSym
private

Definition at line 52 of file DChargedTrackHypothesis_factory.h.

Referenced by Create_ChargedTrackHypothesis(), and init().


The documentation for this class was generated from the following files: