Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DEventProcessor_dirc_reactions.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DEventProcessor_dirc_reactions.h
4 //
5 
6 #ifndef _DEventProcessor_dirc_reactions_
7 #define _DEventProcessor_dirc_reactions_
8 
9 #include <JANA/JEventProcessor.h>
10 #include <JANA/JApplication.h>
11 
13 #include <HDDM/DEventWriterREST.h>
15 
17 
18 using namespace jana;
19 using namespace std;
20 
21 class DEventProcessor_dirc_reactions : public jana::JEventProcessor
22 {
23  public:
24  const char* className(void){return "DEventProcessor_dirc_reactions";}
25 
26  private:
27  jerror_t init(void); ///< Called once at program start.
28  jerror_t brun(jana::JEventLoop* locEventLoop, int locRunNumber); ///< Called every time a new run number is detected.
29  jerror_t evnt(jana::JEventLoop* locEventLoop, uint64_t locEventNumber); ///< Called every event.
30  jerror_t erun(void); ///< Called every time run number changes, provided brun has been called.
31  jerror_t fini(void); ///< Called after last event of last event source has been processed.
32 
33  //For non-custom reaction-independent histograms, it is recommended that you simultaneously run the monitoring_hists plugin instead of defining them here
34 };
35 
36 #endif // _DEventProcessor_dirc_reactions_
37