// $Id$ // // File: DEventProcessor_omega2pi.h // Created: Tue May 20 13:06:00 EDT 2014 // Creator: mstaib (on Linux max.phys.cmu.edu 2.6.18-371.3.1.el5 x86_64) // #ifndef _DEventProcessor_omega2pi_ #define _DEventProcessor_omega2pi_ #include #include #include #include #include #include "DFactoryGenerator_omega2pi.h" using namespace jana; using namespace std; class DEventProcessor_omega2pi : public jana::JEventProcessor { public: const char* className(void){return "DEventProcessor_omega2pi";} private: jerror_t init(void); ///< Called once at program start. jerror_t brun(jana::JEventLoop* locEventLoop, int locRunNumber); ///< Called every time a new run number is detected. jerror_t evnt(jana::JEventLoop* locEventLoop, int 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. /* //Recommended: Manually executed analysis actions that histogram useful reaction-independent quantities //Warning: If running JANA with multiple plugins, these actions should only be executed in ONE of the plugins. //Else you will double/triple/etc.-fill your histograms!! DHistogramAction_TrackMultiplicity dHistogramAction_TrackMultiplicity; DHistogramAction_ThrownParticleKinematics dHistogramAction_ThrownParticleKinematics; DHistogramAction_DetectedParticleKinematics dHistogramAction_DetectedParticleKinematics; DHistogramAction_GenReconTrackComparison dHistogramAction_GenReconTrackComparison; */ TH1I *hNumCorrectTopology; }; #endif // _DEventProcessor_omega2pi_