All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Attributes | List of all members
evgen::ActiveVolumeVertexSampler::Config Struct Reference

#include <ActiveVolumeVertexSampler.h>

Public Attributes

fhicl::Atom< std::string > type_
 
fhicl::OptionalAtom< std::string > seed_
 
fhicl::Sequence< double, 3 > position_
 
fhicl::Sequence< double, 3 > min_position_
 
fhicl::Sequence< double, 3 > max_position_
 
fhicl::OptionalAtom< bool > check_active_
 

Detailed Description

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

Definition at line 47 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 78 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 72 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 66 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 60 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 54 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 48 of file ActiveVolumeVertexSampler.h.


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