Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CDC_init.cc
Go to the documentation of this file.
1 // $Id$
2 
3 #include <JANA/JEventLoop.h>
4 using namespace jana;
5 
6 #include "DCDCDigiHit.h"
7 #include "DCDCHit.h"
8 #include "DCDCHit_factory.h"
10 #include "DCDCTrackHit.h"
11 #include "DCDCTrackHit_factory.h"
12 
13 jerror_t CDC_init(JEventLoop *loop)
14 {
15  /// Create and register CDC data factories
16  loop->AddFactory(new JFactory<DCDCDigiHit>());
17  loop->AddFactory(new DCDCHit_factory());
18  loop->AddFactory(new DCDCHit_factory_Calib());
19  loop->AddFactory(new JFactory<DCDCHit>("TRUTH"));
20  loop->AddFactory(new DCDCTrackHit_factory());
21 
22  return NOERROR;
23 }
jerror_t CDC_init(JEventLoop *loop)
Definition: CDC_init.cc:13
Provide CDC track hit objects. Currently, these objects are supplied by the simulated data file...