CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
L1MuGMTReg Class Referenceabstract

#include <L1MuGMTReg.h>

Inheritance diagram for L1MuGMTReg:
L1MuGMTRegCDLConfig L1MuGMTRegMMConfig L1MuGMTRegSortRankOffset L1MuGMTRegMMConfigCharge L1MuGMTRegMMConfigEta L1MuGMTRegMMConfigMIPISO L1MuGMTRegMMConfigPhi L1MuGMTRegMMConfigPt L1MuGMTRegMMConfigSRK L1MuGMTRegMMConfigISO L1MuGMTRegMMConfigMIP

Public Member Functions

virtual std::string getName ()=0
 get Name More...
 
unsigned getNumberOfInstances ()
 get number on instances More...
 
unsigned getValue (int idx)
 get Value More...
 
 L1MuGMTReg (int ninst=2)
 default constructor More...
 
virtual ~L1MuGMTReg ()
 destructor More...
 

Protected Attributes

std::vector< unsigned > m_value
 

Detailed Description

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 45 of file L1MuGMTReg.h.

Constructor & Destructor Documentation

L1MuGMTReg::L1MuGMTReg ( int  ninst = 2)
inline

default constructor

Definition at line 49 of file L1MuGMTReg.h.

49 : m_value(ninst, 0) { };
std::vector< unsigned > m_value
Definition: L1MuGMTReg.h:64
virtual L1MuGMTReg::~L1MuGMTReg ( )
inlinevirtual

destructor

Definition at line 52 of file L1MuGMTReg.h.

52 {};

Member Function Documentation

virtual std::string L1MuGMTReg::getName ( )
pure virtual
unsigned L1MuGMTReg::getNumberOfInstances ( )
inline

get number on instances

Definition at line 58 of file L1MuGMTReg.h.

References getName(), m_value, and AlCaHLTBitMon_QueryRunRegistry::string.

58 { return m_value.size(); }
std::vector< unsigned > m_value
Definition: L1MuGMTReg.h:64
unsigned L1MuGMTReg::getValue ( int  idx)
inline

get Value

Definition at line 55 of file L1MuGMTReg.h.

References training_settings::idx, and m_value.

Referenced by L1MuGMTMerger::createMergedCand(), and L1MuGMTCancelOutUnit::decide().

55 { return m_value[idx]; };
std::vector< unsigned > m_value
Definition: L1MuGMTReg.h:64

Member Data Documentation

std::vector<unsigned> L1MuGMTReg::m_value
protected