Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DBeamPhoton_factory_MCGEN.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DBeamPhoton_factory_MCGEN.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_MCGEN_
9 #define _DBeamPhoton_factory_MCGEN_
10 
11 #include <JANA/JFactory.h>
12 #include <PID/DBeamPhoton.h>
13 #include <PID/DMCReaction.h>
14 #include "DANA/DStatusBits.h"
15 #include "TAGGER/DTAGHHit.h"
16 #include "TAGGER/DTAGMHit.h"
17 
18 class DBeamPhoton_factory_MCGEN:public jana::JFactory<DBeamPhoton>{
19  public:
20  const char* Tag(void){return "MCGEN";}
21 
22  private:
23  jerror_t brun(jana::JEventLoop *locEventLoop, int32_t runnumber);
24  jerror_t evnt(jana::JEventLoop *locEventLoop, uint64_t eventnumber); ///< Called every event.
25  jerror_t fini(void); ///< Called after last event of last event source has been processed.
26 };
27 
28 #endif // _DBeamPhoton_factory_MCGEN_
29 
jerror_t brun(jana::JEventLoop *locEventLoop, int32_t runnumber)
jerror_t fini(void)
Called after last event of last event source has been processed.
jerror_t evnt(jana::JEventLoop *locEventLoop, uint64_t eventnumber)
Called every event.