Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FCAL_init.cc
Go to the documentation of this file.
1 // $Id$
2 
3 #include <JANA/JEventLoop.h>
4 using namespace jana;
5 
6 #include "DFCALCluster_factory.h"
8 #include "DFCALShower_factory.h"
9 #include "DFCALTruthShower.h"
10 #include "DFCALDigiHit.h"
11 #include "DFCALHit_factory.h"
12 
13 jerror_t FCAL_init(JEventLoop *loop)
14 {
15  /// Create and register FCAL data factories
16  loop->AddFactory(new JFactory<DFCALDigiHit>());
17  loop->AddFactory(new DFCALHit_factory());
18  loop->AddFactory(new JFactory<DFCALHit>("TRUTH"));
19  loop->AddFactory(new DFCALCluster_factory());
20  loop->AddFactory(new DFCALShower_factory());
21  loop->AddFactory(new DFCALGeometry_factory());
22  loop->AddFactory(new JFactory<DFCALTruthShower>());
23 
24  return NOERROR;
25 }
jerror_t FCAL_init(JEventLoop *loop)
Definition: FCAL_init.cc:13