ToolDAQFramework
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
UserTools
Factory
Factory.cpp
Go to the documentation of this file.
1
#include "
Factory.h
"
2
3
Tool*
Factory
(std::string tool){
4
Tool* ret=0;
5
6
// if (tool=="Type") tool=new Type;
7
if
(tool==
"DummyTool"
) ret=
new
DummyTool
;
8
9
if
(tool==
"TriggerOutput"
) ret=
new
TriggerOutput
;
10
if
(tool==
"WCSimASCIReader"
) ret=
new
WCSimASCIReader
;
11
if
(tool==
"NHits"
) ret=
new
NHits
;
12
if
(tool==
"test_vertices"
) ret=
new
test_vertices
;
13
if
(tool==
"WCSimReader"
) ret=
new
WCSimReader
;
14
if
(tool==
"DataOut"
) ret=
new
DataOut
;
15
#ifdef BONSAIEXISTS
16
if
(tool==
"BONSAI"
) ret=
new
BONSAI
;
17
#endif //BONSAIEXISTS
18
if
(tool==
"ReconDataOut"
) ret=
new
ReconDataOut
;
19
if
(tool==
"dimfit"
) ret=
new
dimfit
;
20
if
(tool==
"ReconRandomiser"
) ret=
new
ReconRandomiser
;
21
if
(tool==
"ReconDataIn"
) ret=
new
ReconDataIn
;
22
if
(tool==
"pass_all"
) ret=
new
pass_all
;
23
24
if
(tool==
"ReconFilter"
) ret=
new
ReconFilter
;
25
if
(tool==
"ReconReset"
) ret=
new
ReconReset
;
26
if
(tool==
"PrepareSubSamples"
) ret=
new
PrepareSubSamples
;
27
#ifdef FLOWEREXISTS
28
if
(tool==
"FLOWERRecon"
) ret=
new
FLOWERRecon
;
29
#endif //FLOWEREXISTS
30
if
(tool==
"SupernovaDirectionCalculator"
) ret=
new
SupernovaDirectionCalculator
;
31
if
(tool==
"Calibrate"
) ret=
new
Calibrate
;
32
if
(tool==
"test_vertices_reconstruction"
) ret=
new
test_vertices_reconstruction
;
33
if
(tool==
"TriggersComparison"
) ret=
new
TriggersComparison
;
34
35
return
ret;
36
}
37
NHits
Definition:
nhits.h:12
test_vertices_reconstruction
Definition:
test_vertices_reconstruction.h:16
ReconDataIn
Definition:
ReconDataIn.h:10
DummyTool
Definition:
DummyTool.h:18
FLOWERRecon
Definition:
FLOWERRecon.h:13
PrepareSubSamples
Definition:
PrepareSubSamples.h:11
TriggersComparison
Definition:
TriggersComparison.h:16
SupernovaDirectionCalculator
Definition:
SupernovaDirectionCalculator.h:10
dimfit
Definition:
dimfit.h:11
ReconReset
Definition:
ReconReset.h:10
WCSimASCIReader
Definition:
WCSimASCIReader.h:11
test_vertices
Definition:
test_vertices.h:12
Factory.h
TriggerOutput
Definition:
TriggerOutput.h:15
ReconRandomiser
Definition:
ReconRandomiser.h:32
WCSimReader
Definition:
WCSimReader.h:19
DataOut
Definition:
DataOut.h:19
BONSAI
Definition:
BONSAI.h:14
Factory
Tool * Factory(std::string tool)
Definition:
Factory.cpp:3
ReconFilter
Definition:
ReconFilter.h:10
pass_all
Definition:
pass_all.h:9
ReconDataOut
Definition:
ReconDataOut.h:13
Calibrate
Definition:
Calibrate.h:23
Generated by
1.8.5