1 import FWCore.ParameterSet.Config
as cms
3 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
7 dirname = cms.untracked.string(
"HLT/BTV"),
8 processname = cms.string(
"HLT"),
9 verbose = cms.untracked.bool(
False),
11 triggerSummaryLabel = cms.InputTag(
"hltTriggerSummaryAOD",
"",
"HLT"),
12 triggerResultsLabel = cms.InputTag(
"TriggerResults",
"",
"HLT"),
13 onlineDiscrLabelPF = cms.InputTag(
"hltDeepCombinedSecondaryVertexBJetTagsPF",
"probb"),
14 onlineDiscrLabelCalo = cms.InputTag(
"hltDeepCombinedSecondaryVertexBJetTagsCalo",
"probb"),
15 offlineDiscrLabelb = cms.InputTag(
"pfDeepCSVJetTags",
"probb"),
16 offlineDiscrLabelbb = cms.InputTag(
"pfDeepCSVJetTags",
"probbb"),
17 hltFastPVLabel = cms.InputTag(
"hltFastPrimaryVertex"),
18 hltPFPVLabel = cms.InputTag(
"hltVerticesPFSelector"),
19 hltCaloPVLabel = cms.InputTag(
"hltVerticesL3"),
20 offlinePVLabel = cms.InputTag(
"offlinePrimaryVertices"),
21 offlineIPLabel = cms.InputTag(
"pfImpactParameterTagInfos"),
22 turnon_threshold_loose = cms.double(0.2),
23 turnon_threshold_medium = cms.double(0.5),
24 turnon_threshold_tight = cms.double(0.8),
25 minDecayLength = cms.double(-9999.0),
26 maxDecayLength = cms.double(5.0),
27 minJetDistance = cms.double(0.0),
28 maxJetDistance = cms.double(0.07),
29 dRTrackMatch = cms.double(0.01),
32 pathPairs = cms.VPSet(
35 pathname = cms.string(
"HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_PFDiJet30_PFBtagDeepCSV_1p5_v"),
36 pathtype = cms.string(
"PF"),
39 pathname = cms.string(
"HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_CaloDiJet30_CaloBtagDeepCSV_1p5_v"),
40 pathtype = cms.string(
"Calo"),
43 pathname = cms.string(
"HLT_PFHT400_SixPFJet32_DoublePFBTagDeepCSV_2p94_v"),
44 pathtype = cms.string(
"PF"),
47 pathname = cms.string(
"HLT_PFHT400_SixPFJet32_DoublePFBTagDeepCSV_2p94_v"),
48 pathtype = cms.string(
"Calo"),
56 from DQM.TrackingMonitorSource.trackToTrackComparisonHists_cfi
import trackToTrackComparisonHists
58 referenceTracksForHLTBTag = cms.EDFilter(
'TrackSelector',
59 src = cms.InputTag(
'generalTracks'),
60 cut = cms.string(
"quality('highPurity')")
63 bTagHLTTrackMonitoring_EmuCalo = trackToTrackComparisonHists.clone(
65 monitoredTrack =
"hltMergedTracksForBTag",
66 referenceTrack =
"referenceTracksForHLTBTag",
67 monitoredBeamSpot =
"hltOnlineBeamSpot",
68 referenceBeamSpot =
"offlineBeamSpot",
69 topDirName =
"HLT/BTV/HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_CaloDiJet30_CaloBtagDeepCSV_1p5Calo",
70 referencePrimaryVertices =
"offlinePrimaryVertices",
71 monitoredPrimaryVertices =
"hltVerticesL3",
72 genericTriggerEventPSet = dict(hltPaths = [
"HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_CaloDiJet30_CaloBtagDeepCSV_1p5*"])
75 bTagHLTTrackMonitoring_SixJetCalo = bTagHLTTrackMonitoring_EmuCalo.clone(
76 topDirName =
"HLT/BTV/HLT_PFHT400_SixPFJet32_DoublePFBTagDeepCSV_2p94PF",
77 genericTriggerEventPSet = dict(hltPaths = [
"HLT_PFHT400_SixPFJet32_DoublePFBTagDeepCSV_2p94_v*"])
80 bTagHLTTrackMonitoring_EmuPF = bTagHLTTrackMonitoring_EmuCalo.clone(
81 monitoredTrack =
"hltMergedTracks",
82 monitoredPrimaryVertices =
"hltVerticesPFSelector",
83 topDirName =
"HLT/BTV/HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_PFDiJet30_PFBtagDeepCSV_1p5PF",
84 genericTriggerEventPSet = dict(hltPaths = [
"HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_PFDiJet30_PFBtagDeepCSV_1p5*"])
87 bTagHLTTrackMonitoring_SixJetPF = bTagHLTTrackMonitoring_EmuPF.clone(
88 monitoredTrack =
"hltMergedTracks",
89 monitoredPrimaryVertices =
"hltVerticesPFSelector",
90 topDirName =
"HLT/BTV/HLT_PFHT400_SixPFJet32_DoublePFBTagDeepCSV_2p94PF",
91 genericTriggerEventPSet = dict(hltPaths = [
"HLT_PFHT400_SixPFJet32_DoublePFBTagDeepCSV_2p94_v*"])
94 bTagHLTTrackMonitoringSequence = cms.Sequence(
95 cms.ignore(referenceTracksForHLTBTag)
96 + bTagHLTTrackMonitoring_EmuCalo
97 + bTagHLTTrackMonitoring_SixJetCalo
98 + bTagHLTTrackMonitoring_EmuPF
99 + bTagHLTTrackMonitoring_SixJetPF