34 std::unique_ptr<L1MuGMTParameters>
37 using namespace edm::es;
39 std::unique_ptr<L1MuGMTParameters> gmtparams = std::unique_ptr<L1MuGMTParameters>(
new L1MuGMTParameters() );
41 gmtparams->setEtaWeight_barrel(
m_ps->
getParameter<
double>(
"EtaWeight_barrel"));
42 gmtparams->setPhiWeight_barrel(
m_ps->
getParameter<
double>(
"PhiWeight_barrel"));
43 gmtparams->setEtaPhiThreshold_barrel(
m_ps->
getParameter<
double>(
"EtaPhiThreshold_barrel"));
44 gmtparams->setEtaWeight_endcap(
m_ps->
getParameter<
double>(
"EtaWeight_endcap"));
45 gmtparams->setPhiWeight_endcap(
m_ps->
getParameter<
double>(
"PhiWeight_endcap"));
46 gmtparams->setEtaPhiThreshold_endcap(
m_ps->
getParameter<
double>(
"EtaPhiThreshold_endcap"));
49 gmtparams->setEtaPhiThreshold_COU(
m_ps->
getParameter<
double>(
"EtaPhiThreshold_COU"));
51 gmtparams->setIsolationCellSizeEta(
m_ps->
getParameter<
int>(
"IsolationCellSizeEta"));
52 gmtparams->setIsolationCellSizePhi(
m_ps->
getParameter<
int>(
"IsolationCellSizePhi"));
65 gmtparams->setMergeMethodMIPSpecialUseANDBrl(
m_ps->
getParameter<
bool>(
"MergeMethodMIPSpecialUseANDBrl"));
66 gmtparams->setMergeMethodMIPSpecialUseANDFwd(
m_ps->
getParameter<
bool>(
"MergeMethodMIPSpecialUseANDFwd"));
69 gmtparams->setMergeMethodISOSpecialUseANDBrl(
m_ps->
getParameter<
bool>(
"MergeMethodISOSpecialUseANDBrl"));
70 gmtparams->setMergeMethodISOSpecialUseANDFwd(
m_ps->
getParameter<
bool>(
"MergeMethodISOSpecialUseANDFwd"));
73 gmtparams->setHaloOverwritesMatchedBrl(
m_ps->
getParameter<
bool>(
"HaloOverwritesMatchedBrl"));
74 gmtparams->setHaloOverwritesMatchedFwd(
m_ps->
getParameter<
bool>(
"HaloOverwritesMatchedFwd"));
75 gmtparams->setSortRankOffsetBrl(
m_ps->
getParameter<
unsigned>(
"SortRankOffsetBrl"));
76 gmtparams->setSortRankOffsetFwd(
m_ps->
getParameter<
unsigned>(
"SortRankOffsetFwd"));
77 gmtparams->setCDLConfigWordDTCSC(
m_ps->
getParameter<
unsigned>(
"CDLConfigWordDTCSC"));
78 gmtparams->setCDLConfigWordCSCDT(
m_ps->
getParameter<
unsigned>(
"CDLConfigWordCSCDT"));
79 gmtparams->setCDLConfigWordbRPCCSC(
m_ps->
getParameter<
unsigned>(
"CDLConfigWordbRPCCSC"));
80 gmtparams->setCDLConfigWordfRPCDT(
m_ps->
getParameter<
unsigned>(
"CDLConfigWordfRPCDT"));
81 gmtparams->setVersionSortRankEtaQLUT(
m_ps->
getParameter<
unsigned>(
"VersionSortRankEtaQLUT"));
87 std::unique_ptr<L1MuGMTChannelMask>
90 using namespace edm::es;
92 std::unique_ptr<L1MuGMTChannelMask> gmtchanmask = std::unique_ptr<L1MuGMTChannelMask>(
new L1MuGMTChannelMask() );
94 gmtchanmask->setSubsystemMask(
m_ps->
getParameter<
unsigned>(
"SubsystemMask"));
T getParameter(std::string const &) const
std::unique_ptr< L1MuGMTParameters > produceL1MuGMTParameters(const L1MuGMTParametersRcd &)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
L1MuGMTParametersProducer(const edm::ParameterSet &)
std::unique_ptr< L1MuGMTChannelMask > produceL1MuGMTChannelMask(const L1MuGMTChannelMaskRcd &)
~L1MuGMTParametersProducer()