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
DIRC_init.cc
Go to the documentation of this file.
1
/*
2
* DIRC_init.cc
3
*
4
* Created on: Oct 11, 2012
5
* Author: yqiang
6
* Modified on: 0ct 7, 2013, yqiang, added DIRCTruthHit factory
7
*/
8
9
#include <JANA/JEventLoop.h>
10
using namespace
jana;
11
12
#include "
DDIRCTDCDigiHit.h
"
13
#include "
DDIRCPmtHit.h
"
14
#include "
DDIRCLEDRef.h
"
15
#include "
DDIRCTruthBarHit.h
"
16
#include "
DDIRCTruthPmtHit.h
"
17
#include "
DDIRCLut_factory.h
"
18
#include "
DDIRCPmtHit_factory.h
"
19
#include "
DDIRCLEDRef_factory.h
"
20
#include "
DDIRCGeometry_factory.h
"
21
22
jerror_t
DIRC_init
(JEventLoop *loop) {
23
24
/// Create and register DIRC data factories
25
loop->AddFactory(
new
JFactory<DDIRCTDCDigiHit>());
26
loop->AddFactory(
new
DDIRCGeometry_factory
());
27
loop->AddFactory(
new
DDIRCPmtHit_factory
());
28
loop->AddFactory(
new
DDIRCLEDRef_factory
());
29
loop->AddFactory(
new
JFactory<DDIRCTruthPmtHit>());
30
loop->AddFactory(
new
JFactory<DDIRCTruthBarHit>());
31
loop->AddFactory(
new
DDIRCLut_factory
());
32
33
return
NOERROR;
34
}
35
DDIRCPmtHit_factory
Definition:
DDIRCPmtHit_factory.h:21
DDIRCGeometry_factory
Definition:
DDIRCGeometry_factory.h:14
DDIRCGeometry_factory.h
DDIRCLut_factory.h
DIRC_init
jerror_t DIRC_init(JEventLoop *loop)
Definition:
DIRC_init.cc:22
DDIRCLEDRef_factory.h
DDIRCLEDRef.h
DDIRCTDCDigiHit.h
DDIRCLEDRef_factory
Definition:
DDIRCLEDRef_factory.h:23
DDIRCTruthPmtHit.h
DDIRCPmtHit_factory.h
DDIRCTruthBarHit.h
DDIRCPmtHit.h
DDIRCLut_factory
Definition:
DDIRCLut_factory.h:12
libraries
DIRC
DIRC_init.cc
Generated on Fri Jul 26 2019 14:00:51 for Hall-D Software by
1.8.5