// $Id$ // // File: DReaction_factory_kinfit_test.h // Created: Tue Jan 19 19:49:33 EST 2016 // Creator: pmatt (on Linux pmattdesktop.jlab.org 2.6.32-573.7.1.el6.x86_64 x86_64) // #ifndef _DReaction_factory_kinfit_test_ #define _DReaction_factory_kinfit_test_ #include #include #include #include #include #include using namespace std; using namespace jana; class DReaction_factory_kinfit_test : public jana::JFactory { public: DReaction_factory_kinfit_test() { // 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 "kinfit_test";} 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_kinfit_test_