// $Id$ // // File: DEventProcessor_SkimStudies.h // Created: Thu May 1 18:22:22 EDT 2014 // Creator: pmatt (on Darwin pmattLaptop 10.8.0 i386) // #ifndef _DEventProcessor_SkimStudies_ #define _DEventProcessor_SkimStudies_ #include #include #include "TH1D.h" #include #include #include #include #include #include "DCustomAction_HistTotalPVsBeamE.h" #include "DCustomAction_ParticleStudies.h" #include "DCustomAction_DetectorStudies.h" using namespace jana; using namespace std; class DEventProcessor_SkimStudies : public jana::JEventProcessor { public: const char* className(void){return "DEventProcessor_SkimStudies";} 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. DCustomAction_HistTotalPVsBeamE dCustomAction_HistTotalPVsBeamE; DCustomAction_ParticleStudies dCustomAction_ParticleStudies; DCustomAction_DetectorStudies dCustomAction_DetectorStudies; map dNumEventsByThrownTopology; map dNumEventsByThrownTopology_Brief; }; #endif // _DEventProcessor_SkimStudies_