Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:18:56

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0003 
0004 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
0005 from copy import deepcopy
0006 
0007 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0008 SUSY_HLT_Ele_HT_BTag_SingleLepton = DQMEDAnalyzer('SUSY_HLT_SingleLepton',
0009                                                    electronCollection = cms.InputTag('gedGsfElectrons'),
0010                                                    muonCollection = cms.InputTag(''),
0011                                                    pfMetCollection = cms.InputTag('pfMet'),
0012                                                    pfJetCollection = cms.InputTag('ak4PFJets'),
0013                                                    jetTagCollection = cms.InputTag('pfCombinedSecondaryVertexV2BJetTags'),
0014 
0015                                                    vertexCollection = cms.InputTag('goodOfflinePrimaryVertices'),
0016                                                    conversionCollection = cms.InputTag('conversions'),
0017                                                    beamSpot = cms.InputTag('offlineBeamSpot'),
0018 
0019                                                    leptonFilter = cms.InputTag('hltEle15VVVLGsfTrackIsoFilter','','HLT'),
0020                                                    hltHt = cms.InputTag('hltPFHTJet30','','HLT'),
0021                                                    hltMet = cms.InputTag(''),
0022                                                    hltJets = cms.InputTag('hltSelector4CentralJetsL1FastJet','','HLT'),
0023                                                    hltJetTags = cms.InputTag('hltCombinedSecondaryVertexBJetTagsCalo','','HLT'),
0024 
0025                                                    triggerResults = cms.InputTag('TriggerResults','','HLT'),
0026                                                    trigSummary = cms.InputTag('hltTriggerSummaryAOD','','HLT'),
0027 
0028                                                    hltProcess = cms.string('HLT'),
0029 
0030                                                    triggerPath = cms.string('HLT_Ele15_IsoVVVL_BTagCSV_p067_PFHT400'),
0031                                                    triggerPathAuxiliary = cms.string('HLT_Ele35_eta2p1_WP85_Gsf_v'),
0032                                                    triggerPathLeptonAuxiliary = cms.string('HLT_PFHT350_PFMET120_NoiseCleaned_v'),
0033 
0034                                                    csvlCut = cms.untracked.double(0.244),
0035                                                    csvmCut = cms.untracked.double(0.679),
0036                                                    csvtCut = cms.untracked.double(0.898),
0037 
0038                                                    jetPtCut = cms.untracked.double(30.0),
0039                                                    jetEtaCut = cms.untracked.double(3.0),
0040                                                    metCut = cms.untracked.double(250.0),
0041                                                    htCut = cms.untracked.double(450.0),
0042 
0043                                                    leptonPtThreshold = cms.untracked.double(25.0),
0044                                                    htThreshold = cms.untracked.double(500.0),
0045                                                    metThreshold = cms.untracked.double(-1.0),
0046                                                    csvThreshold = cms.untracked.double(0.898)
0047                                                    )
0048 
0049 SUSYoHLToEleHToBTagSingleLeptonPOSTPROCESSING = DQMEDHarvester('DQMGenericClient',
0050                                                                   subDirs = cms.untracked.vstring('HLT/SUSYBSM/HLT_Ele15_IsoVVVL_BTagCSV_p067_PFHT400'),
0051                                                                   efficiency = cms.vstring(
0052         "leptonTurnOn_eff ';Offline Electron p_{T} [GeV];#epsilon' leptonTurnOn_num leptonTurnOn_den",
0053         "pfHTTurnOn_eff ';Offline PF H_{T} [GeV];#epsilon' pfHTTurnOn_num pfHTTurnOn_den",
0054         "CSVTurnOn_eff ';Offline Max CSV Discriminant;#epsilon' CSVTurnOn_num CSVTurnOn_den",
0055         "btagTurnOn_eff ';Offline CSV requirements;#epsilon' btagTurnOn_num btagTurnOn_den"
0056         ),
0057                                                                   resolution = cms.vstring('')
0058                                                                   )
0059 
0060 SUSY_HLT_Ele_HT_BTag_SingleLep_run3 = SUSY_HLT_Ele_HT_BTag_SingleLepton.clone()
0061 SUSY_HLT_Ele_HT_BTag_SingleLep_run3.hltJetTags = 'hltDeepCombinedSecondaryVertexBJetTagsCalo'
0062 SUSY_HLT_Ele_HT_BTag_SingleLep_run3.jetTagCollection = 'pfDeepCSVJetTags:probb'
0063 run3_common.toReplaceWith( SUSY_HLT_Ele_HT_BTag_SingleLepton, SUSY_HLT_Ele_HT_BTag_SingleLep_run3 )
0064 
0065 # fastsim has no conversion collection (yet)
0066 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0067 fastSim.toModify(SUSY_HLT_Ele_HT_BTag_SingleLepton,conversionCollection=cms.InputTag(''))