// $Id$ // // File: DReaction_factory_Dstar.h // Created: Thu Jun 8 10:30:22 EDT 2017 // Creator: aaustreg (on Linux halld01.jlab.org 3.10.0-514.21.1.el7.x86_64 x86_64) // #ifndef _DReaction_factory_Dstar_ #define _DReaction_factory_Dstar_ #include #include #include #include #include #include using namespace std; using namespace jana; class DReaction_factory_Dstar : public jana::JFactory { public: DReaction_factory_Dstar() { // This is so that the created DReaction objects persist throughout the life of the program instead of being cleared each event. SetFactoryFlag(PERSISTANT); } const char* Tag(void){return "Dstar";} private: jerror_t brun(JEventLoop* locEventLoop, int32_t locRunNumber); jerror_t evnt(JEventLoop* locEventLoop, uint64_t locEventNumber); jerror_t fini(void); ///< Called after last event of last event source has been processed. double dBeamBunchPeriod; deque dReactionStepPool; //to prevent memory leaks }; #endif // _DReaction_factory_Dstar_