338 jetTypes = [
"Calo",
"PF"]
339 jetThresholds = [40, 60, 80, 100]
340 jetThresholdsFor1 = [40, 60]
341 jetThresholdsFor2 = [40]
342 bjetThresholds = [40, 60, 80]
343 dijetAveThresholds = [40, 60, 80]
344 gammaThresholds = [10, 15, 20, 30, 40]
345 isogammaThresholds = [20]
348 jetThresholdsMu = [30, 40, 60]
349 gammaThresholdsMu = [10, 15, 20]
350 muThresholds = [3, 5]
352 for jType
in jetTypes:
353 for t
in jetThresholds:
354 partialPathName =
"HLT_PAAK4" + jType +
"Jet" + str(t) +
"_Eta5p1_v"
355 hltSingleJet = cms.PSet(
356 triggerSelection = cms.string(partialPathName+
"*"),
357 handlerType = cms.string(
"FromHLT"),
358 partialPathName = cms.string(partialPathName),
359 partialFilterName = cms.string(
"hltSinglePAAK4" + jType +
"Jet"),
360 dqmhistolabel = cms.string(
"hltSingleAK4" + jType +
"Jet" + str(t)),
361 mainDQMDirname = cms.untracked.string(dirname),
362 singleObjectsPreselection = cms.string(
"1==1"),
363 singleObjectDrawables = cms.VPSet(
364 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(420)),
365 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"eta"), bins = cms.int32(100), min = cms.double(-5.0), max = cms.double(5.0)),
366 cms.PSet (name = cms.string(
"phi"), expression = cms.string(
"phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
368 combinedObjectSelection = cms.string(
"1==1"),
369 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
370 combinedObjectDimension = cms.int32(1),
371 combinedObjectDrawables = cms.VPSet()
373 ret.append(hltSingleJet)
375 for t
in jetThresholdsFor1:
376 partialPathName =
"HLT_PAAK4" + jType +
"Jet" + str(t) +
"_Eta1p9toEta5p1_v"
377 hltSingleJet = cms.PSet(
378 triggerSelection = cms.string(partialPathName+
"*"),
379 handlerType = cms.string(
"FromHLT"),
380 partialPathName = cms.string(partialPathName),
381 partialFilterName = cms.string(
"hltSinglePAAK4" + jType +
"Jet" + str(t) +
"MinEta1p9"),
382 dqmhistolabel = cms.string(
"hltSingleAK4" + jType +
"Jet" + str(t) +
"MinEta1p9"),
383 mainDQMDirname = cms.untracked.string(dirname),
384 singleObjectsPreselection = cms.string(
"1==1"),
385 singleObjectDrawables = cms.VPSet(
386 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(420)),
387 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"eta"), bins = cms.int32(100), min = cms.double(-5.0), max = cms.double(5.0)),
388 cms.PSet (name = cms.string(
"phi"), expression = cms.string(
"phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
390 combinedObjectSelection = cms.string(
"1==1"),
391 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
392 combinedObjectDimension = cms.int32(1),
393 combinedObjectDrawables = cms.VPSet()
395 ret.append(hltSingleJet)
397 for t
in jetThresholdsFor2:
398 partialPathName =
"HLT_PAAK4" + jType +
"Jet" + str(t) +
"_Eta2p9toEta5p1_v"
399 hltSingleJet = cms.PSet(
400 triggerSelection = cms.string(partialPathName+
"*"),
401 handlerType = cms.string(
"FromHLT"),
402 partialPathName = cms.string(partialPathName),
403 partialFilterName = cms.string(
"hltSinglePAAK4" + jType +
"Jet" + str(t) +
"MinEta2p9"),
404 dqmhistolabel = cms.string(
"hltSingleAK4" + jType +
"Jet" + str(t) +
"MinEta2p9"),
405 mainDQMDirname = cms.untracked.string(dirname),
406 singleObjectsPreselection = cms.string(
"1==1"),
407 singleObjectDrawables = cms.VPSet(
408 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(420)),
409 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"eta"), bins = cms.int32(100), min = cms.double(-5.0), max = cms.double(5.0)),
410 cms.PSet (name = cms.string(
"phi"), expression = cms.string(
"phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
412 combinedObjectSelection = cms.string(
"1==1"),
413 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
414 combinedObjectDimension = cms.int32(1),
415 combinedObjectDrawables = cms.VPSet()
417 ret.append(hltSingleJet)
419 for t
in dijetAveThresholds:
420 partialPathName =
"HLT_PADiAK4" + jType +
"JetAve" + str(t) +
"_Eta5p1_v"
421 hltSingleJet = cms.PSet(
422 triggerSelection = cms.string(partialPathName+
"*"),
423 handlerType = cms.string(
"FromHLT"),
424 partialPathName = cms.string(partialPathName),
425 partialFilterName = cms.string(
"hltDiAk4" + jType +
"JetAve"),
426 dqmhistolabel = cms.string(
"hltDiAk4" + jType +
"JetAve" + str(t)),
427 mainDQMDirname = cms.untracked.string(dirname),
428 singleObjectsPreselection = cms.string(
"1==1"),
429 singleObjectDrawables = cms.VPSet(
430 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(420)),
431 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"eta"), bins = cms.int32(100), min = cms.double(-5.0), max = cms.double(5.0)),
432 cms.PSet (name = cms.string(
"phi"), expression = cms.string(
"phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
434 combinedObjectSelection = cms.string(
"1==1"),
435 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
436 combinedObjectDimension = cms.int32(1),
437 combinedObjectDrawables = cms.VPSet()
439 ret.append(hltSingleJet)
441 for t
in bjetThresholds:
442 partialPathName =
"HLT_PAAK4" + jType +
"BJetCSV" + str(t) +
"_Eta2p1_v"
443 hltSingleJet = cms.PSet(
444 triggerSelection = cms.string(partialPathName+
"*"),
445 handlerType = cms.string(
"FromHLT"),
446 partialPathName = cms.string(partialPathName),
447 partialFilterName = cms.string(
"hltSinglePAAK4" + jType +
"Jet"),
448 dqmhistolabel = cms.string(
"hltSinglePAAK4" + jType +
"BJetCSV" + str(t)),
449 mainDQMDirname = cms.untracked.string(dirname),
450 singleObjectsPreselection = cms.string(
"1==1"),
451 singleObjectDrawables = cms.VPSet(
452 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(420)),
453 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"eta"), bins = cms.int32(100), min = cms.double(-5.0), max = cms.double(5.0)),
454 cms.PSet (name = cms.string(
"phi"), expression = cms.string(
"phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
456 combinedObjectSelection = cms.string(
"1==1"),
457 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
458 combinedObjectDimension = cms.int32(1),
459 combinedObjectDrawables = cms.VPSet()
461 ret.append(hltSingleJet)
463 for t
in bjetThresholds:
464 partialPathName =
"HLT_PAAK4" +
"PF" +
"BJetCSV" + str(t) +
"_CommonTracking_Eta2p1_v"
465 hltSingleJet = cms.PSet(
466 triggerSelection = cms.string(partialPathName+
"*"),
467 handlerType = cms.string(
"FromHLT"),
468 partialPathName = cms.string(partialPathName),
469 partialFilterName = cms.string(
"hltSinglePAAK4" + jType +
"Jet"),
470 dqmhistolabel = cms.string(
"hltSinglePAAK4" + jType +
"BJetCSV" + str(t) +
"CommonTracking"),
471 mainDQMDirname = cms.untracked.string(dirname),
472 singleObjectsPreselection = cms.string(
"1==1"),
473 singleObjectDrawables = cms.VPSet(
474 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(420)),
475 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"eta"), bins = cms.int32(100), min = cms.double(-5.0), max = cms.double(5.0)),
476 cms.PSet (name = cms.string(
"phi"), expression = cms.string(
"phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
478 combinedObjectSelection = cms.string(
"1==1"),
479 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
480 combinedObjectDimension = cms.int32(1),
481 combinedObjectDrawables = cms.VPSet()
483 ret.append(hltSingleJet)
485 for t
in gammaThresholds:
486 partialPathName =
"HLT_PASinglePhoton" + str(t) +
"_Eta3p1_v"
487 hltSingleGamma = cms.PSet(
488 triggerSelection = cms.string(partialPathName+
"*"),
489 handlerType = cms.string(
"FromHLT"),
490 partialPathName = cms.string(partialPathName),
491 partialFilterName = cms.string(
"hltHIPhoton"),
492 dqmhistolabel = cms.string(
"hltHIPhoton" + str(t)),
493 mainDQMDirname = cms.untracked.string(dirname),
494 singleObjectsPreselection = cms.string(
"1==1"),
495 singleObjectDrawables = cms.VPSet(
496 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(220)),
497 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"eta"), bins = cms.int32(100), min = cms.double(-3.0), max = cms.double(3.0)),
498 cms.PSet (name = cms.string(
"phi"), expression = cms.string(
"phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
500 combinedObjectSelection = cms.string(
"1==1"),
501 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
502 combinedObjectDimension = cms.int32(1),
503 combinedObjectDrawables = cms.VPSet()
505 ret.append(hltSingleGamma)
507 for t
in gammaThresholds:
508 partialPathName =
"HLT_PAPhoton" + str(t) +
"_Eta3p1_PPStyle_v"
509 hltSingleGamma = cms.PSet(
510 triggerSelection = cms.string(partialPathName+
"*"),
511 handlerType = cms.string(
"FromHLT"),
512 partialPathName = cms.string(partialPathName),
513 partialFilterName = cms.string(
"hltEGBptxAND" + str(t) +
"EtFilter"),
514 dqmhistolabel = cms.string(
"hltHIPhoton" + str(t) +
"PPStyle"),
515 mainDQMDirname = cms.untracked.string(dirname),
516 singleObjectsPreselection = cms.string(
"1==1"),
517 singleObjectDrawables = cms.VPSet(
518 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(220)),
519 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"eta"), bins = cms.int32(100), min = cms.double(-3.0), max = cms.double(3.0)),
520 cms.PSet (name = cms.string(
"phi"), expression = cms.string(
"phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
522 combinedObjectSelection = cms.string(
"1==1"),
523 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
524 combinedObjectDimension = cms.int32(1),
525 combinedObjectDrawables = cms.VPSet()
527 ret.append(hltSingleGamma)
529 for t
in isogammaThresholds:
530 partialPathName =
"HLT_PASingleIsoPhoton" + str(t) +
"_Eta3p1_v"
531 hltSingleGamma = cms.PSet(
532 triggerSelection = cms.string(partialPathName+
"*"),
533 handlerType = cms.string(
"FromHLT"),
534 partialPathName = cms.string(partialPathName),
535 partialFilterName = cms.string(
"hltHIPhoton"),
536 dqmhistolabel = cms.string(
"hltHIIsoPhoton" + str(t)),
537 mainDQMDirname = cms.untracked.string(dirname),
538 singleObjectsPreselection = cms.string(
"1==1"),
539 singleObjectDrawables = cms.VPSet(
540 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(220)),
541 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"eta"), bins = cms.int32(100), min = cms.double(-3.0), max = cms.double(3.0)),
542 cms.PSet (name = cms.string(
"phi"), expression = cms.string(
"phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
544 combinedObjectSelection = cms.string(
"1==1"),
545 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
546 combinedObjectDimension = cms.int32(1),
547 combinedObjectDrawables = cms.VPSet()
549 ret.append(hltSingleGamma)
551 for t
in isogammaThresholds:
552 partialPathName =
"HLT_PAIsoPhoton" + str(t) +
"_Eta3p1_PPStyle_v"
553 hltSingleGamma = cms.PSet(
554 triggerSelection = cms.string(partialPathName+
"*"),
555 handlerType = cms.string(
"FromHLT"),
556 partialPathName = cms.string(partialPathName),
557 partialFilterName = cms.string(
"hltIsoEGBptxAND" + str(t) +
"EtFilter"),
558 dqmhistolabel = cms.string(
"hltHIIsoPhoton" + str(t) +
"PPStyle"),
559 mainDQMDirname = cms.untracked.string(dirname),
560 singleObjectsPreselection = cms.string(
"1==1"),
561 singleObjectDrawables = cms.VPSet(
562 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(220)),
563 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"eta"), bins = cms.int32(100), min = cms.double(-3.0), max = cms.double(3.0)),
564 cms.PSet (name = cms.string(
"phi"), expression = cms.string(
"phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
566 combinedObjectSelection = cms.string(
"1==1"),
567 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
568 combinedObjectDimension = cms.int32(1),
569 combinedObjectDrawables = cms.VPSet()
571 ret.append(hltSingleGamma)
573 for t
in eleThresholds:
574 partialPathName =
"HLT_PAEle" + str(t) +
"_WPLoose_Gsf_v"
575 hltSingleElectron = cms.PSet(
576 triggerSelection = cms.string(partialPathName+
"*"),
577 handlerType = cms.string(
"FromHLT"),
578 partialPathName = cms.string(partialPathName),
579 partialFilterName = cms.string(
"hltPAEle" + str(t) +
"WPLooseGsfTrackIsoFilter"),
580 dqmhistolabel = cms.string(
"hltHIPAElectron" + str(t)),
581 mainDQMDirname = cms.untracked.string(dirname),
582 singleObjectsPreselection = cms.string(
"1==1"),
583 singleObjectDrawables = cms.VPSet(
584 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(220)),
585 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"eta"), bins = cms.int32(100), min = cms.double(-3.0), max = cms.double(3.0)),
586 cms.PSet (name = cms.string(
"phi"), expression = cms.string(
"phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
588 combinedObjectSelection = cms.string(
"1==1"),
589 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
590 combinedObjectDimension = cms.int32(1),
591 combinedObjectDrawables = cms.VPSet()
593 ret.append(hltSingleElectron)
595 for t
in jetThresholdsMu:
596 for tMu
in muThresholds:
597 partialPathName =
"HLT_PAAK4CaloJet" + str(t) +
"_Eta5p1_PAL3Mu" + str(tMu) +
"_v"
599 triggerSelection = cms.string(partialPathName+
"*"),
600 handlerType = cms.string(
"FromHLT"),
601 partialPathName = cms.string(partialPathName),
602 partialFilterName = cms.string(
"hltSinglePAAK4CaloJet"),
603 dqmhistolabel = cms.string(
"hltSingleAK4CaloJet" + str(t)),
604 mainDQMDirname = cms.untracked.string(dirname),
605 singleObjectsPreselection = cms.string(
"1==1"),
606 singleObjectDrawables = cms.VPSet(
607 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(420)),
608 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"eta"), bins = cms.int32(100), min = cms.double(-5.0), max = cms.double(5.0)),
609 cms.PSet (name = cms.string(
"phi"), expression = cms.string(
"phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
611 combinedObjectSelection = cms.string(
"1==1"),
612 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
613 combinedObjectDimension = cms.int32(1),
614 combinedObjectDrawables = cms.VPSet()
618 for t
in gammaThresholdsMu:
619 for tMu
in muThresholds:
620 partialPathName =
"HLT_PASinglePhoton" + str(t) +
"_Eta3p1_PAL3Mu" + str(tMu) +
"_v"
621 hltGammaMu = cms.PSet(
622 triggerSelection = cms.string(partialPathName+
"*"),
623 handlerType = cms.string(
"FromHLT"),
624 partialPathName = cms.string(partialPathName),
625 partialFilterName = cms.string(
"hltHIPhoton"),
626 dqmhistolabel = cms.string(
"hltHIPhoton" + str(t)),
627 mainDQMDirname = cms.untracked.string(dirname),
628 singleObjectsPreselection = cms.string(
"1==1"),
629 singleObjectDrawables = cms.VPSet(
630 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(220)),
631 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"eta"), bins = cms.int32(100), min = cms.double(-3.0), max = cms.double(3.0)),
632 cms.PSet (name = cms.string(
"phi"), expression = cms.string(
"phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
634 combinedObjectSelection = cms.string(
"1==1"),
635 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
636 combinedObjectDimension = cms.int32(1),
637 combinedObjectDrawables = cms.VPSet()
639 ret.append(hltGammaMu)
641 partialPathName =
"HLT_PADoublePhoton15_Eta3p1_Mass50_1000_v"
642 hltDoubleGamma = cms.PSet(
643 triggerSelection = cms.string(partialPathName+
"*"),
644 handlerType = cms.string(
"FromHLT"),
645 partialPathName = cms.string(partialPathName),
646 partialFilterName = cms.string(
"hltHIDoublePhotonCut"),
647 dqmhistolabel = cms.string(
"hltHIDoublePhotonCut15"),
648 mainDQMDirname = cms.untracked.string(dirname),
649 singleObjectsPreselection = cms.string(
"1==1"),
650 singleObjectDrawables = cms.VPSet(
651 cms.PSet (name = cms.string(
"pt"), expression = cms.string(
"pt"), bins = cms.int32(100), min = cms.double(20), max = cms.double(220)),
652 cms.PSet (name = cms.string(
"eta"), expression = cms.string(
"eta"), bins = cms.int32(100), min = cms.double(-3.0), max = cms.double(3.0)),
653 cms.PSet (name = cms.string(
"phi"), expression = cms.string(
"phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
655 combinedObjectSelection = cms.string(
"1==1"),
656 combinedObjectSortCriteria = cms.string(
"at(0).pt"),
657 combinedObjectDimension = cms.int32(1),
658 combinedObjectDrawables = cms.VPSet()
661 ret.append(hltDoubleGamma)