Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:58:44

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMOffline.Trigger.BTagAndProbeMonitor_cfi import BTagAndProbeMonitoring
0004 
0005 from Configuration.Eras.Modifier_run2_HLTconditions_2018_cff import run2_HLTconditions_2018
0006 from Configuration.Eras.Modifier_run2_HLTconditions_2017_cff import run2_HLTconditions_2017
0007 from Configuration.Eras.Modifier_run2_HLTconditions_2016_cff import run2_HLTconditions_2016
0008 
0009 ###
0010 ### Ele+Jet
0011 ###
0012 
0013 BTagAndProbe_1e1m = BTagAndProbeMonitoring.clone(
0014     FolderName = cms.string('HLT/BTV/TnP/oneEle_oneMu'),
0015     nmuons = 1,
0016     nelectrons = 1,
0017     nbjets = 2,
0018     eleSelection = 'pt>10 & abs(eta)<2.5',
0019     muoSelection = 'pt>10 & abs(eta)<2.4',
0020     bjetSelection = 'pt>20 & abs(eta)<2.4',
0021     genericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_DoublePFJets40_PFBTagDeepCSV_p71_v*', 
0022                                       'HLT_Mu12_DoublePFJets40MaxDeta1p6_DoublePFBTagDeepCSV_p71_v*']),
0023     #denGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_DoublePFJets40_PFBTagDeepCSV_p71_v*',
0024     #                                  'HLT_Mu12_DoublePFJets40MaxDeta1p6_DoublePFBTagDeepCSV_p71_v*']),
0025     debug = cms.bool(True),
0026 )
0027 
0028 ### ---
0029 
0030 BTagAndProbe_1e0m = BTagAndProbe_1e1m.clone(
0031     FolderName = cms.string('HLT/BTV/TnP/OneEle_NoMu'),
0032     nmuons = 0,
0033     nelectrons = 1,
0034     debug = False,
0035 )
0036 
0037 ### ---
0038 BTagAndProbe_0e1m = BTagAndProbe_1e1m.clone(
0039     FolderName = cms.string('HLT/BTV/TnP/NoEle_OneMu'),
0040     nmuons = 1,
0041     nelectrons = 0,
0042     debug = False,
0043 )
0044 
0045 
0046 from DQMOffline.Trigger.HLTEGTnPMonitor_cfi import egmGsfElectronIDsForDQM
0047 
0048 BTagAndProbeHLT = cms.Sequence(
0049 
0050       BTagAndProbe_1e1m
0051     + BTagAndProbe_1e0m
0052     + BTagAndProbe_0e1m
0053 
0054     , cms.Task(egmGsfElectronIDsForDQM) # Use of electron VID requires this module being executed first
0055 )