ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
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

Definition at line 27 of file L1TopoAlgorithm.h.

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.

◆ m_selection

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

Definition at line 36 of file L1TopoAlgorithm.h.

◆ m_value

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

Definition at line 35 of file L1TopoAlgorithm.h.


The documentation for this struct was generated from the following file:
TrigConf::L1TopoAlgorithm::VariableParameter::value
int value() const
Definition: L1TopoAlgorithm.h:30
TrigConf::L1TopoAlgorithm::VariableParameter::m_selection
std::optional< unsigned int > m_selection
Definition: L1TopoAlgorithm.h:36
TrigConf::L1TopoAlgorithm::VariableParameter::m_value
int m_value
Definition: L1TopoAlgorithm.h:35
TrigConf::L1TopoAlgorithm::VariableParameter::name
const std::string & name() const
Definition: L1TopoAlgorithm.h:29
TrigConf::L1TopoAlgorithm::VariableParameter::selection
unsigned int selection() const
Definition: L1TopoAlgorithm.h:31
TrigConf::L1TopoAlgorithm::VariableParameter::m_name
std::string m_name
Definition: L1TopoAlgorithm.h:34