Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DEventProcessor_run_summary.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DEventProcessor_run_summary.h
4 // Created: Tue Nov 18 15:44:17 EST 2014
5 // Creator: sdobbs (on Linux ifarm1102 2.6.32-220.7.1.el6.x86_64 x86_64)
6 //
7 
8 #ifndef _DEventProcessor_run_summary_
9 #define _DEventProcessor_run_summary_
10 
11 #include <JANA/JEventProcessor.h>
12 #include <JANA/JApplication.h>
13 
15 #include <HDDM/DEventWriterREST.h>
17 
18 #include <TTree.h>
19 
20 #include "DEPICSstore.h"
21 
22 ///#include "DFactoryGenerator_run_summary.h"
23 
24 using namespace jana;
25 using namespace std;
26 
27 class DEventProcessor_run_summary : public jana::JEventProcessor
28 {
29  public:
30  const char* className(void){return "DEventProcessor_run_summary";}
31 
32  private:
33  jerror_t init(void); ///< Called once at program start.
34  jerror_t brun(jana::JEventLoop* locEventLoop, int locRunNumber); ///< Called every time a new run number is detected.
35  jerror_t evnt(jana::JEventLoop* locEventLoop, uint64_t locEventNumber); ///< Called every event.
36  jerror_t erun(void); ///< Called every time run number changes, provided brun has been called.
37  jerror_t fini(void); ///< Called after last event of last event source has been processed.
38 
42 };
43 
44 #endif // _DEventProcessor_run_summary_
45