CMS 3D CMS Logo

List of all members | Public Member Functions
L1MuGMTRegMMConfigMIPISO Class Reference

GMT Register that implements additional AND/OR flag. More...

#include <L1MuGMTReg.h>

Inheritance diagram for L1MuGMTRegMMConfigMIPISO:
L1MuGMTRegMMConfig L1MuGMTReg L1MuGMTRegMMConfigISO L1MuGMTRegMMConfigMIP

Public Member Functions

 L1MuGMTRegMMConfigMIPISO (const std::string &param, MergeMethods def_brl, MergeMethods def_fwd, bool def_and_brl, bool def_and_fwd)
 
 ~L1MuGMTRegMMConfigMIPISO () override
 
- Public Member Functions inherited from L1MuGMTRegMMConfig
std::string getName () override
 get Name More...
 
 L1MuGMTRegMMConfig (const std::string &param, MergeMethods def_brl, MergeMethods def_fwd)
 
void setMergeMethod ()
 
 ~L1MuGMTRegMMConfig () override
 
- Public Member Functions inherited from L1MuGMTReg
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...
 

Additional Inherited Members

- Public Types inherited from L1MuGMTRegMMConfig
enum  MergeMethods {
  takeDTCSC, takeRPC, byRank, byMinPt,
  byCombi, Special
}
 
- Protected Attributes inherited from L1MuGMTRegMMConfig
MergeMethods m_default [2]
 
std::string m_param
 
- Protected Attributes inherited from L1MuGMTReg
std::vector< unsigned > m_value
 

Detailed Description

GMT Register that implements additional AND/OR flag.

Definition at line 190 of file L1MuGMTReg.h.

Constructor & Destructor Documentation

◆ L1MuGMTRegMMConfigMIPISO()

L1MuGMTRegMMConfigMIPISO::L1MuGMTRegMMConfigMIPISO ( const std::string &  param,
MergeMethods  def_brl,
MergeMethods  def_fwd,
bool  def_and_brl,
bool  def_and_fwd 
)
inline

Definition at line 193 of file L1MuGMTReg.h.

195  : L1MuGMTRegMMConfig(param, def_brl, def_fwd) {
196  bool doAND = false;
197 
198  if (m_param == "MIP")
200  else if (m_param == "ISO")
202  if (doAND)
203  m_value[0] |= 64;
204  if (L1MuGMTConfig::Debug(1))
205  edm::LogVerbatim("GMT_Register_Info") << " "
206  << "MergeMethod" << m_param << "SpecialUseANDBrl"
207  << " is " << doAND;
208 
209  if (m_param == "MIP")
211  else if (m_param == "ISO")
213  if (doAND)
214  m_value[1] |= 64;
215  if (L1MuGMTConfig::Debug(1))
216  edm::LogVerbatim("GMT_Register_Info") << " "
217  << "MergeMethod" << m_param << "SpecialUseANDFwd"
218  << " is " << doAND;
219  };

References L1MuGMTConfig::Debug(), L1MuGMTConfig::getGMTParams(), L1MuGMTParameters::getMergeMethodISOSpecialUseANDBrl(), L1MuGMTParameters::getMergeMethodISOSpecialUseANDFwd(), L1MuGMTParameters::getMergeMethodMIPSpecialUseANDBrl(), L1MuGMTParameters::getMergeMethodMIPSpecialUseANDFwd(), L1MuGMTRegMMConfig::m_param, and L1MuGMTReg::m_value.

◆ ~L1MuGMTRegMMConfigMIPISO()

L1MuGMTRegMMConfigMIPISO::~L1MuGMTRegMMConfigMIPISO ( )
inlineoverride

Definition at line 222 of file L1MuGMTReg.h.

222 {};
L1MuGMTConfig::getGMTParams
static const L1MuGMTParameters * getGMTParams()
Definition: L1MuGMTConfig.h:184
L1MuGMTRegMMConfig::L1MuGMTRegMMConfig
L1MuGMTRegMMConfig(const std::string &param, MergeMethods def_brl, MergeMethods def_fwd)
Definition: L1MuGMTReg.h:76
L1MuGMTRegMMConfig::m_param
std::string m_param
Definition: L1MuGMTReg.h:136
L1MuGMTParameters::getMergeMethodMIPSpecialUseANDFwd
bool getMergeMethodMIPSpecialUseANDFwd() const
Definition: L1MuGMTParameters.h:118
L1MuGMTParameters::getMergeMethodISOSpecialUseANDBrl
bool getMergeMethodISOSpecialUseANDBrl() const
Definition: L1MuGMTParameters.h:129
L1MuGMTParameters::getMergeMethodMIPSpecialUseANDBrl
bool getMergeMethodMIPSpecialUseANDBrl() const
Definition: L1MuGMTParameters.h:113
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
L1MuGMTReg::m_value
std::vector< unsigned > m_value
Definition: L1MuGMTReg.h:62
L1MuGMTParameters::getMergeMethodISOSpecialUseANDFwd
bool getMergeMethodISOSpecialUseANDFwd() const
Definition: L1MuGMTParameters.h:134
L1MuGMTConfig::Debug
static bool Debug()
Definition: L1MuGMTConfig.h:101