File indexing completed on 2024-04-06 12:20:55
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 simEmtfDigisMC = cms.EDProducer("L1TMuonEndCapTrackProducer",
0013
0014 verbosity = cms.untracked.int32(0),
0015
0016
0017 FWConfig = cms.bool(True),
0018
0019
0020 Era = cms.string('Run2_2018'),
0021
0022
0023 UseRun3CCLUT_OTMB = cms.bool(False),
0024 UseRun3CCLUT_TMB = cms.bool(False),
0025
0026
0027
0028
0029
0030
0031 DTPhiInput = cms.InputTag('simTwinMuxDigis'),
0032 DTThetaInput = cms.InputTag('simDtTriggerPrimitiveDigis'),
0033 CSCInput = cms.InputTag('simCscTriggerPrimitiveDigis','MPCSORTED'),
0034 CSCComparatorInput = cms.InputTag('simMuonCSCDigis','MuonCSCComparatorDigi'),
0035 RPCInput = cms.InputTag('simMuonRPCDigis'),
0036 CPPFInput = cms.InputTag('simCPPFDigis'),
0037 GEMInput = cms.InputTag('simMuonGEMPadDigiClusters'),
0038 ME0Input = cms.InputTag('me0TriggerConvertedPseudoDigis'),
0039
0040
0041 DTEnable = cms.bool(False),
0042 CSCEnable = cms.bool(True),
0043 RPCEnable = cms.bool(True),
0044 IRPCEnable = cms.bool(False),
0045 CPPFEnable = cms.bool(False),
0046 GEMEnable = cms.bool(False),
0047 ME0Enable = cms.bool(False),
0048
0049
0050 MinBX = cms.int32(-3),
0051 MaxBX = cms.int32(+3),
0052 BXWindow = cms.int32(2),
0053
0054
0055 CSCInputBXShift = cms.int32(-8),
0056 RPCInputBXShift = cms.int32(0),
0057 GEMInputBXShift = cms.int32(0),
0058 ME0InputBXShift = cms.int32(-8),
0059
0060
0061 spPCParams16 = cms.PSet(
0062 ZoneBoundaries = cms.vint32(0,41,49,87,127),
0063
0064 ZoneOverlap = cms.int32(2),
0065 IncludeNeighbor = cms.bool(True),
0066 DuplicateTheta = cms.bool(True),
0067 FixZonePhi = cms.bool(True),
0068 UseNewZones = cms.bool(False),
0069 FixME11Edges = cms.bool(True),
0070 ),
0071
0072
0073 spPRParams16 = cms.PSet(
0074 PatternDefinitions = cms.vstring(
0075
0076
0077
0078 "4,15:15,7:7,7:7,7:7",
0079 "3,16:16,7:7,7:6,7:6",
0080 "3,14:14,7:7,8:7,8:7",
0081 "2,18:17,7:7,7:5,7:5",
0082 "2,13:12,7:7,10:7,10:7",
0083 "1,22:19,7:7,7:0,7:0",
0084 "1,11:8,7:7,14:7,14:7",
0085 "0,30:23,7:7,7:0,7:0",
0086 "0,7:0,7:7,14:7,14:7",
0087 ),
0088 SymPatternDefinitions = cms.vstring(
0089
0090 "4,15:15:15:15,7:7:7:7,7:7:7:7,7:7:7:7",
0091 "3,16:16:14:14,7:7:7:7,8:7:7:6,8:7:7:6",
0092 "2,18:17:13:12,7:7:7:7,10:7:7:4,10:7:7:4",
0093 "1,22:19:11:8,7:7:7:7,14:7:7:0,14:7:7:0",
0094 "0,30:23:7:0,7:7:7:7,14:7:7:0,14:7:7:0",
0095 ),
0096 UseSymmetricalPatterns = cms.bool(True),
0097 ),
0098
0099
0100 spTBParams16 = cms.PSet(
0101 ThetaWindow = cms.int32(8),
0102 ThetaWindowZone0 = cms.int32(4),
0103 UseSingleHits = cms.bool(False),
0104 BugSt2PhDiff = cms.bool(False),
0105 BugME11Dupes = cms.bool(False),
0106 BugAmbigThetaWin = cms.bool(False),
0107 TwoStationSameBX = cms.bool(True),
0108 ),
0109
0110
0111 spGCParams16 = cms.PSet(
0112 MaxRoadsPerZone = cms.int32(3),
0113 MaxTracks = cms.int32(3),
0114 UseSecondEarliest = cms.bool(True),
0115 BugSameSectorPt0 = cms.bool(False),
0116 ),
0117
0118
0119 spPAParams16 = cms.PSet(
0120 ReadPtLUTFile = cms.bool(False),
0121 FixMode15HighPt = cms.bool(True),
0122 Bug9BitDPhi = cms.bool(False),
0123 BugMode7CLCT = cms.bool(False),
0124 BugNegPt = cms.bool(False),
0125 BugGMTPhi = cms.bool(False),
0126 PromoteMode7 = cms.bool(False),
0127 ModeQualVer = cms.int32(2),
0128
0129 ProtobufFileName = cms.string('model_graph.displ.16.pb'),
0130 ),
0131
0132 )
0133
0134 simEmtfDigisData = simEmtfDigisMC.clone(
0135 DTPhiInput = cms.InputTag('bmtfDigis'),
0136 DTThetaInput = cms.InputTag('bmtfDigis'),
0137 CSCInput = cms.InputTag('emtfStage2Digis'),
0138 CSCComparatorInput = cms.InputTag('muonCSCDigis','MuonCSCComparatorDigi'),
0139 RPCInput = cms.InputTag('muonRPCDigis'),
0140 CPPFInput = cms.InputTag('emtfStage2Digis'),
0141
0142 CPPFEnable = cms.bool(True),
0143
0144 )
0145
0146 simEmtfDigis = simEmtfDigisMC.clone()
0147
0148
0149
0150
0151
0152
0153
0154 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
0155 stage2L1Trigger.toModify(simEmtfDigis, RPCEnable = False, Era = 'Run2_2016')
0156
0157
0158 from Configuration.Eras.Modifier_stage2L1Trigger_2017_cff import stage2L1Trigger_2017
0159 stage2L1Trigger_2017.toModify(simEmtfDigis, RPCEnable = True, Era = 'Run2_2017')
0160
0161
0162 from Configuration.Eras.Modifier_stage2L1Trigger_2018_cff import stage2L1Trigger_2018
0163 stage2L1Trigger_2018.toModify(simEmtfDigis, RPCEnable = True, Era = 'Run2_2018')
0164
0165
0166 from Configuration.Eras.Modifier_stage2L1Trigger_2021_cff import stage2L1Trigger_2021
0167 stage2L1Trigger_2021.toModify(simEmtfDigis, RPCEnable = True, UseRun3CCLUT_OTMB = True, Era = 'Run3_2021')