File indexing completed on 2024-11-23 03:27:59
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def TopMonitor(*args, **kwargs):
0004 mod = cms.EDProducer('TopMonitor',
0005 FolderName = cms.string('HLT/TOP'),
0006 requireValidHLTPaths = cms.bool(True),
0007 vertices = cms.InputTag('offlinePrimaryVertices'),
0008 muons = cms.InputTag('muons'),
0009 electrons = cms.InputTag('gedGsfElectrons'),
0010 elecID = cms.InputTag('egmGsfElectronIDsForDQM', 'cutBasedElectronID-RunIIIWinter22-V1-tight'),
0011 photons = cms.InputTag('photons'),
0012 jets = cms.InputTag('ak4PFJetsCHS'),
0013 btagAlgos = cms.VInputTag(
0014 'pfDeepCSVJetTags:probb',
0015 'pfDeepCSVJetTags:probbb'
0016 ),
0017 met = cms.InputTag('pfMet'),
0018 metSelection = cms.string('pt > 0'),
0019 jetSelection = cms.string('pt > 0'),
0020 eleSelection = cms.string('pt > 0'),
0021 muoSelection = cms.string('pt > 0'),
0022 phoSelection = cms.string('pt > 0'),
0023 HTdefinition = cms.string('pt > 0'),
0024 vertexSelection = cms.string('!isFake'),
0025 bjetSelection = cms.string('pt > 0'),
0026 njets = cms.uint32(0),
0027 nelectrons = cms.uint32(0),
0028 nmuons = cms.uint32(0),
0029 nphotons = cms.uint32(0),
0030 leptJetDeltaRmin = cms.double(0),
0031 bJetMuDeltaRmax = cms.double(9999),
0032 bJetDeltaEtaMax = cms.double(9999),
0033 HTcut = cms.double(0),
0034 nbjets = cms.uint32(0),
0035 workingpoint = cms.double(0.4941),
0036 applyLeptonPVcuts = cms.bool(False),
0037 invMassUppercut = cms.double(-1),
0038 invMassLowercut = cms.double(-1),
0039 oppositeSignMuons = cms.bool(False),
0040 MHTdefinition = cms.string('pt > 0'),
0041 MHTcut = cms.double(-1),
0042 invMassCutInAllMuPairs = cms.bool(False),
0043 enablePhotonPlot = cms.bool(False),
0044 enableMETPlot = cms.bool(False),
0045 enable2DPlots = cms.bool(True),
0046 numGenericTriggerEventPSet = cms.PSet(
0047 ReadPrescalesFromFile = cms.bool(False),
0048 andOr = cms.bool(False),
0049 andOrDcs = cms.bool(False),
0050 andOrHlt = cms.bool(False),
0051 andOrL1 = cms.bool(False),
0052 errorReplyDcs = cms.bool(False),
0053 errorReplyHlt = cms.bool(False),
0054 errorReplyL1 = cms.bool(False),
0055 l1BeforeMask = cms.bool(False),
0056 stage2 = cms.bool(False),
0057 dcsInputTag = cms.InputTag('scalersRawToDigi'),
0058 dcsRecordInputTag = cms.InputTag('onlineMetaDataDigis'),
0059 hltInputTag = cms.InputTag('TriggerResults', '', 'HLT'),
0060 l1tAlgBlkInputTag = cms.InputTag('gtStage2Digis'),
0061 l1tExtBlkInputTag = cms.InputTag('gtStage2Digis'),
0062 dbLabel = cms.string(''),
0063 hltDBKey = cms.string(''),
0064 dcsPartitions = cms.vint32(),
0065 hltPaths = cms.vstring(),
0066 l1Algorithms = cms.vstring(),
0067 verbosityLevel = cms.uint32(0)
0068 ),
0069 denGenericTriggerEventPSet = cms.PSet(
0070 ReadPrescalesFromFile = cms.bool(False),
0071 andOr = cms.bool(False),
0072 andOrDcs = cms.bool(False),
0073 andOrHlt = cms.bool(False),
0074 andOrL1 = cms.bool(False),
0075 errorReplyDcs = cms.bool(False),
0076 errorReplyHlt = cms.bool(False),
0077 errorReplyL1 = cms.bool(False),
0078 l1BeforeMask = cms.bool(False),
0079 stage2 = cms.bool(False),
0080 dcsInputTag = cms.InputTag('scalersRawToDigi'),
0081 dcsRecordInputTag = cms.InputTag('onlineMetaDataDigis'),
0082 hltInputTag = cms.InputTag('TriggerResults', '', 'HLT'),
0083 l1tAlgBlkInputTag = cms.InputTag('gtStage2Digis'),
0084 l1tExtBlkInputTag = cms.InputTag('gtStage2Digis'),
0085 dbLabel = cms.string(''),
0086 hltDBKey = cms.string(''),
0087 dcsPartitions = cms.vint32(),
0088 hltPaths = cms.vstring(),
0089 l1Algorithms = cms.vstring(),
0090 verbosityLevel = cms.uint32(0)
0091 ),
0092 histoPSet = cms.PSet(
0093 metPSet = cms.PSet(
0094 nbins = cms.required.uint32,
0095 xmin = cms.required.double,
0096 xmax = cms.required.double
0097 ),
0098 etaPSet = cms.PSet(
0099 nbins = cms.required.uint32,
0100 xmin = cms.required.double,
0101 xmax = cms.required.double
0102 ),
0103 phiPSet = cms.PSet(
0104 nbins = cms.required.uint32,
0105 xmin = cms.required.double,
0106 xmax = cms.required.double
0107 ),
0108 ptPSet = cms.PSet(
0109 nbins = cms.required.uint32,
0110 xmin = cms.required.double,
0111 xmax = cms.required.double
0112 ),
0113 htPSet = cms.PSet(
0114 nbins = cms.required.uint32,
0115 xmin = cms.required.double,
0116 xmax = cms.required.double
0117 ),
0118 DRPSet = cms.PSet(
0119 nbins = cms.required.uint32,
0120 xmin = cms.required.double,
0121 xmax = cms.required.double
0122 ),
0123 csvPSet = cms.PSet(
0124 nbins = cms.required.uint32,
0125 xmin = cms.required.double,
0126 xmax = cms.required.double
0127 ),
0128 invMassPSet = cms.PSet(
0129 nbins = cms.required.uint32,
0130 xmin = cms.required.double,
0131 xmax = cms.required.double
0132 ),
0133 MHTPSet = cms.PSet(
0134 nbins = cms.required.uint32,
0135 xmin = cms.required.double,
0136 xmax = cms.required.double
0137 ),
0138 metBinning = cms.vdouble(
0139 0,
0140 20,
0141 40,
0142 60,
0143 80,
0144 90,
0145 100,
0146 110,
0147 120,
0148 130,
0149 140,
0150 150,
0151 160,
0152 170,
0153 180,
0154 190,
0155 200,
0156 220,
0157 240,
0158 260,
0159 280,
0160 300,
0161 350,
0162 400,
0163 450,
0164 1000
0165 ),
0166 HTBinning = cms.vdouble(
0167 0,
0168 20,
0169 40,
0170 60,
0171 80,
0172 90,
0173 100,
0174 110,
0175 120,
0176 130,
0177 140,
0178 150,
0179 160,
0180 170,
0181 180,
0182 190,
0183 200,
0184 220,
0185 240,
0186 260,
0187 280,
0188 300,
0189 350,
0190 400,
0191 450,
0192 1000
0193 ),
0194 jetPtBinning = cms.vdouble(
0195 0,
0196 20,
0197 40,
0198 60,
0199 80,
0200 90,
0201 100,
0202 110,
0203 120,
0204 130,
0205 140,
0206 150,
0207 160,
0208 170,
0209 180,
0210 190,
0211 200,
0212 220,
0213 240,
0214 260,
0215 280,
0216 300,
0217 350,
0218 400,
0219 450,
0220 1000
0221 ),
0222 elePtBinning = cms.vdouble(
0223 0,
0224 20,
0225 40,
0226 60,
0227 80,
0228 90,
0229 100,
0230 110,
0231 120,
0232 130,
0233 140,
0234 150,
0235 160,
0236 170,
0237 180,
0238 190,
0239 200,
0240 220,
0241 240,
0242 260,
0243 280,
0244 300,
0245 350,
0246 400,
0247 450,
0248 1000
0249 ),
0250 muPtBinning = cms.vdouble(
0251 0,
0252 20,
0253 40,
0254 60,
0255 80,
0256 90,
0257 100,
0258 110,
0259 120,
0260 130,
0261 140,
0262 150,
0263 160,
0264 170,
0265 180,
0266 190,
0267 200,
0268 220,
0269 240,
0270 260,
0271 280,
0272 300,
0273 350,
0274 400,
0275 450,
0276 1000
0277 ),
0278 jetEtaBinning = cms.vdouble(
0279 -3,
0280 -2.5,
0281 -2,
0282 -1.5,
0283 -1,
0284 -0.5,
0285 0,
0286 0.5,
0287 1,
0288 1.5,
0289 2,
0290 2.5,
0291 3
0292 ),
0293 eleEtaBinning = cms.vdouble(
0294 -3,
0295 -2.5,
0296 -2,
0297 -1.5,
0298 -1,
0299 -0.5,
0300 0,
0301 0.5,
0302 1,
0303 1.5,
0304 2,
0305 2.5,
0306 3
0307 ),
0308 muEtaBinning = cms.vdouble(
0309 -3,
0310 -2.5,
0311 -2,
0312 -1.5,
0313 -1,
0314 -0.5,
0315 0,
0316 0.5,
0317 1,
0318 1.5,
0319 2,
0320 2.5,
0321 3
0322 ),
0323 invMassVariableBinning = cms.vdouble(
0324 0,
0325 20,
0326 40,
0327 60,
0328 80,
0329 90,
0330 100,
0331 110,
0332 120,
0333 130,
0334 140,
0335 150,
0336 160,
0337 170,
0338 180,
0339 190,
0340 200,
0341 220,
0342 240,
0343 260,
0344 280,
0345 300,
0346 350,
0347 400,
0348 450,
0349 1000
0350 ),
0351 MHTVariableBinning = cms.vdouble(
0352 0,
0353 20,
0354 40,
0355 60,
0356 80,
0357 90,
0358 100,
0359 110,
0360 120,
0361 130,
0362 140,
0363 150,
0364 160,
0365 170,
0366 180,
0367 190,
0368 200,
0369 220,
0370 240,
0371 260,
0372 280,
0373 300,
0374 350,
0375 400,
0376 450,
0377 1000
0378 ),
0379 HTBinning2D = cms.vdouble(
0380 0,
0381 40,
0382 80,
0383 100,
0384 120,
0385 140,
0386 160,
0387 180,
0388 200,
0389 240,
0390 280,
0391 350,
0392 450,
0393 1000
0394 ),
0395 jetPtBinning2D = cms.vdouble(
0396 0,
0397 40,
0398 80,
0399 100,
0400 120,
0401 140,
0402 160,
0403 180,
0404 200,
0405 240,
0406 280,
0407 350,
0408 450,
0409 1000
0410 ),
0411 elePtBinning2D = cms.vdouble(
0412 0,
0413 40,
0414 80,
0415 100,
0416 120,
0417 140,
0418 160,
0419 180,
0420 200,
0421 240,
0422 280,
0423 350,
0424 450,
0425 1000
0426 ),
0427 muPtBinning2D = cms.vdouble(
0428 0,
0429 40,
0430 80,
0431 100,
0432 120,
0433 140,
0434 160,
0435 180,
0436 200,
0437 240,
0438 280,
0439 350,
0440 450,
0441 1000
0442 ),
0443 phoPtBinning2D = cms.vdouble(
0444 0,
0445 40,
0446 80,
0447 100,
0448 120,
0449 140,
0450 160,
0451 180,
0452 200,
0453 240,
0454 280,
0455 350,
0456 450,
0457 1000
0458 ),
0459 jetEtaBinning2D = cms.vdouble(
0460 -3,
0461 -2,
0462 -1,
0463 0,
0464 1,
0465 2,
0466 3
0467 ),
0468 eleEtaBinning2D = cms.vdouble(
0469 -3,
0470 -2,
0471 -1,
0472 0,
0473 1,
0474 2,
0475 3
0476 ),
0477 muEtaBinning2D = cms.vdouble(
0478 -3,
0479 -2,
0480 -1,
0481 0,
0482 1,
0483 2,
0484 3
0485 ),
0486 phoEtaBinning2D = cms.vdouble(
0487 -3,
0488 -2,
0489 -1,
0490 0,
0491 1,
0492 2,
0493 3
0494 ),
0495 phiBinning2D = cms.vdouble(
0496 -3.1415,
0497 -2.5132,
0498 -1.8849,
0499 -1.2566,
0500 -0.6283,
0501 0,
0502 0.6283,
0503 1.2566,
0504 1.8849,
0505 2.5132,
0506 3.1415
0507 ),
0508 lsPSet = cms.PSet(
0509 nbins = cms.uint32(2500),
0510 xmin = cms.double(0),
0511 xmax = cms.double(2500)
0512 )
0513 ),
0514 leptonPVcuts = cms.PSet(
0515 dxy = cms.double(9999),
0516 dz = cms.double(9999)
0517 ),
0518 mightGet = cms.optional.untracked.vstring
0519 )
0520 for a in args:
0521 mod.update_(a)
0522 mod.update_(kwargs)
0523 return mod