Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
START_COUNTER_init.cc
Go to the documentation of this file.
1 // $Id: CDC_init.cc 2151 2006-10-23 18:01:37Z davidl $
2 
3 #include <JANA/JEventLoop.h>
4 using namespace jana;
5 
6 #include "DSCTruthHit.h"
7 #include "DSCDigiHit.h"
8 #include "DSCHit_factory.h"
9 #include "DSCTDCDigiHit.h"
10 
11 jerror_t START_COUNTER_init(JEventLoop *loop)
12 {
13  /// Create and register Start Counter data factories
14  loop->AddFactory(new JFactory<DSCDigiHit>());
15  loop->AddFactory(new JFactory<DSCTDCDigiHit>());
16  loop->AddFactory(new DSCHit_factory());
17  loop->AddFactory(new JFactory<DSCHit>("TRUTH"));
18  loop->AddFactory(new JFactory<DSCTruthHit>());
19 
20  return NOERROR;
21 }
jerror_t START_COUNTER_init(JEventLoop *loop)