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
PID_init.cc
Go to the documentation of this file.
1
// $Id: PID_init.cc 2433 2007-04-07 14:57:32Z kornicer $
2
3
#include <JANA/JEventLoop.h>
4
using namespace
jana;
5
6
#include "
DBeamPhoton_factory.h
"
7
#include "
DBeamPhoton_factory_TRUTH.h
"
8
#include "
DBeamPhoton_factory_TAGGEDMCGEN.h
"
9
#include "
DBeamPhoton_factory_MCGEN.h
"
10
#include "
DParticleID_factory.h
"
11
#include "
DParticleID_factory_PID1.h
"
12
#include "
DChargedTrack_factory.h
"
13
#include "
DChargedTrack_factory_PreSelect.h
"
14
#include "
DChargedTrackHypothesis_factory.h
"
15
#include "
DNeutralParticle_factory.h
"
16
#include "
DNeutralParticle_factory_PreSelect.h
"
17
#include "
DNeutralParticleHypothesis_factory.h
"
18
#include "
DNeutralShower_factory.h
"
19
#include "
DNeutralShower_factory_PreSelect.h
"
20
#include "
DVertex_factory.h
"
21
#include "
DVertex_factory_THROWN.h
"
22
#include "
DEventRFBunch_factory.h
"
23
#include "
DEventRFBunch_factory_Thrown.h
"
24
#include "
DEventRFBunch_factory_Calibrations.h
"
25
#include "
DEventRFBunch_factory_CalorimeterOnly.h
"
26
#include "
DDetectorMatches_factory.h
"
27
#include "
DDetectorMatches_factory_WireBased.h
"
28
#include "
DMCThrown_factory_FinalState.h
"
29
#include "
DMCThrown_factory_Decaying.h
"
30
#include "
DMCThrown_factory_Primary.h
"
31
32
#include "
DMCReaction.h
"
33
34
#define UC_CLUSTERIZER
35
36
jerror_t
PID_init
(JEventLoop *loop)
37
{
38
/// Create and register PID data factories
39
loop->AddFactory(
new
JFactory<DMCReaction>());
40
loop->AddFactory(
new
DBeamPhoton_factory
);
41
loop->AddFactory(
new
DBeamPhoton_factory_TRUTH
);
42
loop->AddFactory(
new
DBeamPhoton_factory_TAGGEDMCGEN
);
43
loop->AddFactory(
new
DBeamPhoton_factory_MCGEN
);
44
loop->AddFactory(
new
DParticleID_factory
);
45
loop->AddFactory(
new
DParticleID_factory_PID1
);
46
loop->AddFactory(
new
DChargedTrack_factory
);
47
loop->AddFactory(
new
DChargedTrack_factory_PreSelect
);
48
loop->AddFactory(
new
DChargedTrackHypothesis_factory
);
49
loop->AddFactory(
new
DNeutralParticle_factory
);
50
loop->AddFactory(
new
DNeutralParticle_factory_PreSelect
);
51
loop->AddFactory(
new
DNeutralParticleHypothesis_factory
);
52
loop->AddFactory(
new
DNeutralShower_factory
);
53
loop->AddFactory(
new
DNeutralShower_factory_PreSelect
);
54
loop->AddFactory(
new
DVertex_factory
);
55
loop->AddFactory(
new
DVertex_factory_THROWN
);
56
loop->AddFactory(
new
DEventRFBunch_factory
);
57
loop->AddFactory(
new
DEventRFBunch_factory_Thrown
);
58
loop->AddFactory(
new
DEventRFBunch_factory_Calibrations
);
59
loop->AddFactory(
new
DEventRFBunch_factory_CalorimeterOnly
);
60
loop->AddFactory(
new
DDetectorMatches_factory
);
61
loop->AddFactory(
new
DDetectorMatches_factory_WireBased
);
62
loop->AddFactory(
new
DMCThrown_factory_FinalState
);
63
loop->AddFactory(
new
DMCThrown_factory_Decaying
);
64
loop->AddFactory(
new
DMCThrown_factory_Primary
);
65
66
return
NOERROR;
67
}
DBeamPhoton_factory_MCGEN
Definition:
DBeamPhoton_factory_MCGEN.h:18
DEventRFBunch_factory
Definition:
DEventRFBunch_factory.h:41
DMCReaction.h
DChargedTrackHypothesis_factory
Definition:
DChargedTrackHypothesis_factory.h:27
DVertex_factory_THROWN.h
DEventRFBunch_factory_Calibrations
Definition:
DEventRFBunch_factory_Calibrations.h:41
DChargedTrack_factory_PreSelect.h
DBeamPhoton_factory.h
DMCThrown_factory_FinalState
Definition:
DMCThrown_factory_FinalState.h:23
DBeamPhoton_factory_TAGGEDMCGEN.h
DNeutralShower_factory_PreSelect.h
DChargedTrack_factory_PreSelect
Definition:
DChargedTrack_factory_PreSelect.h:19
DMCThrown_factory_Decaying.h
DParticleID_factory.h
DNeutralShower_factory
Definition:
DNeutralShower_factory.h:28
DEventRFBunch_factory_CalorimeterOnly
Definition:
DEventRFBunch_factory_CalorimeterOnly.h:39
DNeutralParticle_factory_PreSelect
Definition:
DNeutralParticle_factory_PreSelect.h:19
DParticleID_factory
Definition:
DParticleID_factory.h:16
DEventRFBunch_factory.h
DNeutralParticleHypothesis_factory
Definition:
DNeutralParticleHypothesis_factory.h:28
DMCThrown_factory_Primary
Definition:
DMCThrown_factory_Primary.h:23
DNeutralShower_factory_PreSelect
Definition:
DNeutralShower_factory_PreSelect.h:21
DEventRFBunch_factory_CalorimeterOnly.h
DEventRFBunch_factory_Calibrations.h
DEventRFBunch_factory_Thrown.h
DMCThrown_factory_Decaying
Definition:
DMCThrown_factory_Decaying.h:23
DVertex_factory.h
DVertex_factory
Definition:
DVertex_factory.h:32
DDetectorMatches_factory
Definition:
DDetectorMatches_factory.h:29
DBeamPhoton_factory_TRUTH.h
DEventRFBunch_factory_Thrown
Definition:
DEventRFBunch_factory_Thrown.h:23
DNeutralParticle_factory_PreSelect.h
DParticleID_factory_PID1
Definition:
DParticleID_factory_PID1.h:14
DBeamPhoton_factory_TAGGEDMCGEN
Definition:
DBeamPhoton_factory_TAGGEDMCGEN.h:16
DParticleID_factory_PID1.h
DNeutralParticle_factory
Definition:
DNeutralParticle_factory.h:15
DDetectorMatches_factory_WireBased.h
DChargedTrack_factory.h
DMCThrown_factory_Primary.h
DDetectorMatches_factory.h
DDetectorMatches_factory_WireBased
Definition:
DDetectorMatches_factory_WireBased.h:27
DBeamPhoton_factory_TRUTH
Definition:
DBeamPhoton_factory_TRUTH.h:17
DChargedTrackHypothesis_factory.h
DNeutralParticleHypothesis_factory.h
DBeamPhoton_factory_MCGEN.h
DNeutralParticle_factory.h
DMCThrown_factory_FinalState.h
DVertex_factory_THROWN
Definition:
DVertex_factory_THROWN.h:15
DNeutralShower_factory.h
PID_init
jerror_t PID_init(JEventLoop *loop)
Definition:
PID_init.cc:36
DBeamPhoton_factory
Definition:
DBeamPhoton_factory.h:18
DChargedTrack_factory
Definition:
DChargedTrack_factory.h:15
libraries
PID
PID_init.cc
Generated on Fri Jul 26 2019 14:02:39 for Hall-D Software by
1.8.5