1 import FWCore.ParameterSet.Config
as cms
6 l1tgmt_basedir =
"L1Trigger/L1TMuon/"
7 lut_dir = os.path.join(l1tgmt_basedir,
"data/microgmt_luts/")
9 gmtParamsSource = cms.ESSource(
11 recordName = cms.string(
'L1TMuonGlobalParamsRcd'),
12 iovIsRunNotTime = cms.bool(
True),
13 firstValid = cms.vuint32(1)
16 gmtParams = cms.ESProducer(
'L1TMuonGlobalParamsESProducer',
18 uGmtProcessorId = cms.string(
'ugmt_processor'),
21 hwXmlFile = cms.string(
'L1Trigger/L1TMuon/data/o2o/ugmt/UGMT_HW.xml'),
22 topCfgXmlFile = cms.string(
'L1Trigger/L1TMuon/data/o2o/ugmt/ugmt_top_config_p5.xml'),
23 xmlCfgKey = cms.string(
'TestKey1'),
27 configFromXml = cms.bool(
False),
32 fwVersion = cms.uint32(0x4010000),
36 caloInputsDisable = cms.bool(
False),
37 bmtfInputsToDisable = cms.vuint32(0,0,0,0,0,0,0,0,0,0,0,0),
38 omtfInputsToDisable = cms.vuint32(0,0,0,0,0,0,0,0,0,0,0,0),
39 emtfInputsToDisable = cms.vuint32(0,0,0,0,0,0,0,0,0,0,0,0),
43 caloInputsMasked = cms.bool(
False),
44 maskedBmtfInputs = cms.vuint32(0,0,0,0,0,0,0,0,0,0,0,0),
45 maskedOmtfInputs = cms.vuint32(0,0,0,0,0,0,0,0,0,0,0,0),
46 maskedEmtfInputs = cms.vuint32(0,0,0,0,0,0,0,0,0,0,0,0),
51 AbsIsoCheckMemLUTPath = cms.string(os.path.join(lut_dir,
'AbsIsoCheckMem.txt')),
52 RelIsoCheckMemLUTPath = cms.string(os.path.join(lut_dir,
'RelIsoCheckMem.txt')),
53 IdxSelMemPhiLUTPath = cms.string(os.path.join(lut_dir,
'IdxSelMemPhi.txt')),
54 IdxSelMemEtaLUTPath = cms.string(os.path.join(lut_dir,
'IdxSelMemEta.txt')),
55 FwdPosSingleMatchQualLUTPath = cms.string(
''),
56 FwdNegSingleMatchQualLUTPath = cms.string(
''),
57 OvlPosSingleMatchQualLUTPath = cms.string(
''),
58 OvlNegSingleMatchQualLUTPath = cms.string(
''),
59 BOPosMatchQualLUTPath = cms.string(
''),
60 BONegMatchQualLUTPath = cms.string(
''),
61 FOPosMatchQualLUTPath = cms.string(
''),
62 FONegMatchQualLUTPath = cms.string(
''),
63 BPhiExtrapolationLUTPath = cms.string(os.path.join(lut_dir,
'BPhiExtrapolation_5eta_7pt_4out_2outshift_20170505.txt')),
64 OPhiExtrapolationLUTPath = cms.string(os.path.join(lut_dir,
'OPhiExtrapolation_5eta_7pt_4out_2outshift_20170505.txt')),
65 FPhiExtrapolationLUTPath = cms.string(os.path.join(lut_dir,
'EPhiExtrapolation_5eta_7pt_4out_2outshift_20170505.txt')),
66 BEtaExtrapolationLUTPath = cms.string(os.path.join(lut_dir,
'BEtaExtrapolation_5eta_7pt_4out_0outshift_20170505.txt')),
67 OEtaExtrapolationLUTPath = cms.string(os.path.join(lut_dir,
'OEtaExtrapolation_5eta_7pt_4out_0outshift_20170505.txt')),
68 FEtaExtrapolationLUTPath = cms.string(os.path.join(lut_dir,
'EEtaExtrapolation_5eta_7pt_4out_0outshift_20170505.txt')),
69 SortRankLUTPath = cms.string(os.path.join(lut_dir,
'SortRank.txt')),
73 FwdPosSingleMatchQualLUTMaxDR = cms.double(0.05),
74 FwdPosSingleMatchQualLUTfEta = cms.double(1),
75 FwdPosSingleMatchQualLUTfPhi = cms.double(1),
77 FwdNegSingleMatchQualLUTMaxDR = cms.double(0.05),
78 FwdNegSingleMatchQualLUTfEta = cms.double(1),
79 FwdNegSingleMatchQualLUTfPhi = cms.double(1),
81 OvlPosSingleMatchQualLUTMaxDR = cms.double(0.05),
82 OvlPosSingleMatchQualLUTfEta = cms.double(1),
83 OvlPosSingleMatchQualLUTfEtaCoarse = cms.double(1),
84 OvlPosSingleMatchQualLUTfPhi = cms.double(2),
86 OvlNegSingleMatchQualLUTMaxDR = cms.double(0.05),
87 OvlNegSingleMatchQualLUTfEta = cms.double(1),
88 OvlNegSingleMatchQualLUTfEtaCoarse = cms.double(1),
89 OvlNegSingleMatchQualLUTfPhi = cms.double(2),
91 BOPosMatchQualLUTMaxDR = cms.double(0.15),
92 BOPosMatchQualLUTfEta = cms.double(1),
93 BOPosMatchQualLUTfEtaCoarse = cms.double(1),
94 BOPosMatchQualLUTfPhi = cms.double(6),
96 BONegMatchQualLUTMaxDR = cms.double(0.15),
97 BONegMatchQualLUTfEta = cms.double(1),
98 BONegMatchQualLUTfEtaCoarse = cms.double(1),
99 BONegMatchQualLUTfPhi = cms.double(6),
101 FOPosMatchQualLUTMaxDR = cms.double(0.075),
102 FOPosMatchQualLUTfEta = cms.double(1),
103 FOPosMatchQualLUTfEtaCoarse = cms.double(1),
104 FOPosMatchQualLUTfPhi = cms.double(3),
106 FONegMatchQualLUTMaxDR = cms.double(0.075),
107 FONegMatchQualLUTfEta = cms.double(1),
108 FONegMatchQualLUTfEtaCoarse = cms.double(1),
109 FONegMatchQualLUTfPhi = cms.double(3),
113 SortRankLUTPtFactor = cms.uint32(1),
114 SortRankLUTQualFactor = cms.uint32(4),