Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-06-13 03:23:39

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>25 & abs(eta)<2.4',
0019     muoSelection = 'pt>10 & abs(eta)<2.4',
0020     bjetSelection = 'pt>30 & abs(eta)<2.4',
0021     genericTriggerEventPSet = dict(hltPaths = ['HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_PFDiJet30_v*']),
0022     #denGenericTriggerEventPSet = dict(hltPaths = ['HLT_Mu12_DoublePFJets40_PFBTagDeepCSV_p71_v*',
0023     #                                  'HLT_Mu12_DoublePFJets40MaxDeta1p6_DoublePFBTagDeepCSV_p71_v*']),
0024     debug = cms.bool(True),
0025 )
0026 
0027 ### ---
0028 
0029 BTagAndProbe_1e0m = BTagAndProbe_1e1m.clone(
0030     FolderName = cms.string('HLT/BTV/TnP/OneEle_NoMu'),
0031     nmuons = 0,
0032     nelectrons = 1,
0033     debug = False,
0034 )
0035 
0036 ### ---
0037 BTagAndProbe_0e1m = BTagAndProbe_1e1m.clone(
0038     FolderName = cms.string('HLT/BTV/TnP/NoEle_OneMu'),
0039     nmuons = 1,
0040     nelectrons = 0,
0041     debug = False,
0042 )
0043 
0044 
0045 from DQMOffline.Trigger.HLTEGTnPMonitor_cfi import egmGsfElectronIDsForDQM
0046 
0047 BTagAndProbeHLT = cms.Sequence(
0048 
0049       BTagAndProbe_1e1m
0050     + BTagAndProbe_1e0m
0051     + BTagAndProbe_0e1m
0052 
0053     , cms.Task(egmGsfElectronIDsForDQM) # Use of electron VID requires this module being executed first
0054 )