// $Id$ // // File: DReaction_factory_KsHunt.h // Created: Wed Jan 21 16:28:09 EST 2015 // Creator: jrsteven (on Linux ifarm1401 2.6.32-431.el6.x86_64 x86_64) // #ifndef _DReaction_factory_KsHunt_ #define _DReaction_factory_KsHunt_ #include #include #include #include #include #include #include "DCustomAction_KsHunt_hists.h" #include "DCustomAction_taggerCoincidence.h" using namespace std; using namespace jana; class DReaction_factory_KsHunt : public jana::JFactory { public: DReaction_factory_KsHunt() { // 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 "KsHunt";} 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_KsHunt_