Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TAC_init.cc
Go to the documentation of this file.
1 /*
2  * TAC_init.cc
3  *
4  * Created on: Mar 28, 2017
5  * Author: Hovanes Egiyan
6  */
7 
8 #include <JANA/JEventLoop.h>
9 using namespace jana;
10 
11 #include "DTACDigiHit.h"
12 #include "DTACTDCDigiHit.h"
13 #include "DTACHit_factory.h"
15 #include "HitRebuilderByFit.h"
16 #include "WaveformSpikeFunctor.h"
17 #include "WaveformErfcFunctor.h"
18 
19 jerror_t TAC_init(jana::JEventLoop *loop) {
20  /// Create and register TAC data factories
21  loop->AddFactory(new JFactory<DTACDigiHit>());
22  loop->AddFactory(new JFactory<DTACTDCDigiHit>());
23  loop->AddFactory(new DTACHit_factory());
24  loop->AddFactory(
27  loop->AddFactory(
30 
31  loop->AddFactory(new DRebuildFromRawFADC_factory<>());
32  loop->AddFactory(new JFactory<DTACHit>("TRUTH"));
33 
34  return NOERROR;
35 }
36 
jerror_t TAC_init(JEventLoop *loop)