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
CCAL_init.cc
Go to the documentation of this file.
1
// $Id: FCAL_init.cc 5342 2009-07-09 15:46:12Z davidl $
2
3
#include <JANA/JEventLoop.h>
4
using namespace
jana;
5
6
#include <
CCAL/DCCALTruthShower_factory.h
>
7
#include <
CCAL/DCCALGeometry_factory.h
>
8
9
#include "
DCCALDigiHit.h
"
10
#include "
DCCALHit_factory.h
"
11
#include "
DCCALShower_factory.h
"
12
13
#include "
DCCALRefDigiHit.h
"
14
15
jerror_t
CCAL_init
(JEventLoop *loop)
16
{
17
/// Create and register CCAL data factories
18
loop->AddFactory(
new
JFactory<DCCALDigiHit>());
19
loop->AddFactory(
new
JFactory<DCCALRefDigiHit>());
20
loop->AddFactory(
new
DCCALHit_factory
());
21
loop->AddFactory(
new
DCCALShower_factory
());
22
loop->AddFactory(
new
JFactory<DCCALHit>(
"TRUTH"
));
23
loop->AddFactory(
new
DCCALTruthShower_factory
());
24
loop->AddFactory(
new
DCCALGeometry_factory
());
25
26
return
NOERROR;
27
}
DCCALGeometry_factory.h
DCCALShower_factory
Definition:
DCCALShower_factory.h:21
DCCALTruthShower_factory.h
DCCALGeometry_factory
Definition:
DCCALGeometry_factory.h:14
DCCALDigiHit.h
CCAL_init
jerror_t CCAL_init(JEventLoop *loop)
Definition:
CCAL_init.cc:15
DCCALTruthShower_factory
Definition:
DCCALTruthShower_factory.h:14
DCCALShower_factory.h
DCCALHit_factory.h
DCCALRefDigiHit.h
DCCALHit_factory
Definition:
DCCALHit_factory.h:22
libraries
CCAL
CCAL_init.cc
Generated on Fri Jul 26 2019 14:00:20 for Hall-D Software by
1.8.5