// $Id$ // // File: DReaction_factory_klambda_scatt.h // Created: Tue Feb 9 21:03:06 EST 2016 // Creator: pmatt (on Darwin Pauls-MacBook-Pro-2.local 13.4.0 i386) // #ifndef _DReaction_factory_klambda_scatt_ #define _DReaction_factory_klambda_scatt_ #include #include #include #include #include #include #include #include using namespace std; using namespace jana; class DReaction_factory_klambda_scatt : public jana::JFactory { public: DReaction_factory_klambda_scatt() { // 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 "klambda_scatt";} private: jerror_t brun(JEventLoop* locEventLoop, int32_t locRunNumber); jerror_t evnt(JEventLoop* locEventLoop, uint64_t locEventNumber); jerror_t fini(void); ///< Called after last event of last event source has been processed. double dBeamBunchPeriod; deque dReactionStepPool; //to prevent memory leaks }; #endif // _DReaction_factory_klambda_scatt_