// $Id$ // // File: DCDCHit_factory.h // Created: Thu Jun 9 10:22:37 EDT 2005 // Creator: davidl (on Darwin wire129.jlab.org 7.8.0 powerpc) // #ifndef _DCDCHit_factory_ #define _DCDCHit_factory_ #include #include #include "DCDCHit.h" class DCDCHit_factory:public JFactory{ public: DCDCHit_factory(){}; ~DCDCHit_factory(){}; const string toString(void); protected: //jerror_t init(void); ///< Called once at program start. //jerror_t brun(JEventLoop *eventLoop, int runnumber); ///< Called everytime a new run number is detected. //jerror_t evnt(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 // _DCDCHit_factory_