File indexing completed on 2024-09-12 04:16:41
0001 import FWCore.ParameterSet.VarParsing as VarParsing
0002 import FWCore.ParameterSet.Config as cms
0003
0004 process = cms.Process('L1Test')
0005
0006
0007 process.source = cms.Source("EmptySource")
0008 process.maxEvents = cms.untracked.PSet(input=cms.untracked.int32(94))
0009
0010 options = VarParsing.VarParsing()
0011 options.register ("platform",
0012 "VU9P",
0013 VarParsing.VarParsing.multiplicity.singleton,
0014 VarParsing.VarParsing.varType.string)
0015 options.parseArguments()
0016
0017
0018 process.l1tGTProducer = cms.EDProducer(
0019 "L1GTEvaluationProducer",
0020 inputFilename=cms.untracked.string("inputPattern"),
0021 outputFilename=cms.untracked.string("outputObjectPattern"),
0022 random_seed=cms.untracked.uint32(0),
0023 maxFrames=cms.untracked.uint32(1024)
0024 )
0025
0026 process.l1t_GTProducer = cms.Path(process.l1tGTProducer)
0027
0028 from L1Trigger.Phase2L1GT.l1tGTSingleInOutLUT import COSH_ETA_LUT, COSH_ETA_LUT_2, COS_PHI_LUT
0029
0030 COSH_ETA_LUT.export("coshEtaLUT.mem")
0031 COSH_ETA_LUT_2.export("coshEtaLUT2.mem")
0032 COS_PHI_LUT.export("cosPhiLUT.mem")
0033
0034 from L1Trigger.Phase2L1GT.l1tGTSingleObjectCond_cfi import l1tGTSingleObjectCond
0035 from L1Trigger.Phase2L1GT.l1tGTDoubleObjectCond_cfi import l1tGTDoubleObjectCond
0036 from L1Trigger.Phase2L1GT.l1tGTTripleObjectCond_cfi import l1tGTTripleObjectCond
0037 from L1Trigger.Phase2L1GT.l1tGTQuadObjectCond_cfi import l1tGTQuadObjectCond
0038
0039 l1tGTDoubleObjectCond.sanity_checks = cms.untracked.bool(True)
0040 l1tGTDoubleObjectCond.inv_mass_checks = cms.untracked.bool(True)
0041
0042 l1tGTTripleObjectCond.sanity_checks = cms.untracked.bool(True)
0043 l1tGTTripleObjectCond.inv_mass_checks = cms.untracked.bool(True)
0044
0045 l1tGTQuadObjectCond.sanity_checks = cms.untracked.bool(True)
0046 l1tGTQuadObjectCond.inv_mass_checks = cms.untracked.bool(True)
0047
0048
0049
0050 process._singleTkMu_14_er2p3 = l1tGTSingleObjectCond.clone(
0051 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0052 minPt=cms.double(14),
0053 minEta=cms.double(-2.3),
0054 maxEta=cms.double(2.3),
0055 )
0056
0057 process._doubleJet_3_9_dEta_Max1p6_OS = l1tGTDoubleObjectCond.clone(
0058 collection1=cms.PSet(
0059 tag=cms.InputTag("l1tGTProducer", "GCTJets"),
0060 minPt=cms.double(3),
0061 ),
0062 collection2=cms.PSet(
0063 tag=cms.InputTag("l1tGTProducer", "GCTJets"),
0064 minPt=cms.double(9),
0065 ),
0066 maxDEta=cms.double(1.6),
0067 )
0068
0069 process._doubleTau_5_9_q2_4_SS = l1tGTDoubleObjectCond.clone(
0070 collection1=cms.PSet(
0071 tag=cms.InputTag("l1tGTProducer", "CL2Taus"),
0072 minPt=cms.double(5),
0073
0074 ),
0075 collection2=cms.PSet(
0076 tag=cms.InputTag("l1tGTProducer", "CL2Taus"),
0077 minPt=cms.double(9),
0078
0079 ),
0080 ss=cms.bool(True),
0081 )
0082
0083 process._doubleMu_11_9_q2_4 = l1tGTDoubleObjectCond.clone(
0084 collection1=cms.PSet(
0085 tag=cms.InputTag("l1tGTProducer", "GMTSaPromptMuons"),
0086 minPt=cms.double(11),
0087
0088 ),
0089 collection2=cms.PSet(
0090 tag=cms.InputTag("l1tGTProducer", "GMTSaPromptMuons"),
0091 minPt=cms.double(9),
0092
0093 ),
0094 )
0095
0096 process._doubleMuEl_11_9_q2_4_OS = l1tGTDoubleObjectCond.clone(
0097 collection1=cms.PSet(
0098 tag=cms.InputTag("l1tGTProducer", "GMTSaPromptMuons"),
0099 minPt=cms.double(11),
0100
0101 ),
0102 collection2=cms.PSet(
0103 tag=cms.InputTag("l1tGTProducer", "CL2Electrons"),
0104 minPt=cms.double(9),
0105
0106 ),
0107 os=cms.bool(True),
0108 )
0109
0110 process._doubleMu_11_9_combPt_19 = l1tGTDoubleObjectCond.clone(
0111 collection1=cms.PSet(
0112 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0113 minPt=cms.double(11),
0114 ),
0115 collection2=cms.PSet(
0116 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0117 minPt=cms.double(9),
0118 ),
0119 minCombPt=cms.double(19)
0120 )
0121
0122 process._doubleMuEl_11_9_SS = l1tGTDoubleObjectCond.clone(
0123 collection1=cms.PSet(
0124 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0125 minPt=cms.double(11),
0126 ),
0127 collection2=cms.PSet(
0128 tag=cms.InputTag("l1tGTProducer", "CL2Electrons"),
0129 minPt=cms.double(9),
0130 ),
0131 ss=cms.bool(True),
0132 )
0133
0134 process._doubleJetGamma_11_9_pr_0p2to1p8_1to3 = l1tGTDoubleObjectCond.clone(
0135 collection1=cms.PSet(
0136 tag=cms.InputTag("l1tGTProducer", "GCTIsoEg"),
0137 minPt=cms.double(11),
0138 minPhi=cms.double(0.2),
0139 maxPhi=cms.double(1.8),
0140 ),
0141 collection2=cms.PSet(
0142 tag=cms.InputTag("l1tGTProducer", "GCTJets"),
0143 minPt=cms.double(9),
0144 minPhi=cms.double(1),
0145 maxPhi=cms.double(3),
0146 ),
0147 )
0148
0149 process._doubleMuTau_2_9_er_1to3_3to3p3 = l1tGTDoubleObjectCond.clone(
0150 collection1=cms.PSet(
0151 tag=cms.InputTag("l1tGTProducer", "GMTSaPromptMuons"),
0152 minPt=cms.double(2),
0153 minEta=cms.double(1),
0154 maxEta=cms.double(3),
0155 ),
0156 collection2=cms.PSet(
0157 tag=cms.InputTag("l1tGTProducer", "CL2Taus"),
0158 minPt=cms.double(9),
0159 minEta=cms.double(3),
0160 maxEta=cms.double(3.3),
0161 ),
0162 )
0163
0164 process._doubleMuEl_2_9_dEtaMin2 = l1tGTDoubleObjectCond.clone(
0165 collection1=cms.PSet(
0166 tag=cms.InputTag("l1tGTProducer", "GMTSaPromptMuons"),
0167 minPt=cms.double(2),
0168 ),
0169 collection2=cms.PSet(
0170 tag=cms.InputTag("l1tGTProducer", "CL2Electrons"),
0171 minPt=cms.double(9),
0172 ),
0173 minDEta=cms.double(2),
0174 )
0175
0176 process._doubleElGamma_2_9_dPhiMin2 = l1tGTDoubleObjectCond.clone(
0177 collection1=cms.PSet(
0178 tag=cms.InputTag("l1tGTProducer", "GCTIsoEg"),
0179 minPt=cms.double(2),
0180 ),
0181 collection2=cms.PSet(
0182 tag=cms.InputTag("l1tGTProducer", "CL2Taus"),
0183 minPt=cms.double(9),
0184 ),
0185 minDPhi=cms.double(2),
0186 )
0187
0188 process._doubleMuEl_2_9_dRMin2 = l1tGTDoubleObjectCond.clone(
0189 collection1=cms.PSet(
0190 tag=cms.InputTag("l1tGTProducer", "GMTSaPromptMuons"),
0191 minPt=cms.double(2),
0192 ),
0193 collection2=cms.PSet(
0194 tag=cms.InputTag("l1tGTProducer", "CL2Electrons"),
0195 minPt=cms.double(9),
0196 ),
0197 minDR=cms.double(2),
0198 )
0199
0200 process._doubleElTau_2_9_dEta0p2to2 = l1tGTDoubleObjectCond.clone(
0201 collection1=cms.PSet(
0202 tag=cms.InputTag("l1tGTProducer", "GCTTaus"),
0203 minPt=cms.double(2),
0204 ),
0205 collection2=cms.PSet(
0206 tag=cms.InputTag("l1tGTProducer", "CL2Electrons"),
0207 minPt=cms.double(9),
0208 ),
0209 minDEta=cms.double(0.2),
0210 maxDEta=cms.double(2),
0211 )
0212
0213 process._doubleMuJet_2_9_dPhi2to4 = l1tGTDoubleObjectCond.clone(
0214 collection1=cms.PSet(
0215 tag=cms.InputTag("l1tGTProducer", "GMTSaPromptMuons"),
0216 minPt=cms.double(2),
0217 ),
0218 collection2=cms.PSet(
0219 tag=cms.InputTag("l1tGTProducer", "GCTJets"),
0220 minPt=cms.double(9),
0221 ),
0222 minDPhi=cms.double(2),
0223 maxDPhi=cms.double(4),
0224 )
0225
0226 process._doubleMuEl_2_9_dR1to3 = l1tGTDoubleObjectCond.clone(
0227 collection1=cms.PSet(
0228 tag=cms.InputTag("l1tGTProducer", "GMTSaPromptMuons"),
0229 minPt=cms.double(2),
0230 ),
0231 collection2=cms.PSet(
0232 tag=cms.InputTag("l1tGTProducer", "CL2Photons"),
0233 minPt=cms.double(9),
0234 ),
0235 minDR=cms.double(1),
0236 maxDR=cms.double(3),
0237 )
0238
0239 process._doubleMuGamma_11_9_massMax10 = l1tGTDoubleObjectCond.clone(
0240 collection1=cms.PSet(
0241 tag=cms.InputTag("l1tGTProducer", "GMTSaPromptMuons"),
0242 minPt=cms.double(11),
0243 ),
0244 collection2=cms.PSet(
0245 tag=cms.InputTag("l1tGTProducer", "CL2Photons"),
0246 minPt=cms.double(9),
0247 ),
0248 maxInvMass=cms.double(10),
0249 )
0250
0251 process._doubleElMu_11_9_mass10to600 = l1tGTDoubleObjectCond.clone(
0252 collection1=cms.PSet(
0253 tag=cms.InputTag("l1tGTProducer", "CL2Electrons"),
0254 minPt=cms.double(11),
0255 ),
0256 collection2=cms.PSet(
0257 tag=cms.InputTag("l1tGTProducer", "GMTSaPromptMuons"),
0258 minPt=cms.double(9),
0259 ),
0260 minInvMass=cms.double(10),
0261 maxInvMass=cms.double(600),
0262 )
0263
0264 process._doubleTkMu_15_7_er2p4_dzMax1p0 = l1tGTDoubleObjectCond.clone(
0265 collection1=cms.PSet(
0266 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0267 minPt=cms.double(15),
0268 minEta=cms.double(-2.4),
0269 maxEta=cms.double(2.4),
0270 maxZ0=cms.double(1.0),
0271 ),
0272 collection2=cms.PSet(
0273 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0274 minPt=cms.double(7),
0275 minEta=cms.double(-2.4),
0276 maxEta=cms.double(2.4),
0277 maxZ0=cms.double(1.0),
0278 ),
0279 )
0280
0281 process._tkIsoEleStaEG_22_12_er2p4 = l1tGTDoubleObjectCond.clone(
0282 collection1=cms.PSet(
0283 tag=cms.InputTag("l1tGTProducer", "GCTIsoEg"),
0284 minPt=cms.double(22),
0285 minEta=cms.double(-2.4),
0286 maxEta=cms.double(2.4),
0287 ),
0288 collection2=cms.PSet(
0289 tag=cms.InputTag("l1tGTProducer", "GCTNonIsoEg"),
0290 minPt=cms.double(12),
0291 minEta=cms.double(-2.4),
0292 maxEta=cms.double(2.4),
0293 ),
0294 )
0295
0296 process._doubleTkEle_25_12_er2p4 = l1tGTDoubleObjectCond.clone(
0297 collection1=cms.PSet(
0298 tag=cms.InputTag("l1tGTProducer", "GCTNonIsoEg"),
0299 minPt=cms.double(25),
0300 minEta=cms.double(-2.4),
0301 maxEta=cms.double(2.4),
0302 ),
0303 collection2=cms.PSet(
0304 tag=cms.InputTag("l1tGTProducer", "GCTNonIsoEg"),
0305 minPt=cms.double(12),
0306 minEta=cms.double(-2.4),
0307 maxEta=cms.double(2.4),
0308 ),
0309 )
0310
0311 process._doubleStaEG_37_24_er2p4 = l1tGTDoubleObjectCond.clone(
0312 collection1=cms.PSet(
0313 tag=cms.InputTag("l1tGTProducer", "GTTBsCandidates"),
0314 minPt=cms.double(37),
0315 minEta=cms.double(-2.4),
0316 maxEta=cms.double(2.4),
0317 ),
0318 collection2=cms.PSet(
0319 tag=cms.InputTag("l1tGTProducer", "GTTBsCandidates"),
0320 minPt=cms.double(24),
0321 minEta=cms.double(-2.4),
0322 maxEta=cms.double(2.4),
0323 ),
0324 )
0325
0326 process._doubleTkIsoPhoton_22_12_er2p4 = l1tGTDoubleObjectCond.clone(
0327 collection1=cms.PSet(
0328 tag=cms.InputTag("l1tGTProducer", "GCTIsoEg"),
0329 minPt=cms.double(22),
0330 minEta=cms.double(-2.4),
0331 maxEta=cms.double(2.4),
0332 ),
0333 collection2=cms.PSet(
0334 tag=cms.InputTag("l1tGTProducer", "GCTIsoEg"),
0335 minPt=cms.double(12),
0336 minEta=cms.double(-2.4),
0337 maxEta=cms.double(2.4),
0338 ),
0339 )
0340
0341 process._doubleCaloTau_69_69_er2p1_drMin0p5 = l1tGTDoubleObjectCond.clone(
0342 collection1=cms.PSet(
0343 tag=cms.InputTag("l1tGTProducer", "GCTTaus"),
0344 minPt=cms.double(69),
0345 minEta=cms.double(-2.1),
0346 maxEta=cms.double(2.1),
0347 ),
0348 collection2=cms.PSet(
0349 tag=cms.InputTag("l1tGTProducer", "GCTTaus"),
0350 minPt=cms.double(69),
0351 minEta=cms.double(-2.1),
0352 maxEta=cms.double(2.1),
0353 ),
0354 minDR=cms.double(0.5),
0355 )
0356
0357 process._doubleCaloTau_90_90_er2p1_drMin0p5 = l1tGTDoubleObjectCond.clone(
0358 collection1=cms.PSet(
0359 tag=cms.InputTag("l1tGTProducer", "GCTTaus"),
0360 minPt=cms.double(90),
0361 minEta=cms.double(-2.1),
0362 maxEta=cms.double(2.1),
0363 ),
0364 collection2=cms.PSet(
0365 tag=cms.InputTag("l1tGTProducer", "GCTTaus"),
0366 minPt=cms.double(90),
0367 minEta=cms.double(-2.1),
0368 maxEta=cms.double(2.1),
0369 ),
0370 minDR=cms.double(0.5),
0371 )
0372
0373 process._doublePUPPITau_36_36_er2p1_drMin0p5 = l1tGTDoubleObjectCond.clone(
0374 collection1=cms.PSet(
0375 tag=cms.InputTag("l1tGTProducer", "CL2Taus"),
0376 minPt=cms.double(36),
0377 minEta=cms.double(-2.1),
0378 maxEta=cms.double(2.1),
0379 ),
0380 collection2=cms.PSet(
0381 tag=cms.InputTag("l1tGTProducer", "CL2Taus"),
0382 minPt=cms.double(36),
0383 minEta=cms.double(-2.1),
0384 maxEta=cms.double(2.1),
0385 ),
0386 minDR=cms.double(0.5),
0387 )
0388
0389 process._doublePUPPITau_52_52_er2p1_drMin0p5 = l1tGTDoubleObjectCond.clone(
0390 collection1=cms.PSet(
0391 tag=cms.InputTag("l1tGTProducer", "CL2Taus"),
0392 minPt=cms.double(52),
0393 minEta=cms.double(-2.1),
0394 maxEta=cms.double(2.1),
0395 ),
0396 collection2=cms.PSet(
0397 tag=cms.InputTag("l1tGTProducer", "CL2Taus"),
0398 minPt=cms.double(52),
0399 minEta=cms.double(-2.1),
0400 maxEta=cms.double(2.1),
0401 ),
0402 minDR=cms.double(0.5),
0403 )
0404
0405 process._doublePUPPIJet_112_112_er2p4_dEtaMax1p6 = l1tGTDoubleObjectCond.clone(
0406 collection1=cms.PSet(
0407 tag=cms.InputTag("l1tGTProducer", "CL2JetsSC4"),
0408 minPt=cms.double(112),
0409 minEta=cms.double(-2.4),
0410 maxEta=cms.double(2.4),
0411 ),
0412 collection2=cms.PSet(
0413 tag=cms.InputTag("l1tGTProducer", "CL2JetsSC4"),
0414 minPt=cms.double(112),
0415 minEta=cms.double(-2.4),
0416 maxEta=cms.double(2.4),
0417 ),
0418 maxDEta=cms.double(1.6),
0419 )
0420
0421 process._tkMuonTkIsoEle_7_20_er2p4_dzMax1p0 = l1tGTDoubleObjectCond.clone(
0422 collection1=cms.PSet(
0423 tag=cms.InputTag("l1tGTProducer", "GMTSaPromptMuons"),
0424 minPt=cms.double(7),
0425 minEta=cms.double(-2.4),
0426 maxEta=cms.double(2.4),
0427 maxZ0=cms.double(1.0),
0428 ),
0429 collection2=cms.PSet(
0430 tag=cms.InputTag("l1tGTProducer", "CL2Electrons"),
0431 minPt=cms.double(20),
0432 minEta=cms.double(-2.4),
0433 maxEta=cms.double(2.4),
0434 maxZ0=cms.double(1.0),
0435 ),
0436 )
0437
0438 process._tkMuonTkEle_7_23_er2p4_dzMax1p0 = l1tGTDoubleObjectCond.clone(
0439 collection1=cms.PSet(
0440 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0441 minPt=cms.double(7),
0442 minEta=cms.double(-2.4),
0443 maxEta=cms.double(2.4),
0444 maxZ0=cms.double(1.0),
0445 ),
0446 collection2=cms.PSet(
0447 tag=cms.InputTag("l1tGTProducer", "CL2Electrons"),
0448 minPt=cms.double(23),
0449 minEta=cms.double(-2.4),
0450 maxEta=cms.double(2.4),
0451 maxZ0=cms.double(1.0),
0452 ),
0453 )
0454
0455 process._tkEleTkMuon_10_20_er2p4_dzMax1p0 = l1tGTDoubleObjectCond.clone(
0456 collection1=cms.PSet(
0457 tag=cms.InputTag("l1tGTProducer", "CL2Electrons"),
0458 minPt=cms.double(10),
0459 minEta=cms.double(-2.4),
0460 maxEta=cms.double(2.4),
0461 maxZ0=cms.double(1.0),
0462 ),
0463 collection2=cms.PSet(
0464 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0465 minPt=cms.double(20),
0466 minEta=cms.double(-2.4),
0467 maxEta=cms.double(2.4),
0468 maxZ0=cms.double(1.0),
0469 ),
0470 )
0471
0472 process._puppiTauTkMuon_27_18_er2p1_dzMax1p0 = l1tGTDoubleObjectCond.clone(
0473 collection1=cms.PSet(
0474 tag=cms.InputTag("l1tGTProducer", "CL2Taus"),
0475 minPt=cms.double(27),
0476 minEta=cms.double(-2.1),
0477 maxEta=cms.double(2.1),
0478 ),
0479 collection2=cms.PSet(
0480 tag=cms.InputTag("l1tGTProducer", "GMTSaPromptMuons"),
0481 minPt=cms.double(18),
0482 minEta=cms.double(-2.1),
0483 maxEta=cms.double(2.1),
0484 minZ0=cms.double(-1.0),
0485 maxZ0=cms.double(1.0),
0486 ),
0487 )
0488
0489 process._puppiTauTkMuon_36_18_er2p1_dzMax1p0 = l1tGTDoubleObjectCond.clone(
0490 collection1=cms.PSet(
0491 tag=cms.InputTag("l1tGTProducer", "CL2Taus"),
0492 minPt=cms.double(36),
0493 minEta=cms.double(-2.1),
0494 maxEta=cms.double(2.1),
0495 ),
0496 collection2=cms.PSet(
0497 tag=cms.InputTag("l1tGTProducer", "GMTSaPromptMuons"),
0498 minPt=cms.double(18),
0499 minEta=cms.double(-2.1),
0500 maxEta=cms.double(2.1),
0501 minZ0=cms.double(-1.0),
0502 maxZ0=cms.double(1.0),
0503 ),
0504 )
0505
0506 process._tkIsoElePUPPItau_22_29_er2p1_drMin0p3_dzMax1p0 = l1tGTDoubleObjectCond.clone(
0507 collection1=cms.PSet(
0508 tag=cms.InputTag("l1tGTProducer", "CL2Electrons"),
0509 minPt=cms.double(22),
0510 minEta=cms.double(-2.1),
0511 maxEta=cms.double(2.1),
0512 minZ0=cms.double(-1.0),
0513 maxZ0=cms.double(1.0),
0514 ),
0515 collection2=cms.PSet(
0516 tag=cms.InputTag("l1tGTProducer", "CL2Taus"),
0517 minPt=cms.double(29),
0518 minEta=cms.double(-2.1),
0519 maxEta=cms.double(2.1),
0520 ),
0521 minDR=cms.double(0.3),
0522 )
0523
0524 process._tkIsoElePUPPItau_22_39_er2p1_drMin0p3_dzMax1p0 = l1tGTDoubleObjectCond.clone(
0525 collection1=cms.PSet(
0526 tag=cms.InputTag("l1tGTProducer", "CL2Electrons"),
0527 minPt=cms.double(22),
0528 minEta=cms.double(-2.1),
0529 maxEta=cms.double(2.1),
0530 minZ0=cms.double(-1.0),
0531 maxZ0=cms.double(1.0),
0532 ),
0533 collection2=cms.PSet(
0534 tag=cms.InputTag("l1tGTProducer", "CL2Taus"),
0535 minPt=cms.double(39),
0536 minEta=cms.double(-2.1),
0537 maxEta=cms.double(2.1),
0538 ),
0539 minDR=cms.double(0.3),
0540 )
0541
0542 process._tkElePUPPIJet_28_40_er2p1_er2p4_dRmin0p3_dzMax1p0 = l1tGTDoubleObjectCond.clone(
0543 collection1=cms.PSet(
0544 tag=cms.InputTag("l1tGTProducer", "CL2Electrons"),
0545 minPt=cms.double(28),
0546 minEta=cms.double(-2.1),
0547 maxEta=cms.double(2.1),
0548 maxZ0=cms.double(1.0),
0549 ),
0550 collection2=cms.PSet(
0551 tag=cms.InputTag("l1tGTProducer", "GTTPromptJets"),
0552 minPt=cms.double(40),
0553 minEta=cms.double(-2.4),
0554 maxEta=cms.double(2.4),
0555 maxZ0=cms.double(1.0),
0556 ),
0557 minDR=cms.double(0.3),
0558 )
0559
0560 process._doublePuppiJet_160_35_er5p0_massMin620 = l1tGTDoubleObjectCond.clone(
0561 collection1=cms.PSet(
0562 tag=cms.InputTag("l1tGTProducer", "CL2JetsSC4"),
0563 minPt=cms.double(160),
0564 minEta=cms.double(-5),
0565 maxEta=cms.double(5),
0566 ),
0567 collection2=cms.PSet(
0568 tag=cms.InputTag("l1tGTProducer", "CL2JetsSC4"),
0569 minPt=cms.double(35),
0570 minEta=cms.double(-5),
0571 maxEta=cms.double(5),
0572 ),
0573 minInvMass=cms.double(620),
0574 )
0575
0576 process._doubleTkMuon_2_2_er1p5_drMax1p4_OS_dzMax1p0 = l1tGTDoubleObjectCond.clone(
0577 collection1=cms.PSet(
0578 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0579 minPt=cms.double(2),
0580 minEta=cms.double(-1.5),
0581 maxEta=cms.double(1.5),
0582 maxZ0=cms.double(1.0),
0583 ),
0584 collection2=cms.PSet(
0585 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0586 minPt=cms.double(2),
0587 minEta=cms.double(-1.5),
0588 maxEta=cms.double(1.5),
0589 maxZ0=cms.double(1.0),
0590 ),
0591 maxDR=cms.double(1.4),
0592 os=cms.bool(True),
0593 )
0594
0595 process._doubleTkMuon_4_4_er2p4_drMax1p2_OS_dzMax1p0 = l1tGTDoubleObjectCond.clone(
0596 collection1=cms.PSet(
0597 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0598 minPt=cms.double(4),
0599 minEta=cms.double(-2.4),
0600 maxEta=cms.double(2.4),
0601 maxZ0=cms.double(1.0),
0602 ),
0603 collection2=cms.PSet(
0604 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0605 minPt=cms.double(4),
0606 minEta=cms.double(-2.4),
0607 maxEta=cms.double(2.4),
0608 maxZ0=cms.double(1.0),
0609 ),
0610 maxDR=cms.double(1.2),
0611 os=cms.bool(True),
0612 )
0613
0614 process._doubleTkMuon_4_4_er2p0_massMin7_massMax18_OS_dzMax1p0 = l1tGTDoubleObjectCond.clone(
0615 collection1=cms.PSet(
0616 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0617 minPt=cms.double(4),
0618 minEta=cms.double(-2.0),
0619 maxEta=cms.double(2.0),
0620 maxZ0=cms.double(1.0),
0621 ),
0622 collection2=cms.PSet(
0623 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0624 minPt=cms.double(4),
0625 minEta=cms.double(-2.0),
0626 maxEta=cms.double(2.0),
0627 maxZ0=cms.double(1.0),
0628 ),
0629 minInvMass=cms.double(7),
0630 maxInvMass=cms.double(18),
0631 os=cms.bool(True),
0632 )
0633
0634 process._doubleEG_32_32_er2p5_Mt40 = l1tGTDoubleObjectCond.clone(
0635 collection1=cms.PSet(
0636 tag=cms.InputTag("l1tGTProducer", "GCTIsoEg"),
0637 minPt=cms.double(32),
0638 minEta=cms.double(-2.5),
0639 maxEta=cms.double(2.5),
0640 ),
0641 collection2=cms.PSet(
0642 tag=cms.InputTag("l1tGTProducer", "GCTIsoEg"),
0643 minPt=cms.double(32),
0644 minEta=cms.double(-2.5),
0645 maxEta=cms.double(2.5),
0646 ),
0647 minTransMass=cms.double(40),
0648 )
0649
0650
0651 process._triplePuppiJet_70_50_35 = l1tGTTripleObjectCond.clone(
0652 collection1=cms.PSet(
0653 tag=cms.InputTag("l1tGTProducer", "CL2JetsSC4"),
0654 minPt=cms.double(70)
0655 ),
0656 collection2=cms.PSet(
0657 tag=cms.InputTag("l1tGTProducer", "CL2JetsSC4"),
0658 minPt=cms.double(50)
0659 ),
0660 collection3=cms.PSet(
0661 tag=cms.InputTag("l1tGTProducer", "CL2JetsSC4"),
0662 minPt=cms.double(35)
0663 )
0664 )
0665
0666 process._tripleTkEleTkMuPUPPIJet_30_40_25_er2p4 = l1tGTTripleObjectCond.clone(
0667 collection1=cms.PSet(
0668 tag=cms.InputTag("l1tGTProducer", "CL2Electrons"),
0669 minPt=cms.double(30),
0670 minEta=cms.double(-2.4),
0671 maxEta=cms.double(2.4)
0672 ),
0673 collection2=cms.PSet(
0674 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0675 minPt=cms.double(40),
0676 minEta=cms.double(-2.4),
0677 maxEta=cms.double(2.4)
0678 ),
0679 collection3=cms.PSet(
0680 tag=cms.InputTag("l1tGTProducer", "CL2JetsSC4"),
0681 minPt=cms.double(25),
0682 minEta=cms.double(-2.4),
0683 maxEta=cms.double(2.4)
0684 )
0685 )
0686
0687 process._tripleTkMuTkEle_7_5_5_er3p4_SS = l1tGTTripleObjectCond.clone(
0688 collection1=cms.PSet(
0689 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0690 minPt=cms.double(7),
0691 minEta=cms.double(-3.4),
0692 maxEta=cms.double(3.4)
0693 ),
0694 collection2=cms.PSet(
0695 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0696 minPt=cms.double(5),
0697 minEta=cms.double(-3.4),
0698 maxEta=cms.double(3.4)
0699 ),
0700 collection3=cms.PSet(
0701 tag=cms.InputTag("l1tGTProducer", "CL2Electrons"),
0702 minPt=cms.double(5),
0703 minEta=cms.double(-3.4),
0704 maxEta=cms.double(3.4)
0705 ),
0706 correl12=cms.PSet(
0707 ss=cms.bool(True)
0708 ),
0709 correl13=cms.PSet(
0710 ss=cms.bool(True)
0711 )
0712 )
0713
0714 process._quadTkMuTkEle_5_5_5_7_er3p4_SS = l1tGTQuadObjectCond.clone(
0715 collection1=cms.PSet(
0716 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0717 minPt=cms.double(5),
0718 minEta=cms.double(-3.4),
0719 maxEta=cms.double(3.4)
0720 ),
0721 collection2=cms.PSet(
0722 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0723 minPt=cms.double(5),
0724 minEta=cms.double(-3.4),
0725 maxEta=cms.double(3.4)
0726 ),
0727 collection3=cms.PSet(
0728 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0729 minPt=cms.double(5),
0730 minEta=cms.double(-3.4),
0731 maxEta=cms.double(3.4)
0732 ),
0733 collection4=cms.PSet(
0734 tag=cms.InputTag("l1tGTProducer", "CL2Electrons"),
0735 minPt=cms.double(7),
0736 minEta=cms.double(-3.4),
0737 maxEta=cms.double(3.4)
0738 ),
0739 correl12=cms.PSet(
0740 ss=cms.bool(True)
0741 ),
0742 correl13=cms.PSet(
0743 ss=cms.bool(True)
0744 ),
0745 correl14=cms.PSet(
0746 ss=cms.bool(True)
0747 )
0748 )
0749
0750 process._quadTkEleTkMuPUPPIJet_30_40_25_25_er2p4 = l1tGTQuadObjectCond.clone(
0751 collection1=cms.PSet(
0752 tag=cms.InputTag("l1tGTProducer", "CL2Electrons"),
0753 minPt=cms.double(30),
0754 minEta=cms.double(-2.4),
0755 maxEta=cms.double(2.4),
0756 regionsAbsEtaLowerBounds=cms.vdouble(0,1.2,3),
0757 regionsMinPt=cms.vdouble(12,14,15)
0758 ),
0759 collection2=cms.PSet(
0760 tag=cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0761 minPt=cms.double(40),
0762 minEta=cms.double(-2.4),
0763 maxEta=cms.double(2.4)
0764 ),
0765 collection3=cms.PSet(
0766 tag=cms.InputTag("l1tGTProducer", "CL2JetsSC4"),
0767 minPt=cms.double(25),
0768 minEta=cms.double(-2.4),
0769 maxEta=cms.double(2.4)
0770 ),
0771 collection4=cms.PSet(
0772 tag=cms.InputTag("l1tGTProducer", "CL2Taus"),
0773 minPt=cms.double(25),
0774 minEta=cms.double(-2.4),
0775 maxEta=cms.double(2.4)
0776 )
0777 )
0778
0779 algorithms = cms.VPSet()
0780
0781 idx = 0
0782
0783 for filt_name in process.filters:
0784 if filt_name[:1] != '_':
0785 continue
0786 new_name = filt_name.replace('_', '')
0787 setattr(process, new_name, getattr(process, filt_name).clone())
0788 delattr(process, filt_name)
0789 setattr(process, 'l1t' + filt_name, cms.Path(getattr(process, new_name)))
0790
0791 algorithms.append(cms.PSet(expression = cms.string('l1t' + filt_name)))
0792 idx += 1
0793
0794
0795 process.l1tGTAlgoBlockProducer = cms.EDProducer(
0796 "L1GTAlgoBlockProducer",
0797 algorithms = algorithms
0798 )
0799
0800 process.pl1tGTAlgoBlockProducer = cms.Path(process.l1tGTAlgoBlockProducer)
0801
0802 if options.platform == "VU13P":
0803 from L1Trigger.Phase2L1GT.l1tGTBoardWriterVU13P_cff import BoardDataInput, BoardDataOutputObjects
0804 channels = cms.untracked.vuint32(46, 47)
0805 else:
0806 from L1Trigger.Phase2L1GT.l1tGTBoardWriterVU9P_cff import BoardDataInput, BoardDataOutputObjects
0807 channels = cms.untracked.vuint32(32, 33)
0808
0809
0810 process.l1tGTProducer.InputChannels = BoardDataInput.InputChannels
0811 process.l1tGTProducer.OutputChannels = BoardDataOutputObjects.OutputChannels
0812
0813
0814 process.BoardData = cms.EDAnalyzer("L1GTAlgoBoardWriter",
0815 filename = cms.untracked.string("outputPattern"),
0816 algoBlocksTag = cms.untracked.InputTag("l1tGTAlgoBlockProducer"),
0817 maxFrames = cms.untracked.uint32(1024),
0818 channels = channels
0819 )
0820
0821 process.FinOrBoardData = cms.EDAnalyzer("L1GTFinOrBoardWriter",
0822 filename = cms.untracked.string("outputFinOrPattern"),
0823 algoBlocksTag = cms.untracked.InputTag("l1tGTAlgoBlockProducer"),
0824 maxFrames = cms.untracked.uint32(1024),
0825 channelsLow = cms.untracked.vuint32(4, 5, 6),
0826 channelsMid = cms.untracked.vuint32(40, 41, 42),
0827 channelsHigh = cms.untracked.vuint32(52, 53, 54),
0828 channelFinOr = cms.untracked.uint32(99)
0829 )
0830
0831 process.l1t_BoardData = cms.EndPath(process.BoardData)
0832 process.l1t_FinOrBoardData = cms.EndPath(process.FinOrBoardData)
0833
0834 process.output = cms.OutputModule("PoolOutputModule",
0835 fileName = cms.untracked.string('file:test_output.root'),
0836 outputCommands = cms.untracked.vstring('keep *'),
0837 splitLevel = cms.untracked.int32(0)
0838 )
0839
0840 process.output_step = cms.EndPath(process.output)