Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DBeamPhoton_factory_TRUTH.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DBeamPhoton_factory_TRUTH.h
4 // Created: Mon Aug 5 14:29:24 EST 2014
5 // Creator: pmatt (on Linux ifarml6 2.6.18-128.el5 x86_64)
6 //
7 
8 #ifndef _DBeamPhoton_factory_TRUTH_
9 #define _DBeamPhoton_factory_TRUTH_
10 
11 #include <JANA/JFactory.h>
12 #include <PID/DBeamPhoton.h>
13 #include <TAGGER/DTAGMHit.h>
14 #include <TAGGER/DTAGHHit.h>
15 #include <DANA/DApplication.h>
16 
17 class DBeamPhoton_factory_TRUTH:public jana::JFactory<DBeamPhoton>{
18  public:
21  const char* Tag(void){return "TRUTH";}
22 
23  private:
24  jerror_t init(void); ///< Called once at program start.
25  jerror_t brun(jana::JEventLoop *locEventLoop, int32_t runnumber); ///< Called everytime a new run number is detected.
26  jerror_t evnt(jana::JEventLoop *locEventLoop, uint64_t eventnumber); ///< Called every event.
27  jerror_t erun(void); ///< Called everytime run number changes, provided brun has been called.
28  jerror_t fini(void); ///< Called after last event of last event source has been processed.
29 
31 };
32 
33 #endif // _DBeamPhoton_factory_TRUTH_
34 
jerror_t erun(void)
Called everytime run number changes, provided brun has been called.
jerror_t init(void)
Called once at program start.
jerror_t brun(jana::JEventLoop *locEventLoop, int32_t runnumber)
Called everytime a new run number is detected.
jerror_t evnt(jana::JEventLoop *locEventLoop, uint64_t eventnumber)
Called every event.
jerror_t fini(void)
Called after last event of last event source has been processed.