Hall-D Software
alpha
|
#include <DBeamPhoton_factory.h>
Public Member Functions | |
DBeamPhoton_factory (void) | |
void | Recycle_Resources (vector< const DBeamPhoton * > &locBeams) |
void | Recycle_Resources (vector< DBeamPhoton * > &locBeams) |
void | Recycle_Resource (const DBeamPhoton *locBeam) |
size_t | Get_NumObjectsAllThreads (void) const |
DBeamPhoton * | Get_Resource (void) |
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... | |
Private Member Functions | |
jerror_t | evnt (jana::JEventLoop *locEventLoop, uint64_t locEventNumber) |
Called every event. More... | |
jerror_t | fini (void) |
void | Set_BeamPhoton (DBeamPhoton *gamma, const DTAGHHit *hit, uint64_t locEventNumber) |
void | Set_BeamPhoton (DBeamPhoton *gamma, const DTAGMHit *hit, uint64_t locEventNumber) |
Private Attributes | |
double | dTargetCenterZ |
vector< DBeamPhoton * > | dCreated |
DResourcePool< DBeamPhoton > * | dResourcePool_BeamPhotons = nullptr |
shared_ptr< DResourcePool < TMatrixFSym > > | dResourcePool_TMatrixFSym |
double | DELTA_T_DOUBLES_MAX |
double | DELTA_E_DOUBLES_MAX |
Definition at line 18 of file DBeamPhoton_factory.h.
|
inline |
Definition at line 21 of file DBeamPhoton_factory.h.
References dResourcePool_BeamPhotons, dResourcePool_TMatrixFSym, and DResourcePool< DType >::Set_ControlParams().
jerror_t DBeamPhoton_factory::brun | ( | jana::JEventLoop * | locEventLoop, |
int32_t | runnumber | ||
) |
Called everytime a new run number is detected.
Definition at line 53 of file DBeamPhoton_factory.cc.
References dapp, DApplication::GetDGeometry(), and DGeometry::GetTargetZ().
|
private |
Called every event.
Definition at line 66 of file DBeamPhoton_factory.cc.
References DBeamPhoton_SortByTime(), and DKinematicData::Reset().
|
inlineprivate |
Definition at line 47 of file DBeamPhoton_factory.h.
References dResourcePool_BeamPhotons, and Recycle_Resource().
|
inline |
Definition at line 34 of file DBeamPhoton_factory.h.
References dResourcePool_BeamPhotons, and DResourcePool< DType >::Get_NumObjectsAllThreads().
Referenced by DAnalysis::DParticleComboCreator::Reset().
|
inline |
Definition at line 35 of file DBeamPhoton_factory.h.
References dResourcePool_BeamPhotons, DResourcePool< DType >::Get_Resource(), and DKinematicData::Reset().
Referenced by DAnalysis::DParticleComboCreator::Create_BeamPhoton_KinFit().
jerror_t DBeamPhoton_factory::init | ( | void | ) |
Called once at program start.
Definition at line 34 of file DBeamPhoton_factory.cc.
|
inline |
Definition at line 32 of file DBeamPhoton_factory.h.
References dResourcePool_BeamPhotons, and DResourcePool< DType >::Recycle().
Referenced by fini().
|
inline |
Definition at line 30 of file DBeamPhoton_factory.h.
References dResourcePool_BeamPhotons, and DResourcePool< DType >::Recycle().
Referenced by DAnalysis::DParticleComboCreator::Reset().
|
inline |
Definition at line 31 of file DBeamPhoton_factory.h.
References dResourcePool_BeamPhotons, and DResourcePool< DType >::Recycle().
|
private |
Definition at line 137 of file DBeamPhoton_factory.cc.
References DTAGHHit::counter_id, DBeamPhoton::dCounter, DBeamPhoton::dSystem, DTAGHHit::E, Gamma, DKinematicData::setErrorMatrix(), DKinematicData::setMomentum(), DKinematicData::setPID(), DKinematicData::setPosition(), DKinematicData::setTime(), SYS_TAGH, and DTAGHHit::t.
|
private |
Definition at line 119 of file DBeamPhoton_factory.cc.
References DTAGMHit::column, DBeamPhoton::dCounter, DBeamPhoton::dSystem, DTAGMHit::E, Gamma, DKinematicData::setErrorMatrix(), DKinematicData::setMomentum(), DKinematicData::setPID(), DKinematicData::setPosition(), DKinematicData::setTime(), SYS_TAGM, and DTAGMHit::t.
|
private |
Definition at line 59 of file DBeamPhoton_factory.h.
|
private |
Definition at line 65 of file DBeamPhoton_factory.h.
|
private |
Definition at line 64 of file DBeamPhoton_factory.h.
|
private |
Definition at line 60 of file DBeamPhoton_factory.h.
Referenced by DBeamPhoton_factory(), fini(), Get_NumObjectsAllThreads(), Get_Resource(), Recycle_Resource(), and Recycle_Resources().
|
private |
Definition at line 61 of file DBeamPhoton_factory.h.
Referenced by DBeamPhoton_factory().
|
private |
Definition at line 56 of file DBeamPhoton_factory.h.