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 25 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 29 of file L1TopoAlgorithm.h.

29{ return m_name; }

◆ selection()

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

Definition at line 31 of file L1TopoAlgorithm.h.

31{ return m_selection.value_or(0); }

◆ selection_optional()

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

Definition at line 32 of file L1TopoAlgorithm.h.

32{ return m_selection; }

◆ value()

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

Definition at line 30 of file L1TopoAlgorithm.h.

30{ return m_value; }

Member Data Documentation

◆ m_name

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

Definition at line 34 of file L1TopoAlgorithm.h.

34{""};

◆ m_selection

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

Definition at line 36 of file L1TopoAlgorithm.h.

36{};

◆ m_value

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

Definition at line 35 of file L1TopoAlgorithm.h.

35{0};

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