Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DVertex_factory_THROWN.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DVertex_factory_THROWN.h
4 // Created: Tue Apr 6 17:01:54 EDT 2010
5 // Creator: pmatt (on Darwin Amelia.local 9.8.0 i386)
6 //
7 
8 #ifndef _DVertex_factory_THROWN_
9 #define _DVertex_factory_THROWN_
10 
11 #include <JANA/JFactory.h>
12 #include <DVertex.h>
13 #include <TRACKING/DMCThrown.h>
14 
15 class DVertex_factory_THROWN : public jana::JFactory<DVertex>{
16  public:
17  const char* Tag(void){return "THROWN";}
18 
19  private:
20  jerror_t init(void); ///< Called once at program start.
21  jerror_t brun(jana::JEventLoop *locEventLoop, int32_t runnumber); ///< Called everytime a new run number is detected.
22  jerror_t evnt(jana::JEventLoop *locEventLoop, uint64_t eventnumber); ///< Called every event.
23  jerror_t erun(void); ///< Called everytime run number changes, provided brun has been called.
24  jerror_t fini(void); ///< Called after last event of last event source has been processed.
25 };
26 
27 #endif // _DVertex_factory_THROWN_
28 
jerror_t brun(jana::JEventLoop *locEventLoop, int32_t runnumber)
Called everytime a new run number is detected.
jerror_t erun(void)
Called everytime run number changes, provided brun has been called.
jerror_t fini(void)
Called after last event of last event source has been processed.
jerror_t init(void)
Called once at program start.
jerror_t evnt(jana::JEventLoop *locEventLoop, uint64_t eventnumber)
Called every event.