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

Constructor & Destructor Documentation

◆ L1MuGMTReg()

L1MuGMTReg::L1MuGMTReg ( int  ninst = 2)
inline

default constructor

Definition at line 47 of file L1MuGMTReg.h.

47 : m_value(ninst, 0){};

◆ ~L1MuGMTReg()

virtual L1MuGMTReg::~L1MuGMTReg ( )
inlinevirtual

destructor

Definition at line 50 of file L1MuGMTReg.h.

50 {};

Member Function Documentation

◆ getName()

virtual std::string L1MuGMTReg::getName ( )
pure virtual

◆ getNumberOfInstances()

unsigned L1MuGMTReg::getNumberOfInstances ( )
inline

get number on instances

Definition at line 56 of file L1MuGMTReg.h.

56 { return m_value.size(); }

References m_value.

◆ getValue()

unsigned L1MuGMTReg::getValue ( int  idx)
inline

get Value

Definition at line 53 of file L1MuGMTReg.h.

53 { return m_value[idx]; };

References training_settings::idx, and m_value.

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

Member Data Documentation

◆ m_value

std::vector<unsigned> L1MuGMTReg::m_value
protected
training_settings.idx
idx
Definition: training_settings.py:16
L1MuGMTReg::m_value
std::vector< unsigned > m_value
Definition: L1MuGMTReg.h:62