36 std::auto_ptr<L1MuGMTParameters>
39 using namespace edm::es;
41 std::auto_ptr<L1MuGMTParameters> gmtparams = std::auto_ptr<L1MuGMTParameters>(
new L1MuGMTParameters() );
43 gmtparams->setEtaWeight_barrel(
m_ps->
getParameter<
double>(
"EtaWeight_barrel"));
44 gmtparams->setPhiWeight_barrel(
m_ps->
getParameter<
double>(
"PhiWeight_barrel"));
45 gmtparams->setEtaPhiThreshold_barrel(
m_ps->
getParameter<
double>(
"EtaPhiThreshold_barrel"));
46 gmtparams->setEtaWeight_endcap(
m_ps->
getParameter<
double>(
"EtaWeight_endcap"));
47 gmtparams->setPhiWeight_endcap(
m_ps->
getParameter<
double>(
"PhiWeight_endcap"));
48 gmtparams->setEtaPhiThreshold_endcap(
m_ps->
getParameter<
double>(
"EtaPhiThreshold_endcap"));
51 gmtparams->setEtaPhiThreshold_COU(
m_ps->
getParameter<
double>(
"EtaPhiThreshold_COU"));
53 gmtparams->setIsolationCellSizeEta(
m_ps->
getParameter<
int>(
"IsolationCellSizeEta"));
54 gmtparams->setIsolationCellSizePhi(
m_ps->
getParameter<
int>(
"IsolationCellSizePhi"));
57 gmtparams->setMergeMethodPhiBrl(
m_ps->
getParameter<std::string>(
"MergeMethodPhiBrl"));
58 gmtparams->setMergeMethodPhiFwd(
m_ps->
getParameter<std::string>(
"MergeMethodPhiFwd"));
59 gmtparams->setMergeMethodEtaBrl(
m_ps->
getParameter<std::string>(
"MergeMethodEtaBrl"));
60 gmtparams->setMergeMethodEtaFwd(
m_ps->
getParameter<std::string>(
"MergeMethodEtaFwd"));
61 gmtparams->setMergeMethodPtBrl(
m_ps->
getParameter<std::string>(
"MergeMethodPtBrl"));
62 gmtparams->setMergeMethodPtFwd(
m_ps->
getParameter<std::string>(
"MergeMethodPtFwd"));
63 gmtparams->setMergeMethodChargeBrl(
m_ps->
getParameter<std::string>(
"MergeMethodChargeBrl"));
64 gmtparams->setMergeMethodChargeFwd(
m_ps->
getParameter<std::string>(
"MergeMethodChargeFwd"));
65 gmtparams->setMergeMethodMIPBrl(
m_ps->
getParameter<std::string>(
"MergeMethodMIPBrl"));
66 gmtparams->setMergeMethodMIPFwd(
m_ps->
getParameter<std::string>(
"MergeMethodMIPFwd"));
67 gmtparams->setMergeMethodMIPSpecialUseANDBrl(
m_ps->
getParameter<
bool>(
"MergeMethodMIPSpecialUseANDBrl"));
68 gmtparams->setMergeMethodMIPSpecialUseANDFwd(
m_ps->
getParameter<
bool>(
"MergeMethodMIPSpecialUseANDFwd"));
69 gmtparams->setMergeMethodISOBrl(
m_ps->
getParameter<std::string>(
"MergeMethodISOBrl"));
70 gmtparams->setMergeMethodISOFwd(
m_ps->
getParameter<std::string>(
"MergeMethodISOFwd"));
71 gmtparams->setMergeMethodISOSpecialUseANDBrl(
m_ps->
getParameter<
bool>(
"MergeMethodISOSpecialUseANDBrl"));
72 gmtparams->setMergeMethodISOSpecialUseANDFwd(
m_ps->
getParameter<
bool>(
"MergeMethodISOSpecialUseANDFwd"));
73 gmtparams->setMergeMethodSRKBrl(
m_ps->
getParameter<std::string>(
"MergeMethodSRKBrl"));
74 gmtparams->setMergeMethodSRKFwd(
m_ps->
getParameter<std::string>(
"MergeMethodSRKFwd"));
75 gmtparams->setHaloOverwritesMatchedBrl(
m_ps->
getParameter<
bool>(
"HaloOverwritesMatchedBrl"));
76 gmtparams->setHaloOverwritesMatchedFwd(
m_ps->
getParameter<
bool>(
"HaloOverwritesMatchedFwd"));
77 gmtparams->setSortRankOffsetBrl(
m_ps->
getParameter<
unsigned>(
"SortRankOffsetBrl"));
78 gmtparams->setSortRankOffsetFwd(
m_ps->
getParameter<
unsigned>(
"SortRankOffsetFwd"));
79 gmtparams->setCDLConfigWordDTCSC(
m_ps->
getParameter<
unsigned>(
"CDLConfigWordDTCSC"));
80 gmtparams->setCDLConfigWordCSCDT(
m_ps->
getParameter<
unsigned>(
"CDLConfigWordCSCDT"));
81 gmtparams->setCDLConfigWordbRPCCSC(
m_ps->
getParameter<
unsigned>(
"CDLConfigWordbRPCCSC"));
82 gmtparams->setCDLConfigWordfRPCDT(
m_ps->
getParameter<
unsigned>(
"CDLConfigWordfRPCDT"));
83 gmtparams->setVersionSortRankEtaQLUT(
m_ps->
getParameter<
unsigned>(
"VersionSortRankEtaQLUT"));
89 std::auto_ptr<L1MuGMTChannelMask>
92 using namespace edm::es;
94 std::auto_ptr<L1MuGMTChannelMask> gmtchanmask = std::auto_ptr<L1MuGMTChannelMask>(
new L1MuGMTChannelMask() );
96 gmtchanmask->setSubsystemMask(
m_ps->
getParameter<
unsigned>(
"SubsystemMask"));
T getParameter(std::string const &) const
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
std::auto_ptr< L1MuGMTChannelMask > produceL1MuGMTChannelMask(const L1MuGMTChannelMaskRcd &)
L1MuGMTParametersProducer(const edm::ParameterSet &)
~L1MuGMTParametersProducer()
std::auto_ptr< L1MuGMTParameters > produceL1MuGMTParameters(const L1MuGMTParametersRcd &)