// $Id$ // // File: DEventProcessor_pppmp0.h // Created: Tue Aug 6 10:51:29 EDT 2013 // Creator: yqiang (on Linux halldw1.jlab.org 2.6.32-358.11.1.el6.x86_64 x86_64) // #ifndef _DEventProcessor_pppmp0_ #define _DEventProcessor_pppmp0_ #include #include #include #include #include #include "DFactoryGenerator_pppmp0.h" using namespace jana; using namespace std; class DEventProcessor_pppmp0 : public jana::JEventProcessor { public: const char* className(void){return "DEventProcessor_pppmp0";} 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; }; #endif // _DEventProcessor_pppmp0_