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

#include <acts/blob/sPHENIX/Examples/Framework/include/ActsExamples/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> ActsExamples::Options::Interval::lower
std::optional<double> ActsExamples::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 ActsExamples::Options::operator<<(), and ActsExamples::Options::operator>>().


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