// $Id$ // // File: DReaction_factory_pk0kppim.h // Created: Mon Nov 21 06:53:51 EST 2016 // Creator: jrsteven (on Linux ifarm1401 2.6.32-431.el6.x86_64 x86_64) // #ifndef _DReaction_factory_pk0kppim_ #define _DReaction_factory_pk0kppim_ #include #include #include #include #include #include #include "DCustomAction_dEdxCut.h" using namespace std; using namespace jana; class DReaction_factory_pk0kppim : public jana::JFactory { public: DReaction_factory_pk0kppim() { // 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 "pk0kppim";} 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_pk0kppim_