Public Member Functions | Public Attributes | List of all members
arttest::GenericOneSimpleProductAnalyzer< V, P >::Config Struct Reference

#include <GenericOneSimpleProductAnalyzer.h>

Public Member Functions

 Config ()
 

Public Attributes

fhicl::Atom< std::stringinput_label
 
fhicl::Atom< unsigned > branch_type
 
fhicl::Atom< bool > require_presence
 
fhicl::Atom< V > expected_value
 

Detailed Description

template<typename V, typename P>
struct arttest::GenericOneSimpleProductAnalyzer< V, P >::Config

Definition at line 63 of file GenericOneSimpleProductAnalyzer.h.

Constructor & Destructor Documentation

template<typename V , typename P >
arttest::GenericOneSimpleProductAnalyzer< V, P >::Config::Config ( )
inline

Definition at line 65 of file GenericOneSimpleProductAnalyzer.h.

66  : input_label{fhicl::Name{"input_label"}}
67  , branch_type{fhicl::Name{"branch_type"}, art::InEvent}
68  , require_presence{fhicl::Name{"require_presence"},
70  "If 'require_presence' is true, then the product\n"
71  "must be successfully retrievable. If false, then\n"
72  "the product must NOT be successfully "
73  "retrievable--i.e.\n"
74  "a call to 'getByLabel' must return false."},
75  true}
77  fhicl::Name{"expected_value"},
78  fhicl::Comment{"The value of the following parameter is retrieved\n"
79  "only if require_presence is 'true'."},
80  [this] { return require_presence(); }}
81  {}

Member Data Documentation

template<typename V , typename P >
fhicl::Atom<unsigned> arttest::GenericOneSimpleProductAnalyzer< V, P >::Config::branch_type

Definition at line 84 of file GenericOneSimpleProductAnalyzer.h.

template<typename V , typename P >
fhicl::Atom<V> arttest::GenericOneSimpleProductAnalyzer< V, P >::Config::expected_value

Definition at line 86 of file GenericOneSimpleProductAnalyzer.h.

template<typename V , typename P >
fhicl::Atom<std::string> arttest::GenericOneSimpleProductAnalyzer< V, P >::Config::input_label

Definition at line 83 of file GenericOneSimpleProductAnalyzer.h.

template<typename V , typename P >
fhicl::Atom<bool> arttest::GenericOneSimpleProductAnalyzer< V, P >::Config::require_presence

Definition at line 85 of file GenericOneSimpleProductAnalyzer.h.


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