Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
dunereco
dunereco
VLNets
art
var_extractors
EventMCVarExtractor.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
nusimdata/SimulationBase/MCTruth.h
"
4
#include "
VarExtractorBase.h
"
5
6
namespace
VLN
{
7
8
class
EventMCVarExtractor
:
public
VarExtractorBase
9
{
10
public
:
11
explicit
EventMCVarExtractor
(
12
const
std::string
&
prefix
,
13
const
std::string
&
labelGenerator
=
"generator"
14
);
15
~EventMCVarExtractor
() =
default
;
16
17
protected
:
18
void
extractVars
(
const
art::Event
&
evt
,
VarDict
&vars)
override
;
19
20
private
:
21
std::string
labelGenerator
;
22
};
23
24
}
25
VLN::VarExtractorBase
Definition:
VarExtractorBase.h:11
string
std::string string
Definition:
nybbler.cc:12
VarExtractorBase.h
VLN::EventMCVarExtractor::~EventMCVarExtractor
~EventMCVarExtractor()=default
VLN::EventMCVarExtractor::extractVars
void extractVars(const art::Event &evt, VarDict &vars) override
Definition:
EventMCVarExtractor.cxx:20
VLN::EventMCVarExtractor::EventMCVarExtractor
EventMCVarExtractor(const std::string &prefix, const std::string &labelGenerator="generator")
Definition:
EventMCVarExtractor.cxx:13
VarDict
Definition:
VarDict.h:8
VLN
Definition:
utils.cxx:6
VLN::EventMCVarExtractor::labelGenerator
std::string labelGenerator
Definition:
EventMCVarExtractor.h:21
VLN::EventMCVarExtractor
Definition:
EventMCVarExtractor.h:8
art::Event
Definition:
Event.h:22
VLN::VarExtractorBase::prefix
std::string prefix
Definition:
VarExtractorBase.h:42
MCTruth.h
tca::evt
TCEvent evt
Definition:
DataStructs.cxx:7
Generated by
1.8.11