Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FMWPC_init.cc
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: FMWPC_init.cc
4 // Created: Tue Jun 16 07:04:58 EDT 2015
5 // Creator: davidl (on Darwin harriet.jlab.org 13.4.0 i386)
6 //
7 
8 #include <JANA/JEventLoop.h>
9 #include <JANA/JFactory.h>
10 using namespace jana;
11 
12 #include "DFMWPCHit.h"
13 #include "DFMWPCTruthHit.h"
14 
15 jerror_t FMWPC_init(JEventLoop *loop) {
16 
17  /// Create and register FMWPC data factories
18  loop->AddFactory(new JFactory<DFMWPCHit>());
19  loop->AddFactory(new JFactory<DFMWPCTruthHit>());
20 
21  return NOERROR;
22 }
23 
jerror_t FMWPC_init(JEventLoop *loop)
Definition: FMWPC_init.cc:15