Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DCCALTruthShower_factory.cc
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DCCALTruthShower_factory.cc
4 // Created: Tue Nov 30 15:02:26 EST 2010
5 // Creator: davidl (on Linux ifarml6 2.6.18-128.el5 x86_64)
6 //
7 
8 
9 #include <iostream>
10 #include <iomanip>
11 using namespace std;
12 
14 using namespace jana;
15 
16 //------------------
17 // init
18 //------------------
20 {
21  return NOERROR;
22 }
23 
24 //------------------
25 // brun
26 //------------------
27 jerror_t DCCALTruthShower_factory::brun(jana::JEventLoop *eventLoop, int32_t runnumber)
28 {
29  return NOERROR;
30 }
31 
32 //------------------
33 // evnt
34 //------------------
35 jerror_t DCCALTruthShower_factory::evnt(JEventLoop *loop, uint64_t eventnumber)
36 {
37 
38  // Code to generate factory data goes here. Add it like:
39  //
40  // DCCALTruthShower *myDCCALTruthShower = new DCCALTruthShower;
41  // myDCCALTruthShower->x = x;
42  // myDCCALTruthShower->y = y;
43  // ...
44  // _data.push_back(myDCCALTruthShower);
45  //
46  // Note that the objects you create here will be deleted later
47  // by the system and the _data vector will be cleared automatically.
48 
49  return NOERROR;
50 }
51 
52 //------------------
53 // erun
54 //------------------
56 {
57  return NOERROR;
58 }
59 
60 //------------------
61 // fini
62 //------------------
64 {
65  return NOERROR;
66 }
67 
jerror_t init(void)
Called once at program start.
jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber)
Called every event.
jerror_t fini(void)
Called after last event of last event source has been processed.
jerror_t brun(jana::JEventLoop *eventLoop, 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.