All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
icarus::trigger::LVDSgates::Config Struct Reference

Public Types

using Name = fhicl::Name
 
using Comment = fhicl::Comment
 

Public Member Functions

ComboMode getCombinationMode () const
 

Public Attributes

util::MultipleChoiceSelection
< ComboMode > const 
CombinationModeSelector
 Selector for CombinationMode parameter. More...
 
fhicl::OptionalAtom< std::string > TriggerGatesTag
 
fhicl::Sequence< std::string > Thresholds
 
fhicl::Sequence
< fhicl::Sequence
< raw::Channel_t > > 
ChannelPairing
 
fhicl::Sequence< raw::Channel_tIgnoreChannels
 
fhicl::Atom< std::string > CombinationMode
 
fhicl::Atom< bool > ProduceWaveformAssns
 
fhicl::Atom< std::string > LogCategory
 

Detailed Description

Definition at line 176 of file LVDSgates_module.cc.

Member Typedef Documentation

Definition at line 179 of file LVDSgates_module.cc.

Definition at line 178 of file LVDSgates_module.cc.

Member Function Documentation

ComboMode icarus::trigger::LVDSgates::Config::getCombinationMode ( ) const
inline

Definition at line 233 of file LVDSgates_module.cc.

234  {
235  try {
237  }
239  throw art::Exception(art::errors::Configuration)
240  << "Invalid value for 'CombinationMode' parameter: '" << e.label()
241  << "'; valid options: "
243  }
244  } // getCombinationMode()
util::MultipleChoiceSelection< ComboMode > const CombinationModeSelector
Selector for CombinationMode parameter.
Option_t const & parse(std::string const &label) const
Returns the option matching the specified label.
std::string optionListString(std::string const &sep=", ") const
Returns a string with the (main) name of all options.
do i e
fhicl::Atom< std::string > CombinationMode

Member Data Documentation

fhicl::Sequence<fhicl::Sequence<raw::Channel_t> > icarus::trigger::LVDSgates::Config::ChannelPairing
Initial value:
{
Name("ChannelPairing"),
("grouping of optical detector channels (e.g.: [ [ 0, 2 ], [ 4, 6 ], [ 8 ], ... ])")
}

Definition at line 202 of file LVDSgates_module.cc.

fhicl::Atom<std::string> icarus::trigger::LVDSgates::Config::CombinationMode
Initial value:
{
Name("CombinationMode"),
}

Definition at line 214 of file LVDSgates_module.cc.

util::MultipleChoiceSelection<ComboMode> const icarus::trigger::LVDSgates::Config::CombinationModeSelector
Initial value:
{
{ ComboMode::disable, "disable", "off" },
{ ComboMode::Input1, "input1" },
{ ComboMode::Input2, "input2" },
{ ComboMode::AND, "AND" },
{ ComboMode::OR, "OR" }
}

Selector for CombinationMode parameter.

Definition at line 183 of file LVDSgates_module.cc.

fhicl::Sequence<raw::Channel_t> icarus::trigger::LVDSgates::Config::IgnoreChannels
Initial value:
{
Name("IgnoreChannels"),
("optical detector channels to ignore (e.g.: [ 54, 58, 67, 76, ... ])")
}

Definition at line 208 of file LVDSgates_module.cc.

fhicl::Atom<std::string> icarus::trigger::LVDSgates::Config::LogCategory
Initial value:
{
Name("LogCategory"),
Comment("name of the category used for the output"),
"LVDSgates"
}

Definition at line 226 of file LVDSgates_module.cc.

fhicl::Atom<bool> icarus::trigger::LVDSgates::Config::ProduceWaveformAssns
Initial value:
{
Name("ProduceWaveformAssns"),
("also produce gate/waveform associations together with gate/metadata"),
true
}

Definition at line 219 of file LVDSgates_module.cc.

fhicl::Sequence<std::string> icarus::trigger::LVDSgates::Config::Thresholds
Initial value:
{
Name("Thresholds"),
("thresholds to consider (full tag or instance name of TriggerGatesTag)")
}

Definition at line 196 of file LVDSgates_module.cc.

fhicl::OptionalAtom<std::string> icarus::trigger::LVDSgates::Config::TriggerGatesTag
Initial value:
{
Name("TriggerGatesTag"),
}

Definition at line 191 of file LVDSgates_module.cc.


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