CMS 3D CMS Logo

MssmHbbMonitoring_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.Trigger.MssmHbbMonitoring_cfi import mssmHbbMonitoring
4 
5 #Define MssmHbb specific cuts
6 hltMssmHbbmonitoring = mssmHbbMonitoring.clone(
7  btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"],
8  workingpoint = 0.2783, # medium WP
9  njets = 2,
10  nbjets = 2,
11  nmuons = 0,
12  bJetDeltaEtaMax = 1.6, # deta cut between leading bjets
13  bJetMuDeltaRmax = 0.4 # dR(mu,nbjet) cone; only if #mu >1
14 )
15 # Fully-hadronic MssmHbb DeepCSV (main)
16 hltMssmHbbDeepCSVMonitoringFH116 = hltMssmHbbmonitoring.clone(
17  FolderName = 'HLT/HIG/MssmHbb/fullhadronic/HLT_DoublePFJets116MaxDeta1p6_DoublePFBTagDeepCSV_p71',
18  bjetSelection = 'pt>100 & abs(eta)<2.2',
19  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_DoublePFJets116MaxDeta1p6_DoublePFBTagDeepCSV_p71_v*']),
20  histoPSet = dict(jetPtBinning = [0,100,150,200,250,300,350,400,500,700,1000,1500])
21 )
22 
23 # Fully-hadronic MssmHbb DeepCSV (backup)
24 hltMssmHbbDeepCSVMonitoringFH128 = hltMssmHbbmonitoring.clone(
25  FolderName = 'HLT/HIG/MssmHbb/fullhadronic/HLT_DoublePFJets128MaxDeta1p6_DoublePFBTagDeepCSV_p71',
26  bjetSelection = 'pt>100 & abs(eta)<2.2',
27  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_DoublePFJets128MaxDeta1p6_DoublePFBTagDeepCSV_p71_v*']),
28  histoPSet = dict(jetPtBinning = [0,100,150,200,250,300,350,400,500,700,1000,1500])
29 )
30 
31 # Semileptonic MssmHbb DeepCSV (main)
32 hltMssmHbbDeepCSVMonitoringSL40 = hltMssmHbbmonitoring.clone(
33  FolderName = 'HLT/HIG/MssmHbb/semileptonic/HLT_Mu12_DoublePFJets40MaxDeta1p6_DoublePFBTagDeepCSV_p71',
34  bjetSelection = 'pt>40 & abs(eta)<2.2',
35  nmuons = 1,
36  muoSelection = 'pt>12 & abs(eta)<2.2 & isPFMuon & isGlobalMuon & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10',
37  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_DoublePFJets40MaxDeta1p6_DoublePFBTagDeepCSV_p71_v*']),
38  histoPSet = dict(jetPtBinning = [0,40,60,80,120,160,250,300,350,400,500,1000,1500],
39  muPtBinning = [0,7,11,12,13,15,20,30,40,50,70,100,150,200,400,700])
40 
41 )
42 
43 # Semileptonic MssmHbb DeepCSV (backup)
44 hltMssmHbbDeepCSVMonitoringSL54 = hltMssmHbbmonitoring.clone(
45  FolderName = 'HLT/HIG/MssmHbb/semileptonic/HLT_Mu12_DoublePFJets54MaxDeta1p6_DoublePFBTagDeepCSV_p71',
46  bjetSelection = 'pt>40 & abs(eta)<2.2',
47  nmuons = 1,
48  muoSelection = 'pt>12 & abs(eta)<2.2 & isPFMuon & isGlobalMuon & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10',
49  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_DoublePFJets54MaxDeta1p6_DoublePFBTagDeepCSV_p71_v*']),
50  histoPSet = dict(jetPtBinning = [0,40,60,80,120,160,250,300,350,400,500,1000,1500],
51  muPtBinning = [0,7,11,12,13,15,20,30,40,50,70,100,150,200,400,700])
52 )
53 
54 
55 
56 
57 # Fully-hadronic MssmHbb DeepJet (main)
58 hltMssmHbbDeepJetMonitoringFH116 = hltMssmHbbmonitoring.clone(
59  FolderName = 'HLT/HIG/MssmHbb/fullhadronic/HLT_DoublePFJets116MaxDeta1p6_DoublePFBTagDeepJet_p71',
60  bjetSelection = 'pt>100 & abs(eta)<2.2',
61  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_DoublePFJets116MaxDeta1p6_DoublePFBTagDeepJet_p71_v*']),
62  histoPSet = dict(jetPtBinning = [0,100,150,200,250,300,350,400,500,700,1000,1500])
63 )
64 
65 # Fully-hadronic MssmHbb DeepJet (backup)
66 hltMssmHbbDeepJetMonitoringFH128 = hltMssmHbbmonitoring.clone(
67  FolderName = 'HLT/HIG/MssmHbb/fullhadronic/HLT_DoublePFJets128MaxDeta1p6_DoublePFBTagDeepJet_p71',
68  bjetSelection = 'pt>100 & abs(eta)<2.2',
69  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_DoublePFJets128MaxDeta1p6_DoublePFBTagDeepJet_p71_v*']),
70  histoPSet = dict(jetPtBinning = [0,100,150,200,250,300,350,400,500,700,1000,1500])
71 )
72 
73 # Semileptonic MssmHbb DeepJet (main)
74 hltMssmHbbDeepJetMonitoringSL40 = hltMssmHbbmonitoring.clone(
75  FolderName = 'HLT/HIG/MssmHbb/semileptonic/HLT_Mu12_DoublePFJets40MaxDeta1p6_DoublePFBTagDeepJet_p71',
76  bjetSelection = 'pt>40 & abs(eta)<2.2',
77  nmuons = 1,
78  muoSelection = 'pt>12 & abs(eta)<2.2 & isPFMuon & isGlobalMuon & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10',
79  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_DoublePFJets40MaxDeta1p6_DoublePFBTagDeepJet_p71_v*']),
80  histoPSet = dict(jetPtBinning = [0,40,60,80,120,160,250,300,350,400,500,1000,1500],
81  muPtBinning = [0,7,11,12,13,15,20,30,40,50,70,100,150,200,400,700])
82 )
83 
84 # Semileptonic MssmHbb DeepJet (backup)
85 hltMssmHbbDeepJetMonitoringSL54 = hltMssmHbbmonitoring.clone(
86  FolderName = 'HLT/HIG/MssmHbb/semileptonic/HLT_Mu12_DoublePFJets54MaxDeta1p6_DoublePFBTagDeepJet_p71',
87  bjetSelection = 'pt>40 & abs(eta)<2.2',
88  nmuons = 1,
89  muoSelection = 'pt>12 & abs(eta)<2.2 & isPFMuon & isGlobalMuon & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10',
90  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_DoublePFJets54MaxDeta1p6_DoublePFBTagDeepJet_p71_v*']),
91  histoPSet = dict(jetPtBinning = [0,40,60,80,120,160,250,300,350,400,500,1000,1500],
92  muPtBinning = [0,7,11,12,13,15,20,30,40,50,70,100,150,200,400,700])
93 )
94 
95 
96 
97 #control b-tagging
98 hltMssmHbbMonitoringMu12 = hltMssmHbbmonitoring.clone(
99  FolderName = 'HLT/HIG/MssmHbb/control/muon/HLT_Mu12eta2p3',
100  nmuons = 1,
101  nbjets = 0,
102  njets = 0,
103  muoSelection = 'pt>12 & abs(eta)<2.2 & isPFMuon & isGlobalMuon & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10',
104  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12eta2p3_v*']),
105  histoPSet = dict(muPtBinning = [0,7,11,12,13,15,20,30,40,50,70,100,150,200,400,700])
106 )
107 
108 hltMssmHbbMonitoringMu12Jet40 = hltMssmHbbmonitoring.clone(
109  FolderName = 'HLT/HIG/MssmHbb/control/muon/HLT_Mu12eta2p3_PFJet40',
110  nmuons = 1,
111  nbjets = 0,
112  njets = 1,
113  muoSelection = 'pt>12 & abs(eta)<2.2 & isPFMuon & isGlobalMuon & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10',
114  jetSelection = 'pt>40 & abs(eta)<2.2',
115  numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12eta2p3_PFJet40_v*']),
116  histoPSet = dict(jetPtBinning = [0,40,60,80,120,160,250,300,350,400,500,1000,1500],
117  muPtBinning = [0,7,11,12,13,15,20,30,40,50,70,100,150,200,400,700])
118 )
119 
120 
121 
122 mssmHbbMonitorHLT = cms.Sequence(
123  #full-hadronic DeepCSV
124  hltMssmHbbDeepCSVMonitoringFH116 +
125  hltMssmHbbDeepCSVMonitoringFH128 +
126  #semileptonic DeepCSV
127  hltMssmHbbDeepCSVMonitoringSL40 +
128  hltMssmHbbDeepCSVMonitoringSL54 +
129  #full-hadronic DeepJet
130  hltMssmHbbDeepJetMonitoringFH116 +
131  hltMssmHbbDeepJetMonitoringFH128 +
132  #semileptonic DeepJet
133  hltMssmHbbDeepJetMonitoringSL40 +
134  hltMssmHbbDeepJetMonitoringSL54 +
135  #muon jet no b-tag
136  hltMssmHbbMonitoringMu12 +
137  hltMssmHbbMonitoringMu12Jet40
138 )