CMS 3D CMS Logo

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

List of all members.

Public Member Functions

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

Detailed Description

GMT Register that implements additional AND/OR flag.

Definition at line 183 of file L1MuGMTReg.h.


Constructor & Destructor Documentation

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

Definition at line 187 of file L1MuGMTReg.h.

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

                                                                                                                                   :
    L1MuGMTRegMMConfig(param, def_brl, def_fwd) { 

    bool doAND = false;
    
    if(m_param=="MIP")      doAND = L1MuGMTConfig::getGMTParams()->getMergeMethodMIPSpecialUseANDBrl();
    else if(m_param=="ISO") doAND = L1MuGMTConfig::getGMTParams()->getMergeMethodISOSpecialUseANDBrl();
    if(doAND) m_value[0] |= 64;
    if ( L1MuGMTConfig::Debug(1) ) edm::LogVerbatim("GMT_Register_Info") << " "
                      << "MergeMethod" << m_param  << "SpecialUseANDBrl"
                      << " is " << doAND;

    if(m_param=="MIP")      doAND = L1MuGMTConfig::getGMTParams()->getMergeMethodMIPSpecialUseANDFwd();
    else if(m_param=="ISO") doAND = L1MuGMTConfig::getGMTParams()->getMergeMethodISOSpecialUseANDFwd();
    if(doAND) m_value[1] |= 64;
    if ( L1MuGMTConfig::Debug(1) ) edm::LogVerbatim("GMT_Register_Info") << " "
                      << "MergeMethod" << m_param  << "SpecialUseANDFwd"
                      << " is " << doAND;

  };
virtual L1MuGMTRegMMConfigMIPISO::~L1MuGMTRegMMConfigMIPISO ( ) [inline, virtual]

Definition at line 209 of file L1MuGMTReg.h.

{};