// $Id$ // // File: DReaction_factory_pppmp0.h // Created: Tue Aug 6 10:51:29 EDT 2013 // Creator: yqiang (on Linux halldw1.jlab.org 2.6.32-358.11.1.el6.x86_64 x86_64) // #ifndef _DReaction_factory_pppmp0_ #define _DReaction_factory_pppmp0_ #include #include #include #include #include #include using namespace std; using namespace jana; class DReaction_factory_pppmp0 : public jana::JFactory { public: DReaction_factory_pppmp0() { // 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 "pppmp0";} private: jerror_t init(void); ///< Called once at program start. jerror_t fini(void); ///< Called after last event of last event source has been processed. deque dReactionStepPool; //to prevent memory leaks }; #endif // _DReaction_factory_pppmp0_