Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DEventProcessor_DCdEdxStudy_tree.h
Go to the documentation of this file.
1 #ifndef _DEventProcessor_DCdEdxStudy_tree_
2 #define _DEventProcessor_DCdEdxStudy_tree_
3 
4 #include <JANA/JEventProcessor.h>
5 using namespace jana;
6 
7 #include <TFile.h>
8 #include <TTree.h>
9 #include <DVector3.h>
10 #include <particleType.h>
11 
12 #include <DANA/DApplication.h>
13 #include <TRACKING/DMCThrown.h>
15 #include <PID/DParticleID.h>
16 #include <DCdEdxInformation.h>
17 
18 class DEventProcessor_DCdEdxStudy_tree:public JEventProcessor{
19  public:
22  const char* className(void){return "DEventProcessor_DCdEdxStudy_tree";}
23 
24  private:
25  jerror_t init(void); ///< Called once at program start.
26  jerror_t brun(JEventLoop *eventLoop, int32_t runnumber); ///< Called everytime a new run number is detected.
27  jerror_t evnt(JEventLoop *eventLoop, uint64_t eventnumber); ///< Called every event.
28  jerror_t erun(void); ///< Called everytime run number changes, provided brun has been called.
29  jerror_t fini(void); ///< Called after last event of last event source has been processed.
30 
33 
34 };
35 
36 #endif // _DEventProcessor_DCdEdxStudy_tree_
37