// $Id$ // // File: DReaction_factory_track_skimmer.h // Created: Tue Jan 13 11:08:16 EST 2015 // Creator: Paul (on Darwin Pauls-MacBook-Pro.local 14.0.0 i386) // #ifndef _DReaction_factory_track_skimmer_ #define _DReaction_factory_track_skimmer_ #include #include #include #include #include #include using namespace std; using namespace jana; class DReaction_factory_track_skimmer : public jana::JFactory { public: DReaction_factory_track_skimmer() { // 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 "track_skimmer";} 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_track_skimmer_