// $Id$ // // File: DEventProcessor_cascade.h // Created: Thu Feb 11 13:28:38 EST 2016 // Creator: pmatt (on Linux pmattdesktop.jlab.org 2.6.32-573.12.1.el6.x86_64 x86_64) // #ifndef _DEventProcessor_cascade_ #define _DEventProcessor_cascade_ #include #include #include #include #include #include "DFactoryGenerator_cascade.h" using namespace jana; using namespace std; class DEventProcessor_cascade : public jana::JEventProcessor { public: const char* className(void){return "DEventProcessor_cascade";} private: jerror_t init(void); ///< Called once at program start. jerror_t brun(jana::JEventLoop* locEventLoop, int32_t locRunNumber); ///< Called every time a new run number is detected. jerror_t evnt(jana::JEventLoop* locEventLoop, uint64_t 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. //For non-custom reaction-independent histograms, it is recommended that you simultaneously run the monitoring_hists plugin instead of defining them here }; #endif // _DEventProcessor_cascade_