Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TAGGER_init.cc
Go to the documentation of this file.
1 // $Id$
2 
3 #include <JANA/JEventLoop.h>
4 using namespace jana;
5 
6 #include "DTAGMDigiHit.h"
7 #include "DTAGMTDCDigiHit.h"
8 #include "DTAGHDigiHit.h"
9 #include "DTAGHTDCDigiHit.h"
10 #include "DTAGMHit.h"
11 #include "DTAGHHit.h"
12 #include "DTAGMGeometry.h"
13 #include "DTAGHGeometry.h"
14 #include "DTAGMGeometry_factory.h"
15 #include "DTAGHGeometry_factory.h"
16 #include "DTAGMHit_factory.h"
17 #include "DTAGMHit_factory_Calib.h"
18 #include "DTAGHHit_factory.h"
19 #include "DTAGHHit_factory_Calib.h"
20 
21 
22 jerror_t TAGGER_init(JEventLoop *loop)
23 {
24  /// Create and register TAGGER data factories
25  loop->AddFactory(new JFactory<DTAGMDigiHit>());
26  loop->AddFactory(new JFactory<DTAGMTDCDigiHit>());
27  loop->AddFactory(new JFactory<DTAGHDigiHit>());
28  loop->AddFactory(new JFactory<DTAGHTDCDigiHit>());
29  loop->AddFactory(new DTAGMHit_factory());
30  loop->AddFactory(new DTAGMHit_factory_Calib());
31  loop->AddFactory(new DTAGHHit_factory());
32  loop->AddFactory(new DTAGHHit_factory_Calib());
33  loop->AddFactory(new JFactory<DTAGMHit>("TRUTH"));
34  loop->AddFactory(new JFactory<DTAGHHit>("TRUTH"));
35  loop->AddFactory(new DTAGMGeometry_factory());
36  loop->AddFactory(new DTAGHGeometry_factory());
37 
38  return NOERROR;
39 }
jerror_t TAGGER_init(JEventLoop *loop)
Definition: TAGGER_init.cc:22