ATLAS Offline Software
Loading...
Searching...
No Matches
TrigConf::L1TopoAlgorithm::VariableParameter Struct Reference

#include <L1TopoAlgorithm.h>

Collaboration diagram for TrigConf::L1TopoAlgorithm::VariableParameter:

Public Member Functions

 VariableParameter (const std::string &name, int value, std::optional< unsigned int > selection=std::nullopt)
const std::string & name () const
int value () const
unsigned int selection () const
std::optional< unsigned int > selection_optional () const

Private Attributes

std::string m_name {""}
int m_value {0}
std::optional< unsigned int > m_selection {}

Detailed Description

Definition at line 27 of file L1TopoAlgorithm.h.

Constructor & Destructor Documentation

◆ VariableParameter()

TrigConf::L1TopoAlgorithm::VariableParameter::VariableParameter ( const std::string & name,
int value,
std::optional< unsigned int > selection = std::nullopt )
inline

Member Function Documentation

◆ name()

const std::string & TrigConf::L1TopoAlgorithm::VariableParameter::name ( ) const
inline

Definition at line 31 of file L1TopoAlgorithm.h.

31{ return m_name; }

◆ selection()

unsigned int TrigConf::L1TopoAlgorithm::VariableParameter::selection ( ) const
inline

Definition at line 33 of file L1TopoAlgorithm.h.

33{ return m_selection.value_or(0); }

◆ selection_optional()

std::optional< unsigned int > TrigConf::L1TopoAlgorithm::VariableParameter::selection_optional ( ) const
inline

Definition at line 34 of file L1TopoAlgorithm.h.

34{ return m_selection; }

◆ value()

int TrigConf::L1TopoAlgorithm::VariableParameter::value ( ) const
inline

Definition at line 32 of file L1TopoAlgorithm.h.

32{ return m_value; }

Member Data Documentation

◆ m_name

std::string TrigConf::L1TopoAlgorithm::VariableParameter::m_name {""}
private

Definition at line 36 of file L1TopoAlgorithm.h.

36{""};

◆ m_selection

std::optional<unsigned int> TrigConf::L1TopoAlgorithm::VariableParameter::m_selection {}
private

Definition at line 38 of file L1TopoAlgorithm.h.

38{};

◆ m_value

int TrigConf::L1TopoAlgorithm::VariableParameter::m_value {0}
private

Definition at line 37 of file L1TopoAlgorithm.h.

37{0};

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