Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-04-29 23:10:36

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMOffline.Trigger.MssmHbbMonitoring_cfi import mssmHbbMonitoring
0004 
0005 #Define MssmHbb specific cuts 
0006 hltMssmHbbmonitoring =  mssmHbbMonitoring.clone(
0007     btagAlgos = ["pfDeepCSVJetTags:probb", "pfDeepCSVJetTags:probbb"],
0008     workingpoint    = 0.2783, # medium WP
0009     njets = 2,
0010     nbjets = 2,
0011     nmuons = 0,
0012     bJetDeltaEtaMax = 1.6, # deta cut between leading bjets
0013     bJetMuDeltaRmax = 0.4  # dR(mu,nbjet) cone; only if #mu >1
0014 )
0015 # Fully-hadronic MssmHbb DeepCSV (main)
0016 hltMssmHbbDeepCSVMonitoringFH116 = hltMssmHbbmonitoring.clone(
0017     FolderName = 'HLT/HIG/MssmHbb/fullhadronic/HLT_DoublePFJets116MaxDeta1p6_DoublePFBTagDeepCSV_p71',
0018     bjetSelection = 'pt>100 & abs(eta)<2.2',
0019     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_DoublePFJets116MaxDeta1p6_DoublePFBTagDeepCSV_p71_v*']),
0020     histoPSet = dict(jetPtBinning = [0,100,150,200,250,300,350,400,500,700,1000,1500])
0021 )
0022 
0023 # Fully-hadronic MssmHbb DeepCSV (backup)
0024 hltMssmHbbDeepCSVMonitoringFH128 = hltMssmHbbmonitoring.clone(
0025     FolderName = 'HLT/HIG/MssmHbb/fullhadronic/HLT_DoublePFJets128MaxDeta1p6_DoublePFBTagDeepCSV_p71',
0026     bjetSelection = 'pt>100 & abs(eta)<2.2',
0027     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_DoublePFJets128MaxDeta1p6_DoublePFBTagDeepCSV_p71_v*']),
0028     histoPSet = dict(jetPtBinning = [0,100,150,200,250,300,350,400,500,700,1000,1500])
0029 )
0030 
0031 # Semileptonic MssmHbb DeepCSV (main)
0032 hltMssmHbbDeepCSVMonitoringSL40 = hltMssmHbbmonitoring.clone(
0033     FolderName = 'HLT/HIG/MssmHbb/semileptonic/HLT_Mu12_DoublePFJets40MaxDeta1p6_DoublePFBTagDeepCSV_p71',
0034     bjetSelection = 'pt>40 & abs(eta)<2.2',
0035     nmuons = 1,
0036     muoSelection = 'pt>12 & abs(eta)<2.2 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10',
0037     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_DoublePFJets40MaxDeta1p6_DoublePFBTagDeepCSV_p71_v*']),
0038     histoPSet = dict(jetPtBinning = [0,40,60,80,120,160,250,300,350,400,500,1000,1500],
0039                      muPtBinning = [0,7,11,12,13,15,20,30,40,50,70,100,150,200,400,700])
0040 
0041 )
0042 
0043 # Semileptonic MssmHbb DeepCSV (backup)
0044 hltMssmHbbDeepCSVMonitoringSL54 = hltMssmHbbmonitoring.clone(
0045     FolderName = 'HLT/HIG/MssmHbb/semileptonic/HLT_Mu12_DoublePFJets54MaxDeta1p6_DoublePFBTagDeepCSV_p71',
0046     bjetSelection = 'pt>40 & abs(eta)<2.2',
0047     nmuons = 1,
0048     muoSelection = 'pt>12 & abs(eta)<2.2 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10',
0049     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_DoublePFJets54MaxDeta1p6_DoublePFBTagDeepCSV_p71_v*']),
0050     histoPSet = dict(jetPtBinning = [0,40,60,80,120,160,250,300,350,400,500,1000,1500],
0051                      muPtBinning = [0,7,11,12,13,15,20,30,40,50,70,100,150,200,400,700])
0052 )
0053 
0054 
0055 
0056 
0057 # Fully-hadronic MssmHbb DeepJet (main)
0058 hltMssmHbbDeepJetMonitoringFH116 = hltMssmHbbmonitoring.clone(
0059     FolderName = 'HLT/HIG/MssmHbb/fullhadronic/HLT_DoublePFJets116MaxDeta1p6_DoublePFBTagDeepJet_p71',
0060     bjetSelection = 'pt>100 & abs(eta)<2.2',
0061     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_DoublePFJets116MaxDeta1p6_DoublePFBTagDeepJet_p71_v*']),
0062     histoPSet = dict(jetPtBinning = [0,100,150,200,250,300,350,400,500,700,1000,1500])
0063 )
0064 
0065 # Fully-hadronic MssmHbb DeepJet (backup)
0066 hltMssmHbbDeepJetMonitoringFH128 = hltMssmHbbmonitoring.clone(
0067     FolderName = 'HLT/HIG/MssmHbb/fullhadronic/HLT_DoublePFJets128MaxDeta1p6_DoublePFBTagDeepJet_p71',
0068     bjetSelection = 'pt>100 & abs(eta)<2.2',
0069     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_DoublePFJets128MaxDeta1p6_DoublePFBTagDeepJet_p71_v*']),
0070     histoPSet = dict(jetPtBinning = [0,100,150,200,250,300,350,400,500,700,1000,1500])
0071 )
0072 
0073 # Semileptonic MssmHbb DeepJet (main)
0074 hltMssmHbbDeepJetMonitoringSL40 = hltMssmHbbmonitoring.clone(
0075     FolderName = 'HLT/HIG/MssmHbb/semileptonic/HLT_Mu12_DoublePFJets40MaxDeta1p6_DoublePFBTagDeepJet_p71',
0076     bjetSelection = 'pt>40 & abs(eta)<2.2',
0077     nmuons = 1,
0078     muoSelection = 'pt>12 & abs(eta)<2.2 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10',
0079     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_DoublePFJets40MaxDeta1p6_DoublePFBTagDeepJet_p71_v*']),
0080     histoPSet = dict(jetPtBinning = [0,40,60,80,120,160,250,300,350,400,500,1000,1500],
0081                      muPtBinning = [0,7,11,12,13,15,20,30,40,50,70,100,150,200,400,700])
0082 )
0083 
0084 # Semileptonic MssmHbb DeepJet (backup)
0085 hltMssmHbbDeepJetMonitoringSL54 = hltMssmHbbmonitoring.clone(
0086     FolderName = 'HLT/HIG/MssmHbb/semileptonic/HLT_Mu12_DoublePFJets54MaxDeta1p6_DoublePFBTagDeepJet_p71',
0087     bjetSelection = 'pt>40 & abs(eta)<2.2',
0088     nmuons = 1,
0089     muoSelection = 'pt>12 & abs(eta)<2.2 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10',
0090     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_DoublePFJets54MaxDeta1p6_DoublePFBTagDeepJet_p71_v*']),
0091     histoPSet = dict(jetPtBinning = [0,40,60,80,120,160,250,300,350,400,500,1000,1500],
0092                      muPtBinning = [0,7,11,12,13,15,20,30,40,50,70,100,150,200,400,700])
0093 )
0094 
0095 
0096 
0097 #control b-tagging 
0098 hltMssmHbbMonitoringMu12 = hltMssmHbbmonitoring.clone(
0099     FolderName = 'HLT/HIG/MssmHbb/control/muon/HLT_Mu12eta2p3',
0100     nmuons = 1,
0101     nbjets = 0,
0102     njets = 0,
0103     muoSelection = 'pt>12 & abs(eta)<2.2 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10',
0104     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12eta2p3_v*']),
0105     histoPSet = dict(muPtBinning = [0,7,11,12,13,15,20,30,40,50,70,100,150,200,400,700])
0106 )
0107 
0108 hltMssmHbbMonitoringMu12Jet40 = hltMssmHbbmonitoring.clone(
0109     FolderName = 'HLT/HIG/MssmHbb/control/muon/HLT_Mu12eta2p3_PFJet40',
0110     nmuons = 1,
0111     nbjets = 0,
0112     njets = 1,
0113     muoSelection = 'pt>12 & abs(eta)<2.2 & isPFMuon & isGlobalMuon  & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & globalTrack.hitPattern.numberOfValidMuonHits>0 & globalTrack.normalizedChi2<10',
0114     jetSelection = 'pt>40 & abs(eta)<2.2',
0115     numGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12eta2p3_PFJet40_v*']),
0116     histoPSet = dict(jetPtBinning = [0,40,60,80,120,160,250,300,350,400,500,1000,1500],
0117                      muPtBinning = [0,7,11,12,13,15,20,30,40,50,70,100,150,200,400,700])
0118 )
0119 
0120 
0121 
0122 mssmHbbMonitorHLT = cms.Sequence(
0123     #full-hadronic DeepCSV
0124     hltMssmHbbDeepCSVMonitoringFH116 +
0125     hltMssmHbbDeepCSVMonitoringFH128 +
0126     #semileptonic DeepCSV
0127     hltMssmHbbDeepCSVMonitoringSL40  +  
0128     hltMssmHbbDeepCSVMonitoringSL54  +  
0129     #full-hadronic DeepJet
0130     hltMssmHbbDeepJetMonitoringFH116 +
0131     hltMssmHbbDeepJetMonitoringFH128 +
0132     #semileptonic DeepJet
0133     hltMssmHbbDeepJetMonitoringSL40  +  
0134     hltMssmHbbDeepJetMonitoringSL54  +  
0135     #muon jet no b-tag
0136     hltMssmHbbMonitoringMu12 +
0137     hltMssmHbbMonitoringMu12Jet40
0138 )