// $Id$ // // File: DReaction_factory_n3pi.h // Created: Tue Jul 2 17:53:19 EDT 2013 // Creator: mattione (on Linux wilson 2.6.18-348.6.1.el5 x86_64) // #ifndef _DReaction_factory_n3pi_ #define _DReaction_factory_n3pi_ #include #include #include #include #include #include using namespace std; using namespace jana; class DReaction_factory_n3pi : public jana::JFactory { public: DReaction_factory_n3pi() { // 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 "n3pi";} 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_n3pi_