Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
dunereco
dunereco
VLNets
art
var_extractors
DefaultInputVarExtractor.cxx
Go to the documentation of this file.
1
#include "
DefaultInputVarExtractor.h
"
2
3
namespace
VLN
{
4
5
DefaultInputVarExtractor::DefaultInputVarExtractor
(
6
const
std::string
&
prefix
,
7
const
fhicl::ParameterSet
&pset,
8
unsigned
int
plane
9
) :
VarExtractorBase
(prefix, {}, {}),
10
algCalorimetry
(pset.get<
fhicl::ParameterSet
>(
"AlgCalorimetry"
)),
11
addrVarExtractor
(
prefix
+
"addr."
),
12
recoVarExtractor
(
13
prefix
+
"event."
,
14
algCalorimetry
,
15
pset.get<
std::string
>(
"LabelHit"
),
16
plane
17
),
18
particleVarExtractor
(
19
prefix
+
"particle."
,
20
algCalorimetry
,
21
pset.get<
std::string
>(
"LabelPFPModule"
),
22
pset.get<
std::string
>(
"LabelPFPTrack"
),
23
pset.get<
std::string
>(
"LabelPFPShower"
),
24
plane
25
)
26
{ }
27
28
void
DefaultInputVarExtractor::extractVars
(
29
const
art::Event
&
evt
,
VarDict
&vars
30
)
31
{
32
addrVarExtractor
.
extract
(evt, vars);
33
recoVarExtractor
.
extract
(evt, vars);
34
particleVarExtractor
.
extract
(evt, vars);
35
}
36
37
}
38
VLN::VarExtractorBase
Definition:
VarExtractorBase.h:11
VLN::DefaultInputVarExtractor::particleVarExtractor
PFParticleVarExtractor particleVarExtractor
Definition:
DefaultInputVarExtractor.h:31
submit_ppfxjobs.prefix
string prefix
Definition:
submit_ppfxjobs.py:128
string
std::string string
Definition:
nybbler.cc:12
DefaultInputVarExtractor.h
VLN::DefaultInputVarExtractor::DefaultInputVarExtractor
DefaultInputVarExtractor(const std::string &prefix, const fhicl::ParameterSet &pset, unsigned int plane=2)
Definition:
DefaultInputVarExtractor.cxx:5
VarDict
Definition:
VarDict.h:8
VLN::VarExtractorBase::extract
virtual void extract(const art::Event &evt, VarDict &vars)
Definition:
VarExtractorBase.cxx:54
VLN::DefaultInputVarExtractor::recoVarExtractor
EventRecoVarExtractor recoVarExtractor
Definition:
DefaultInputVarExtractor.h:30
VLN
Definition:
utils.cxx:6
VLN::DefaultInputVarExtractor::extractVars
void extractVars(const art::Event &evt, VarDict &vars) override
Definition:
DefaultInputVarExtractor.cxx:28
VLN::DefaultInputVarExtractor::addrVarExtractor
EventAddrVarExtractor addrVarExtractor
Definition:
DefaultInputVarExtractor.h:29
art::Event
Definition:
Event.h:22
VLN::VarExtractorBase::prefix
std::string prefix
Definition:
VarExtractorBase.h:42
VLN::DefaultInputVarExtractor::algCalorimetry
calo::CalorimetryAlg algCalorimetry
Definition:
DefaultInputVarExtractor.h:27
tca::evt
TCEvent evt
Definition:
DataStructs.cxx:7
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11