#include <FiducialCutVarExtractor.h>
Definition at line 8 of file FiducialCutVarExtractor.h.
Definition at line 9 of file FiducialCutVarExtractor.cxx.
static const std::vector< std::string > VECTOR_VARS({})
static const std::vector< std::string > SCALAR_VARS({"run","subRun","event"})
T get(std::string const &key) const
VLN::FiducialCutVarExtractor::~FiducialCutVarExtractor |
( |
| ) |
|
|
default |
void VLN::FiducialCutVarExtractor::extractVars |
( |
const art::Event & |
evt, |
|
|
VarDict & |
vars |
|
) |
| |
|
overrideprotectedvirtual |
Implements VLN::VarExtractorBase.
Definition at line 22 of file FiducialCutVarExtractor.cxx.
24 std::vector<art::Ptr<simb::MCTruth>> mcTruth;
32 if (mcTruth.empty()) {
36 const auto &nu = mcTruth[0]->GetNeutrino();
38 auto vtxX = nu.Nu().Vx();
39 auto vtxY = nu.Nu().Vy();
40 auto vtxZ = nu.Nu().Vz();
Handle< PROD > getHandle(SelectorBase const &) const
void fill_ptr_vector(std::vector< Ptr< T >> &ptrs, H const &h)
double VLN::FiducialCutVarExtractor::containVolMaxX |
|
private |
double VLN::FiducialCutVarExtractor::containVolMaxY |
|
private |
double VLN::FiducialCutVarExtractor::containVolMaxZ |
|
private |
double VLN::FiducialCutVarExtractor::containVolMinZ |
|
private |
std::string VLN::FiducialCutVarExtractor::labelGenerator |
|
private |
The documentation for this class was generated from the following files: