#include <L1MuGMTReg.h>
Public Member Functions | |
virtual std::string | getName ()=0 |
get Name | |
unsigned | getNumberOfInstances () |
get number on instances | |
unsigned | getValue (int idx) |
get Value | |
L1MuGMTReg (int ninst=2) | |
default constructor | |
virtual | ~L1MuGMTReg () |
destructor | |
Protected Attributes | |
std::vector< unsigned > | m_value |
Description: A 16bit VME register
Used to configure the GMT. The register class represents multiple instances of the register in the hardware (by default 2)
Definition at line 47 of file L1MuGMTReg.h.
L1MuGMTReg::L1MuGMTReg | ( | int | ninst = 2 | ) | [inline] |
virtual L1MuGMTReg::~L1MuGMTReg | ( | ) | [inline, virtual] |
virtual std::string L1MuGMTReg::getName | ( | ) | [pure virtual] |
get Name
Implemented in L1MuGMTRegMMConfig, L1MuGMTRegSortRankOffset, and L1MuGMTRegCDLConfig.
unsigned L1MuGMTReg::getNumberOfInstances | ( | ) | [inline] |
get number on instances
Definition at line 60 of file L1MuGMTReg.h.
References m_value.
{ return m_value.size(); }
unsigned L1MuGMTReg::getValue | ( | int | idx | ) | [inline] |
get Value
Definition at line 57 of file L1MuGMTReg.h.
References m_value.
Referenced by L1MuGMTMerger::createMergedCand(), and L1MuGMTCancelOutUnit::decide().
{ return m_value[idx]; };
std::vector<unsigned> L1MuGMTReg::m_value [protected] |
Definition at line 66 of file L1MuGMTReg.h.
Referenced by getNumberOfInstances(), getValue(), L1MuGMTRegMMConfigMIPISO::L1MuGMTRegMMConfigMIPISO(), L1MuGMTRegMMConfigSRK::L1MuGMTRegMMConfigSRK(), L1MuGMTRegSortRankOffset::L1MuGMTRegSortRankOffset(), L1MuGMTRegCDLConfig::setCDLConfig(), and L1MuGMTRegMMConfig::setMergeMethod().