ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FW::Options::Interval Struct Reference

#include <acts/blob/master/Examples/Framework/include/ACTFW/Utilities/Options.hpp>

Public Attributes

std::optional< double > lower
 
std::optional< double > upper
 

Detailed Description

Half open [lower,upper) interval type for user options.

A missing limit represents an unbounded upper or lower limit. With just one defined limit the interval is just a lower/upper bound; with both limits undefined, the interval is unbounded everywhere and thus contains all possible values.

This is intended as a utility type for the user options and not as a variable type for the configuration structs. Simple primitive types should be preferred there.

Definition at line 30 of file Options.hpp.

View newest version in sPHENIX GitHub at line 30 of file Options.hpp

Member Data Documentation

std::optional<double> FW::Options::Interval::lower

Definition at line 31 of file Options.hpp.

View newest version in sPHENIX GitHub at line 31 of file Options.hpp

Referenced by FW::Options::operator<<(), FW::Options::operator>>(), and FW::ParticleSelector::readConfig().

std::optional<double> FW::Options::Interval::upper

Definition at line 32 of file Options.hpp.

View newest version in sPHENIX GitHub at line 32 of file Options.hpp

Referenced by FW::Options::operator<<(), and FW::Options::operator>>().


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