// $Id$ // // File: DEventProcessor_n3pi_skim.h // Created: Tue Apr 15 21:00:39 EDT 2014 // Creator: pmatt (on Darwin pmattLaptop 10.8.0 i386) // #ifndef _DEventProcessor_n3pi_skim_ #define _DEventProcessor_n3pi_skim_ #include #include #include #include #include #include "DFactoryGenerator_n3pi_skim.h" using namespace jana; using namespace std; class DEventProcessor_n3pi_skim : public jana::JEventProcessor { public: const char* className(void){return "DEventProcessor_n3pi_skim";} private: jerror_t init(void); ///< Called once at program start. jerror_t brun(jana::JEventLoop* locEventLoop, int locRunNumber); ///< Called every time a new run number is detected. jerror_t evnt(jana::JEventLoop* locEventLoop, int locEventNumber); ///< Called every event. jerror_t erun(void); ///< Called every time run number changes, provided brun has been called. jerror_t fini(void); ///< Called after last event of last event source has been processed. ofstream dIDXAStream; }; #endif // _DEventProcessor_n3pi_skim_