// $Id$ // // File: JEventProcessor_diphoton.h // Created: Sun Nov 23 11:01:46 EST 2014 // Creator: hdcdcops (on Linux gluon47.jlab.org 2.6.32-358.23.2.el6.x86_64 x86_64) // #ifndef _JEventProcessor_diphoton_ #define _JEventProcessor_diphoton_ #include #include #include #include #include "TH2I.h" #include "TH1I.h" #include "TDirectory.h" class JEventProcessor_diphoton:public jana::JEventProcessor{ public: JEventProcessor_diphoton(); ~JEventProcessor_diphoton(); const char* className(void){return "JEventProcessor_diphoton";} private: jerror_t init(void); ///< Called once at program start. jerror_t brun(jana::JEventLoop *eventLoop, int runnumber); ///< Called everytime a new run number is detected. jerror_t evnt(jana::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. TH2I *hInvMass; TH2I *hInvMassVsNNeutral; }; #endif // _JEventProcessor_diphoton_