Hall-D Software
alpha
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CDC_init.cc
Go to the documentation of this file.
1
// $Id$
2
3
#include <JANA/JEventLoop.h>
4
using namespace
jana;
5
6
#include "
DCDCDigiHit.h
"
7
#include "
DCDCHit.h
"
8
#include "
DCDCHit_factory.h
"
9
#include "
DCDCHit_factory_Calib.h
"
10
#include "
DCDCTrackHit.h
"
11
#include "
DCDCTrackHit_factory.h
"
12
13
jerror_t
CDC_init
(JEventLoop *loop)
14
{
15
/// Create and register CDC data factories
16
loop->AddFactory(
new
JFactory<DCDCDigiHit>());
17
loop->AddFactory(
new
DCDCHit_factory
());
18
loop->AddFactory(
new
DCDCHit_factory_Calib
());
19
loop->AddFactory(
new
JFactory<DCDCHit>(
"TRUTH"
));
20
loop->AddFactory(
new
DCDCTrackHit_factory
());
21
22
return
NOERROR;
23
}
CDC_init
jerror_t CDC_init(JEventLoop *loop)
Definition:
CDC_init.cc:13
DCDCHit_factory_Calib.h
DCDCHit_factory_Calib
Definition:
DCDCHit_factory_Calib.h:28
DCDCTrackHit_factory
Provide CDC track hit objects. Currently, these objects are supplied by the simulated data file...
Definition:
DCDCTrackHit_factory.h:24
DCDCDigiHit.h
DCDCHit_factory
Definition:
DCDCHit_factory.h:20
DCDCTrackHit_factory.h
DCDCHit_factory.h
DCDCTrackHit.h
DCDCHit.h
libraries
CDC
CDC_init.cc
Generated on Fri Jul 26 2019 14:00:20 for Hall-D Software by
1.8.5