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

#include <DReaction_factory_Thrown.h>

+ Inheritance diagram for DReaction_factory_Thrown:

Public Member Functions

 DReaction_factory_Thrown ()
 
 ~DReaction_factory_Thrown ()
 
const char * Tag (void)
 
DReactionBuild_ThrownReaction (JEventLoop *locEventLoop, deque< pair< const DMCThrown *, deque< const DMCThrown * > > > &locThrownSteps)
 
void Recycle_Reaction (DReaction *locReaction)
 

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 erun (void)
 Called everytime run number changes, provided brun has been called. More...
 
jerror_t fini (void)
 Called after last event of last event source has been processed. More...
 
DReactionStepGet_ReactionStepResource (void)
 

Private Attributes

const DAnalysisUtilitiesdAnalysisUtilities = nullptr
 
deque< DReactionStep * > dReactionStepPool_All
 
deque< DReactionStep * > dReactionStepPool_Available
 
size_t MAX_dReactionStepPoolSize = 10
 

Detailed Description

Definition at line 21 of file DReaction_factory_Thrown.h.

Constructor & Destructor Documentation

DReaction_factory_Thrown::DReaction_factory_Thrown ( )
inline

Definition at line 24 of file DReaction_factory_Thrown.h.

DReaction_factory_Thrown::~DReaction_factory_Thrown ( )
inline

Definition at line 25 of file DReaction_factory_Thrown.h.

Member Function Documentation

jerror_t DReaction_factory_Thrown::brun ( jana::JEventLoop *  locEventLoop,
int32_t  runnumber 
)
private

Called everytime a new run number is detected.

Definition at line 27 of file DReaction_factory_Thrown.cc.

References dAnalysisUtilities.

DReaction * DReaction_factory_Thrown::Build_ThrownReaction ( JEventLoop *  locEventLoop,
deque< pair< const DMCThrown *, deque< const DMCThrown * > > > &  locThrownSteps 
)
jerror_t DReaction_factory_Thrown::erun ( void  )
private

Called everytime run number changes, provided brun has been called.

Definition at line 127 of file DReaction_factory_Thrown.cc.

jerror_t DReaction_factory_Thrown::evnt ( jana::JEventLoop *  locEventLoop,
uint64_t  eventnumber 
)
private
jerror_t DReaction_factory_Thrown::fini ( void  )
private

Called after last event of last event source has been processed.

Definition at line 135 of file DReaction_factory_Thrown.cc.

References dReactionStepPool_All.

DReactionStep * DReaction_factory_Thrown::Get_ReactionStepResource ( void  )
private
jerror_t DReaction_factory_Thrown::init ( void  )
private

Called once at program start.

Definition at line 17 of file DReaction_factory_Thrown.cc.

References MAX_dReactionStepPoolSize.

void DReaction_factory_Thrown::Recycle_Reaction ( DReaction locReaction)
const char* DReaction_factory_Thrown::Tag ( void  )
inline

Definition at line 26 of file DReaction_factory_Thrown.h.

Member Data Documentation

const DAnalysisUtilities* DReaction_factory_Thrown::dAnalysisUtilities = nullptr
private

Definition at line 39 of file DReaction_factory_Thrown.h.

Referenced by brun(), and evnt().

deque<DReactionStep*> DReaction_factory_Thrown::dReactionStepPool_All
private

Definition at line 43 of file DReaction_factory_Thrown.h.

Referenced by evnt(), fini(), and Get_ReactionStepResource().

deque<DReactionStep*> DReaction_factory_Thrown::dReactionStepPool_Available
private

Definition at line 44 of file DReaction_factory_Thrown.h.

Referenced by evnt(), Get_ReactionStepResource(), and Recycle_Reaction().

size_t DReaction_factory_Thrown::MAX_dReactionStepPoolSize = 10
private

Definition at line 46 of file DReaction_factory_Thrown.h.

Referenced by evnt(), and init().


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