// $Id$ // // File: JEventProcessor_single_eta_resolution.h // Created: Fri Jul 14 16:58:12 EDT 2017 // Creator: dalton (on Linux gluon106.jlab.org 2.6.32-642.3.1.el6.x86_64 x86_64) // #ifndef _JEventProcessor_single_eta_resolution_ #define _JEventProcessor_single_eta_resolution_ #include #include class JEventProcessor_single_eta_resolution:public jana::JEventProcessor{ public: JEventProcessor_single_eta_resolution(); ~JEventProcessor_single_eta_resolution(); const char* className(void){return "JEventProcessor_single_eta_resolution";} private: jerror_t init(void); ///< Called once at program start. jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber); ///< Called everytime a new run number is detected. jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t 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. TRandom3 *gRandom; }; #endif // _JEventProcessor_single_eta_resolution_