// $Id$ // // File: JEventProcessor_pip_pim.h // Created: Wed Jul 27 08:51:36 EDT 2011 // Creator: davidl (on Linux ifarm1102 2.6.18-128.7.1.el5 x86_64) // #ifndef _JEventProcessor_pip_pim_ #define _JEventProcessor_pip_pim_ #include #include class JEventProcessor_pip_pim:public jana::JEventProcessor{ public: JEventProcessor_pip_pim(); ~JEventProcessor_pip_pim(); const char* className(void){return "JEventProcessor_pip_pim";} TH1D *pip_mom, *pim_mom; TH1D *pip_theta, *pim_theta; TH1D *pip_phi, *pim_phi; TH1D *pip_pim_inv_mass; 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. }; #endif // _JEventProcessor_pip_pim_