1 import FWCore.ParameterSet.Config
as cms
5 l1tgmt_basedir =
"L1Trigger/L1TMuon/"
6 lut_dir = os.path.join(l1tgmt_basedir,
"data/microgmt_luts/")
8 microGMTEmulator = cms.EDProducer(
'l1t::L1TMicroGMTProducer',
9 barrelTFInput = cms.InputTag(
"L1TMicroGMTInputProducer",
"BarrelTFMuons"),
10 overlapTFInput = cms.InputTag(
"L1TMicroGMTInputProducer",
"OverlapTFMuons"),
11 forwardTFInput = cms.InputTag(
"L1TMicroGMTInputProducer",
"ForwardTFMuons"),
12 triggerTowerInput = cms.InputTag(
"L1TMicroGMTInputProducer",
"TriggerTowerSums"),
14 AbsIsoCheckMemLUTSettings = cms.PSet (
15 areaSum_in_width = cms.int32(5),
16 out_width = cms.int32(1),
17 filename = cms.string(os.path.join(lut_dir,
'AbsIsoCheckMem.lut')),
20 IdxSelMemPhiLUTSettings = cms.PSet (
21 phi_in_width = cms.int32(10),
22 out_width = cms.int32(6),
23 filename = cms.string(os.path.join(lut_dir,
'IdxSelMemPhi.lut')),
26 FwdPosSingleMatchQualLUTSettings = cms.PSet (
27 deltaEtaRed_in_width = cms.int32(4),
28 deltaPhiRed_in_width = cms.int32(3),
29 out_width = cms.int32(1),
30 filename = cms.string(os.path.join(lut_dir,
'FwdPosSingleMatchQual.lut')),
33 BONegMatchQualLUTSettings = cms.PSet (
34 deltaEtaRed_in_width = cms.int32(4),
35 deltaPhiRed_in_width = cms.int32(3),
36 out_width = cms.int32(1),
37 filename = cms.string(os.path.join(lut_dir,
'BONegMatchQual.lut')),
40 OvlNegSingleMatchQualLUTSettings = cms.PSet (
41 deltaEtaRed_in_width = cms.int32(4),
42 deltaPhiRed_in_width = cms.int32(3),
43 out_width = cms.int32(1),
44 filename = cms.string(os.path.join(lut_dir,
'OvlNegSingleMatchQual.lut')),
47 IdxSelMemEtaLUTSettings = cms.PSet (
48 eta_in_width = cms.int32(9),
49 out_width = cms.int32(5),
50 filename = cms.string(os.path.join(lut_dir,
'IdxSelMemEta.lut')),
53 FOPosMatchQualLUTSettings = cms.PSet (
54 deltaEtaRed_in_width = cms.int32(4),
55 deltaPhiRed_in_width = cms.int32(3),
56 out_width = cms.int32(1),
57 filename = cms.string(os.path.join(lut_dir,
'FOPosMatchQual.lut')),
60 FwdNegSingleMatchQualLUTSettings = cms.PSet (
61 deltaEtaRed_in_width = cms.int32(4),
62 deltaPhiRed_in_width = cms.int32(3),
63 out_width = cms.int32(1),
64 filename = cms.string(os.path.join(lut_dir,
'FwdNegSingleMatchQual.lut')),
67 BPhiExtrapolationLUTSettings = cms.PSet (
68 etaAbsRed_in_width = cms.int32(6),
69 pTred_in_width = cms.int32(6),
70 out_width = cms.int32(4),
71 filename = cms.string(os.path.join(lut_dir,
'BPhiExtrapolation.lut')),
74 BrlSingleMatchQualLUTSettings = cms.PSet (
75 deltaEtaRed_in_width = cms.int32(4),
76 deltaPhiRed_in_width = cms.int32(3),
77 out_width = cms.int32(1),
78 filename = cms.string(os.path.join(lut_dir,
'BrlSingleMatchQual.lut')),
81 RelIsoCheckMemLUTSettings = cms.PSet (
82 areaSum_in_width = cms.int32(5),
83 pT_in_width = cms.int32(9),
84 out_width = cms.int32(1),
85 filename = cms.string(os.path.join(lut_dir,
'RelIsoCheckMem.lut')),
88 OPhiExtrapolationLUTSettings = cms.PSet (
89 etaAbsRed_in_width = cms.int32(6),
90 pTred_in_width = cms.int32(6),
91 out_width = cms.int32(4),
92 filename = cms.string(os.path.join(lut_dir,
'OPhiExtrapolation.lut')),
95 OvlPosSingleMatchQualLUTSettings = cms.PSet (
96 deltaEtaRed_in_width = cms.int32(4),
97 deltaPhiRed_in_width = cms.int32(3),
98 out_width = cms.int32(1),
99 filename = cms.string(os.path.join(lut_dir,
'OvlPosSingleMatchQual.lut')),
102 FEtaExtrapolationLUTSettings = cms.PSet (
103 etaAbsRed_in_width = cms.int32(6),
104 pTred_in_width = cms.int32(6),
105 out_width = cms.int32(4),
106 filename = cms.string(os.path.join(lut_dir,
'FEtaExtrapolation.lut')),
109 BOPosMatchQualLUTSettings = cms.PSet (
110 deltaEtaRed_in_width = cms.int32(4),
111 deltaPhiRed_in_width = cms.int32(3),
112 out_width = cms.int32(1),
113 filename = cms.string(os.path.join(lut_dir,
'BOPosMatchQual.lut')),
116 OEtaExtrapolationLUTSettings = cms.PSet (
117 etaAbsRed_in_width = cms.int32(6),
118 pTred_in_width = cms.int32(6),
119 out_width = cms.int32(4),
120 filename = cms.string(os.path.join(lut_dir,
'OEtaExtrapolation.lut')),
123 BEtaExtrapolationLUTSettings = cms.PSet (
124 etaAbsRed_in_width = cms.int32(6),
125 pTred_in_width = cms.int32(6),
126 out_width = cms.int32(4),
127 filename = cms.string(os.path.join(lut_dir,
'BEtaExtrapolation.lut')),
130 FPhiExtrapolationLUTSettings = cms.PSet (
131 etaAbsRed_in_width = cms.int32(6),
132 pTred_in_width = cms.int32(6),
133 out_width = cms.int32(4),
134 filename = cms.string(os.path.join(lut_dir,
'FPhiExtrapolation.lut')),
137 FONegMatchQualLUTSettings = cms.PSet (
138 deltaEtaRed_in_width = cms.int32(4),
139 deltaPhiRed_in_width = cms.int32(3),
140 out_width = cms.int32(1),
141 filename = cms.string(os.path.join(lut_dir,
'FONegMatchQual.lut')),
144 SortRankLUTSettings = cms.PSet (
145 pT_in_width = cms.int32(9),
146 qual_in_width = cms.int32(4),
147 out_width = cms.int32(10),
148 filename = cms.string(os.path.join(lut_dir,
'SortRank.lut')),