// $Id$ // // File: JEventProcessor_ebode_fcal.h // Created: Fri 7 Jul 11:49:30 EDT 2017 // Creator: ebode (on Linux ifarm1402.jlab.org 3.10.0-327.el7.x86_64 x86_64) // #ifndef _JEventProcessor_ebode_fcal_ #define _JEventProcessor_ebode_fcal_ #include #include #include #include #include "pion_track.h" #include class JEventProcessor_ebode_fcal:public jana::JEventProcessor{ public: JEventProcessor_ebode_fcal(); ~JEventProcessor_ebode_fcal(); const char* className(void){return "JEventProcessor_ebode_fcal";} TH1D *hfcalShowerE; TH2D *hfcalShowerP; TH1D *hfcalShowerT; TTree *tPionTrack; pion_track pi_trk; double zFCAL_front; double zFCAL_back; 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. }; #endif // _JEventProcessor_ebode_fcal_