Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FDC_init.cc
Go to the documentation of this file.
1 //***********************************************
2 // FDC_init.cc: defines a function called by
3 // the framework to register the FDC factories.
4 // Author: Craig Bookwalter
5 // Date: Apr 2006
6 //***********************************************
7 
8 #include <JANA/JEventLoop.h>
9 using namespace jana;
10 
11 #include "DFDCHit_factory.h"
12 #include "DFDCPseudo_factory.h"
14 #include "DFDCSegment_factory.h"
17 
18 #include <FDC/DFDCCathodeDigiHit.h>
19 #include <FDC/DFDCWireDigiHit.h>
20 
21 jerror_t FDC_init(JEventLoop *loop)
22 {
23  /// Create and register FDC data factories
24  loop->AddFactory(new JFactory<DFDCCathodeDigiHit>());
25  loop->AddFactory(new JFactory<DFDCWireDigiHit>());
26  loop->AddFactory(new DFDCHit_factory());
27  loop->AddFactory(new JFactory<DFDCHit>("TRUTH"));
28  loop->AddFactory(new JFactory<DFDCHit>("CALIB"));
29  loop->AddFactory(new DFDCPseudo_factory());
30  loop->AddFactory(new DFDCCathodeCluster_factory());
31  loop->AddFactory(new DFDCSegment_factory());
32  loop->AddFactory(new DFDCIntersection_factory());
33  loop->AddFactory(new DFDCPseudo_factory_WIRESONLY());
34 
35  return NOERROR;
36 }
class DFDCCathodeCluster_factory: defines a JFactory for producing groups of cathode strips that form...
class DFDCPseudo_factory: definition for a JFactory that produces pseudopoints from anode hits and DF...
jerror_t FDC_init(JEventLoop *loop)
Definition: FDC_init.cc:21
class DFDCSegment_factory: definition for a JFactory that produces space points from pseudopoints...