DefaultInputVarExtractor.cxx
Go to the documentation of this file.
2 
3 namespace VLN {
4 
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."),
13  prefix + "event.",
15  pset.get<std::string>("LabelHit"),
16  plane
17  ),
19  prefix + "particle.",
21  pset.get<std::string>("LabelPFPModule"),
22  pset.get<std::string>("LabelPFPTrack"),
23  pset.get<std::string>("LabelPFPShower"),
24  plane
25  )
26 { }
27 
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 
PFParticleVarExtractor particleVarExtractor
std::string string
Definition: nybbler.cc:12
DefaultInputVarExtractor(const std::string &prefix, const fhicl::ParameterSet &pset, unsigned int plane=2)
Definition: VarDict.h:8
virtual void extract(const art::Event &evt, VarDict &vars)
Definition: utils.cxx:6
void extractVars(const art::Event &evt, VarDict &vars) override
TCEvent evt
Definition: DataStructs.cxx:7