CMS 3D CMS Logo

Public Member Functions | Protected Attributes

L1MuGMTReg Class Reference

#include <L1MuGMTReg.h>

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

List of all members.

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

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


Constructor & Destructor Documentation

L1MuGMTReg::L1MuGMTReg ( int  ninst = 2) [inline]

default constructor

Definition at line 51 of file L1MuGMTReg.h.

: m_value(ninst, 0) { };
virtual L1MuGMTReg::~L1MuGMTReg ( ) [inline, virtual]

destructor

Definition at line 54 of file L1MuGMTReg.h.

{};

Member Function Documentation

virtual std::string L1MuGMTReg::getName ( ) [pure virtual]
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 UserOptions_cff::idx, and m_value.

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

{ return m_value[idx]; };

Member Data Documentation

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