20 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTReg_h 21 #define L1TriggerGlobalMuonTrigger_L1MuGMTReg_h 81 m_default[0] = def_brl;
82 m_default[1] = def_fwd;
94 static MergeMethods avlMethods[6] = { takeDTCSC, takeRPC, byRank, byMinPt, byCombi, Special };
95 std::string mn[6] = {
"takeDT",
"takeRPC",
"byRank",
"byMinPt",
"byCombi",
"Special" };
105 for(
int ii=0;
ii<6;
ii++)
if(mm_str == mn[
ii]) {mm = avlMethods[
ii];
break;}
108 <<
"MergeMethod" << m_param <<
"Brl" 110 <<
"( value " <<
m_value[0] <<
" )";
118 for(
int ii=0; ii<6; ii++)
if(mm_str == mn[ii]) {mm = avlMethods[
ii];
break;}
121 <<
"MergeMethod" << m_param <<
"Fwd" 123 <<
"( value " << m_value[1] <<
" )";
194 <<
"MergeMethod" << m_param <<
"SpecialUseANDBrl" 201 <<
"MergeMethod" << m_param <<
"SpecialUseANDFwd" 246 if (haloOverwrites)
m_value[0] |= 64;
248 <<
"HaloOverwritesMatchedBrl" 249 <<
" is " << haloOverwrites;
252 if (haloOverwrites)
m_value[1] |= 64;
254 <<
"HaloOverwritesMatchedFwd" 255 <<
" is " << haloOverwrites;
L1MuGMTRegMMConfigCharge()
bool getHaloOverwritesMatchedBrl() const
const std::string & getMergeMethodPtFwd() const
~L1MuGMTRegSortRankOffset() override
std::string getName() override
get Name
~L1MuGMTRegMMConfigMIPISO() override
const std::string & getMergeMethodPhiBrl() const
std::string getName() override
get Name
GMT Register that implements additional AND/OR flag.
GMT Merge Method Config Register Phi.
~L1MuGMTRegCDLConfig() override
const std::string & getMergeMethodEtaBrl() const
L1MuGMTRegSortRankOffset()
const std::string & getMergeMethodEtaFwd() const
unsigned getValue(int idx)
get Value
~L1MuGMTRegMMConfigSRK() override
L1MuGMTReg(int ninst=2)
default constructor
bool getHaloOverwritesMatchedFwd() const
GMT Register that implements enum of merge methods.
GMT Merge Method Config Register Charge.
unsigned getCDLConfigWordbRPCCSC() const
GMT Merge Method Config Register ISO.
std::vector< unsigned > m_value
unsigned getSortRankOffsetBrl() const
std::string getName() override
get Name
const std::string & getMergeMethodPhiFwd() const
unsigned getSortRankOffsetFwd() const
bool getMergeMethodMIPSpecialUseANDBrl() const
unsigned getCDLConfigWordDTCSC() const
GMT Register that implements Rank offset for merged cands.
GMT Register that implements Configuration of Cancel Decisison Logic.
GMT Register that implements additional Halo Overwrites Matched bit.
unsigned getCDLConfigWordCSCDT() const
bool getMergeMethodISOSpecialUseANDBrl() const
GMT Merge Method Config Register Eta.
const std::string & getMergeMethodChargeBrl() const
static const L1MuGMTParameters * getGMTParams()
unsigned getCDLConfigWordfRPCDT() const
unsigned getNumberOfInstances()
get number on instances
GMT Merge Method Config Register Pt.
bool getMergeMethodISOSpecialUseANDFwd() const
GMT Merge Method Config Register MIP.
virtual ~L1MuGMTReg()
destructor
~L1MuGMTRegMMConfig() override
L1MuGMTRegMMConfigMIPISO(const std::string ¶m, MergeMethods def_brl, MergeMethods def_fwd, bool def_and_brl, bool def_and_fwd)
L1MuGMTRegMMConfig(const std::string ¶m, MergeMethods def_brl, MergeMethods def_fwd)
bool getMergeMethodMIPSpecialUseANDFwd() const
const std::string & getMergeMethodPtBrl() const
const std::string & getMergeMethodChargeFwd() const
virtual std::string getName()=0
get Name