Public Attributes | List of all members
evgen::ActiveVolumeVertexSampler::Config Struct Reference

#include <ActiveVolumeVertexSampler.h>

Public Attributes

fhicl::Atom< std::stringtype_
 
fhicl::OptionalAtom< std::stringseed_
 
fhicl::Sequence< double, 3 > position_
 
fhicl::Sequence< double, 3 > min_position_
 
fhicl::Sequence< double, 3 > max_position_
 
fhicl::OptionalAtom< boolcheck_active_
 

Detailed Description

Collection of configuration parameters used to determine the vertex location for each event

Definition at line 46 of file ActiveVolumeVertexSampler.h.

Member Data Documentation

fhicl::OptionalAtom<bool> evgen::ActiveVolumeVertexSampler::Config::check_active_
Initial value:
{
Name("check_active"),
Comment("Whether to enforce that the sampled vertices are within a TPC"
" active volume"),
[this]() -> bool { return type_() == "box"; }
}

Definition at line 77 of file ActiveVolumeVertexSampler.h.

fhicl::Sequence<double, 3> evgen::ActiveVolumeVertexSampler::Config::max_position_
Initial value:
{
Name("max_position"),
Comment("The maximum allowed values for the x, y, and z coordinates"),
[this]() -> bool { return type_() == "box"; }
}

Definition at line 71 of file ActiveVolumeVertexSampler.h.

fhicl::Sequence<double, 3> evgen::ActiveVolumeVertexSampler::Config::min_position_
Initial value:
{
Name("min_position"),
Comment("The minimum allowed values for the x, y, and z coordinates"),
[this]() -> bool { return type_() == "box"; }
}

Definition at line 65 of file ActiveVolumeVertexSampler.h.

fhicl::Sequence<double, 3> evgen::ActiveVolumeVertexSampler::Config::position_
Initial value:
{
Name("position"),
Comment("Coordinates of the fixed vertex position"),
[this]() -> bool { return type_() == "fixed"; }
}

Definition at line 59 of file ActiveVolumeVertexSampler.h.

fhicl::OptionalAtom<std::string> evgen::ActiveVolumeVertexSampler::Config::seed_
Initial value:
{
Name("seed"),
Comment("Seed used for sampling vertex locations"),
[this]() -> bool { return type_() != "fixed"; }
}

Definition at line 53 of file ActiveVolumeVertexSampler.h.

fhicl::Atom<std::string> evgen::ActiveVolumeVertexSampler::Config::type_
Initial value:
{
Name("type"),
Comment("Technique used to choose vertex locations"),
"sampled"
}

Definition at line 47 of file ActiveVolumeVertexSampler.h.


The documentation for this struct was generated from the following file: