// $Id$ // // File: DReaction_factory_omega2pi.h // Created: Tue May 20 13:06:00 EDT 2014 // Creator: mstaib (on Linux max.phys.cmu.edu 2.6.18-371.3.1.el5 x86_64) // #ifndef _DReaction_factory_omega2pi_ #define _DReaction_factory_omega2pi_ #include #include #include #include #include #include #include "DCustomAction_BackgroundSelector.h" #include "DCustomAction_MCSelector5pi.h" #include "DCustomAction_MCSelector4pi.h" #include "DCustomAction_MCSelector3pip.h" #include "DCustomAction_MCSelector3pin.h" using namespace std; using namespace jana; class DReaction_factory_omega2pi : public jana::JFactory { public: DReaction_factory_omega2pi() { // 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 "omega2pi";} 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. bool MAKE_BACKGROUND, MISSING_PROTON, MISSING_PI0, CUTS_BASED, ROOT_OUTPUT; deque dReactionStepPool; //to prevent memory leaks }; #endif // _DReaction_factory_omega2pi_