// $Id$ // // File: DMiniFCALHit_factory.h // Created: Thu Dec 1 13:49:07 EST 2011 // Creator: davidl (on Linux ifarm1102 2.6.18-128.7.1.el5 x86_64) // #ifndef _DMiniFCALHit_factory_ #define _DMiniFCALHit_factory_ #include #include "DMiniFCALHit.h" class DMiniFCALHit_factory:public jana::JFactory{ public: DMiniFCALHit_factory(){}; ~DMiniFCALHit_factory(){}; private: jerror_t init(void); ///< Called once at program start. jerror_t brun(jana::JEventLoop *eventLoop, int runnumber); ///< Called everytime a new run number is detected. jerror_t evnt(jana::JEventLoop *eventLoop, int eventnumber); ///< Called every event. jerror_t erun(void); ///< Called everytime run number changes, provided brun has been called. jerror_t fini(void); ///< Called after last event of last event source has been processed. }; #endif // _DMiniFCALHit_factory_