// $Id$ // // File: DEventProcessor_npiPlus_singlePi.h // Created: Fri Jul 15 11:23:47 EDT 2016 // Creator: mpatsyuk (on Linux ifarm1102 2.6.32-431.el6.x86_64 x86_64) // #ifndef _DEventProcessor_npiPlus_singlePi_ #define _DEventProcessor_npiPlus_singlePi_ #include #include #include #include #include #include "DFactoryGenerator_npiPlus_singlePi.h" using namespace jana; using namespace std; class DEventProcessor_npiPlus_singlePi : public jana::JEventProcessor { public: const char* className(void){return "DEventProcessor_npiPlus_singlePi";} 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 //For making EventStore skims int Get_FileNumber(JEventLoop* locEventLoop) const; ofstream dEventStoreSkimStream; TH1I* dHist_nNeutrons; TH1I* dHist_nPartners; TH1F* dHist_nParentID; TH1F* dHist_nPions; TH1F* dHist_nExtraTracks; TH1F* dHist_momExtraTracks; TH1F* dHist_thetaExtraTracks; TH2F* dHist_mom_theta_ET; TH1D* dHist_IsEvent; TH1I* dHist_IsShower; TH2F* dHist_EShowerR; TH2F* dHist_EShowerR_FCAL; TH1I* dHist_NShowers; }; #endif // _DEventProcessor_npiPlus_singlePi_