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 DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0004 
0005 triggerFlagPSet = cms.PSet(
0006   dcsInputTag = cms.InputTag('scalersRawToDigi'),
0007   dcsRecordInputTag = cms.InputTag('onlineMetaDataDigis'),
0008   dcsPartitions = cms.vint32( 24, 25, 26, 27, 28, 29 ),
0009   andOrDcs = cms.bool(False),
0010   errorReplyDcs = cms.bool(True),
0011   dbLabel = cms.string(''),
0012   andOrHlt = cms.bool(True),
0013   hltInputTag = cms.InputTag('TriggerResults', '', 'HLT'),
0014   hltPaths = cms.vstring(),
0015   hltDBKey = cms.string(''),
0016   errorReplyHlt = cms.bool(False),
0017   verbosityLevel = cms.uint32(1),
0018   andOr = cms.bool(False)
0019 )
0020 
0021 mssmHbbBtagTriggerMonitor = DQMEDAnalyzer("TagAndProbeBtagTriggerMonitor",
0022     dirname = cms.string("HLT/HIG/MssmHbb/"),
0023     requireValidHLTPaths = cms.bool(True),
0024     processname = cms.string("HLT"),
0025     jetPtMin = cms.double(40),
0026     jetEtaMax = cms.double(2.2),
0027     tagBtagMin = cms.double(0.7665),
0028     probeBtagMin = cms.double(0.4168),
0029     triggerobjbtag = cms.string("hltBTagCaloDeepCSV0p71Single8Jets30"),
0030     triggerSummary = cms.InputTag("hltTriggerSummaryAOD","","HLT"),
0031     btagAlgos = cms.VInputTag(cms.InputTag("pfDeepCSVJetTags:probb"), cms.InputTag("pfDeepCSVJetTags:probbb")),
0032     histoPSet = cms.PSet(
0033        jetPt  = cms.vdouble(40,45,50,55,60,65,70,75,80,85,90,95,100),
0034        jetEta = cms.vdouble(-2.5,-2.0,-1.5,-1.0,-0.5,0.0,0.5,1.0,1.5,2.0,2.5),
0035        jetPhi = cms.vdouble(-3.5,-3.0,-2.5,-2.0,-1.5,-1.0,-0.5,0.0,0.5,1.0,1.5,2.0,2.5,3.0,3.5),
0036        jetBtag = cms.vdouble(0.0,0.10,0.20,0.30,0.40,0.45,0.50,0.55,0.60,0.65,0.70,0.72,0.74,0.76,0.78,0.80,0.81,0.82,0.83,0.84,0.85,0.86,0.87,0.88,0.89,0.90,0.91,0.92,0.93,0.94,0.95,0.96,0.97,0.98,0.99,1.00),
0037     ),
0038     genericTriggerEventPSet = triggerFlagPSet.clone(),
0039 )
0040 
0041 # online btagging monitor
0042 
0043 ## Full hadronic - DeepCSV BTag
0044 
0045 mssmHbbDeepCSVBtagTriggerMonitorFH40 = mssmHbbBtagTriggerMonitor.clone(
0046     dirname = "HLT/HIG/MssmHbb/control/btag/HLT_DoublePFJets40_PFBTagDeepCSV_p71",
0047     jetPtMin = 40,
0048     triggerobjbtag = "hltBTagPFDeepCSV0p71Single8Jets30",
0049     histoPSet = dict(jetPt = [40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,130,140,150,160,180,200,250,300,400,500]),
0050     genericTriggerEventPSet = dict(hltPaths = ['HLT_DoublePFJets40_PFBTagDeepCSV_p71_v*'])
0051 )
0052 
0053 mssmHbbDeepCSVBtagTriggerMonitorFH100 = mssmHbbBtagTriggerMonitor.clone(
0054     dirname = "HLT/HIG/MssmHbb/control/btag/HLT_DoublePFJets100_PFBTagDeepCSV_p71",
0055     jetPtMin = 100,
0056     triggerobjbtag = "hltBTagPFDeepCSV0p71Single8Jets30",
0057     histoPSet = dict(jetPt = [100,110,120,130,140,150,160,170,180,190,200,220,240,260,280,300,350,400,450,500,600,700,800]),
0058     genericTriggerEventPSet = dict(hltPaths = ['HLT_DoublePFJets100_PFBTagDeepCSV_p71_v*'])
0059 )
0060 
0061 mssmHbbDeepCSVBtagTriggerMonitorFH200 = mssmHbbBtagTriggerMonitor.clone(
0062     dirname = "HLT/HIG/MssmHbb/control/btag/HLT_DoublePFJets200_PFBTagDeepCSV_p71",
0063     jetPtMin = 200,
0064     triggerobjbtag = "hltBTagPFDeepCSV0p71Single8Jets30",
0065     histoPSet = dict(jetPt = [200,210,220,230,240,250,260,270,280,290,300,310,320,330,340,350,360,380,400,420,440,460,500,550,600,700,800,900,1000]),
0066     genericTriggerEventPSet = dict(hltPaths = ['HLT_DoublePFJets200_PFBTagDeepCSV_p71_v*'])
0067 )
0068 
0069 mssmHbbDeepCSVBtagTriggerMonitorFH350 = mssmHbbBtagTriggerMonitor.clone(
0070     dirname = "HLT/HIG/MssmHbb/control/btag/HLT_DoublePFJets350_PFBTagDeepCSV_p71",
0071     jetPtMin = 350,
0072     triggerobjbtag = "hltBTagPFDeepCSV0p71Single8Jets30",
0073     histoPSet = dict(jetPt = [350,360,370,380,390,400,410,420,430,440,450,460,470,480,490,500,510,520,530,540,550,560,570,580,590,600,650,700,750,800,900,1000]),
0074     genericTriggerEventPSet = dict(hltPaths = ['HLT_DoublePFJets350_PFBTagDeepCSV_p71_v*'])
0075 )
0076 
0077 ## Semileptonic - DeepCSV BTag
0078 
0079 mssmHbbDeepCSVBtagTriggerMonitorSL40 = mssmHbbBtagTriggerMonitor.clone(
0080     dirname = "HLT/HIG/MssmHbb/control/btag/HLT_Mu12_DoublePFJets40_PFBTagDeepCSV_p71",
0081     jetPtMin = 40,
0082     triggerobjbtag = "hltBTagPFDeepCSV0p71Single8Jets30",
0083     histoPSet = dict(jetPt = [40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,130,140,150,160,180,200,250,300,400,500]),
0084     genericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_DoublePFJets40_PFBTagDeepCSV_p71_v*'])
0085 )
0086 
0087 mssmHbbDeepCSVBtagTriggerMonitorSL100 = mssmHbbBtagTriggerMonitor.clone(
0088     dirname = "HLT/HIG/MssmHbb/control/btag/HLT_Mu12_DoublePFJets100_PFBTagDeepCSV_p71",
0089     jetPtMin = 100,
0090     triggerobjbtag = "hltBTagPFDeepCSV0p71Single8Jets30",
0091     histoPSet = dict(jetPt = [100,110,120,130,140,150,160,170,180,190,200,220,240,260,280,300,350,400,450,500,600,700,800]),
0092     genericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_DoublePFJets100_PFBTagDeepCSV_p71_v*'])
0093 )
0094 
0095 mssmHbbDeepCSVBtagTriggerMonitorSL200 = mssmHbbBtagTriggerMonitor.clone(
0096     dirname = "HLT/HIG/MssmHbb/control/btag/HLT_Mu12_DoublePFJets200_PFBTagDeepCSV_p71",
0097     jetPtMin = 200,
0098     triggerobjbtag = "hltBTagPFDeepCSV0p71Single8Jets30",
0099     histoPSet = dict(jetPt = [200,210,220,230,240,250,260,270,280,290,300,310,320,330,340,350,360,380,400,420,440,460,500,550,600,700,800,900,1000]),
0100     genericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_DoublePFJets200_PFBTagDeepCSV_p71_v*'])
0101 )
0102 
0103 mssmHbbDeepCSVBtagTriggerMonitorSL350 = mssmHbbBtagTriggerMonitor.clone(
0104     dirname = "HLT/HIG/MssmHbb/control/btag/HLT_Mu12_DoublePFJets350_PFBTagDeepCSV_p71",
0105     jetPtMin = 350,
0106     triggerobjbtag = "hltBTagPFDeepCSV0p71Single8Jets30",
0107     histoPSet = dict(jetPt = [350,360,370,380,390,400,410,420,430,440,450,460,470,480,490,500,510,520,530,540,550,560,570,580,590,600,650,700,750,800,900,1000]),
0108     genericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_DoublePFJets350_PFBTagDeepCSV_p71_v*'])
0109 )
0110 
0111 
0112 ## Full hadronic - DeepJet BTag
0113 
0114 mssmHbbDeepJetBtagTriggerMonitorFH40 = mssmHbbBtagTriggerMonitor.clone(
0115     dirname = "HLT/HIG/MssmHbb/control/btag/HLT_DoublePFJets40_PFBTagDeepJet_p71",
0116     jetPtMin = 40,
0117     triggerobjbtag = "hltBTagPFDeepJet0p71Single8Jets30",
0118     histoPSet = dict(jetPt = [40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,130,140,150,160,180,200,250,300,400,500]),
0119     genericTriggerEventPSet = dict(hltPaths = ['HLT_DoublePFJets40_PFBTagDeepJet_p71_v*'])
0120 )
0121 
0122 mssmHbbDeepJetBtagTriggerMonitorFH100 = mssmHbbBtagTriggerMonitor.clone(
0123     dirname = "HLT/HIG/MssmHbb/control/btag/HLT_DoublePFJets100_PFBTagDeepJet_p71",
0124     jetPtMin = 100,
0125     triggerobjbtag = "hltBTagPFDeepJet0p71Single8Jets30",
0126     histoPSet = dict(jetPt = [100,110,120,130,140,150,160,170,180,190,200,220,240,260,280,300,350,400,450,500,600,700,800]),
0127     genericTriggerEventPSet = dict(hltPaths = ['HLT_DoublePFJets100_PFBTagDeepJet_p71_v*'])
0128 )
0129 
0130 mssmHbbDeepJetBtagTriggerMonitorFH200 = mssmHbbBtagTriggerMonitor.clone(
0131     dirname = "HLT/HIG/MssmHbb/control/btag/HLT_DoublePFJets200_PFBTagDeepJet_p71",
0132     jetPtMin = 200,
0133     triggerobjbtag = "hltBTagPFDeepJet0p71Single8Jets30",
0134     histoPSet = dict(jetPt = [200,210,220,230,240,250,260,270,280,290,300,310,320,330,340,350,360,380,400,420,440,460,500,550,600,700,800,900,1000]),
0135     genericTriggerEventPSet = dict(hltPaths = ['HLT_DoublePFJets200_PFBTagDeepJet_p71_v*'])
0136 )
0137 
0138 mssmHbbDeepJetBtagTriggerMonitorFH350 = mssmHbbBtagTriggerMonitor.clone(
0139     dirname = "HLT/HIG/MssmHbb/control/btag/HLT_DoublePFJets350_PFBTagDeepJet_p71",
0140     jetPtMin = 350,
0141     triggerobjbtag = "hltBTagPFDeepJet0p71Single8Jets30",
0142     histoPSet = dict(jetPt = [350,360,370,380,390,400,410,420,430,440,450,460,470,480,490,500,510,520,530,540,550,560,570,580,590,600,650,700,750,800,900,1000]),
0143     genericTriggerEventPSet = dict(hltPaths = ['HLT_DoublePFJets350_PFBTagDeepJet_p71_v*'])
0144 )
0145 
0146 
0147 ## Semileptonic - DeepJet BTag
0148 
0149 mssmHbbDeepJetBtagTriggerMonitorSL40 = mssmHbbBtagTriggerMonitor.clone(
0150     dirname = "HLT/HIG/MssmHbb/control/btag/HLT_Mu12_DoublePFJets40_PFBTagDeepJet_p71",
0151     jetPtMin = 40,
0152     triggerobjbtag = "hltBTagPFDeepJet0p71Single8Jets30",
0153     histoPSet = dict(jetPt = [40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,130,140,150,160,180,200,250,300,400,500]),
0154     genericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_DoublePFJets40_PFBTagDeepJet_p71_v*'])
0155 )
0156 
0157 mssmHbbDeepJetBtagTriggerMonitorSL100 = mssmHbbBtagTriggerMonitor.clone(
0158     dirname = "HLT/HIG/MssmHbb/control/btag/HLT_Mu12_DoublePFJets100_PFBTagDeepJet_p71",
0159     jetPtMin = 100,
0160     triggerobjbtag = "hltBTagPFDeepJet0p71Single8Jets30",
0161     histoPSet = dict(jetPt = [100,110,120,130,140,150,160,170,180,190,200,220,240,260,280,300,350,400,450,500,600,700,800]),
0162     genericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_DoublePFJets100_PFBTagDeepJet_p71_v*'])
0163 )
0164 
0165 mssmHbbDeepJetBtagTriggerMonitorSL200 = mssmHbbBtagTriggerMonitor.clone(
0166     dirname = "HLT/HIG/MssmHbb/control/btag/HLT_Mu12_DoublePFJets200_PFBTagDeepJet_p71",
0167     jetPtMin = 200,
0168     triggerobjbtag = "hltBTagPFDeepJet0p71Single8Jets30",
0169     histoPSet = dict(jetPt = [200,210,220,230,240,250,260,270,280,290,300,310,320,330,340,350,360,380,400,420,440,460,500,550,600,700,800,900,1000]),
0170     genericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_DoublePFJets200_PFBTagDeepJet_p71_v*'])
0171 )
0172 
0173 mssmHbbDeepJetBtagTriggerMonitorSL350 = mssmHbbBtagTriggerMonitor.clone(
0174     dirname = "HLT/HIG/MssmHbb/control/btag/HLT_Mu12_DoublePFJets350_PFBTagDeepJet_p71",
0175     jetPtMin = 350,
0176     triggerobjbtag = "hltBTagPFDeepJet0p71Single8Jets30",
0177     histoPSet = dict(jetPt = [350,360,370,380,390,400,410,420,430,440,450,460,470,480,490,500,510,520,530,540,550,560,570,580,590,600,650,700,750,800,900,1000]),
0178     genericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_DoublePFJets350_PFBTagDeepJet_p71_v*'])
0179 )
0180