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 DQMServices.Core.DQMEDHarvester import DQMEDHarvester
0003 from copy import deepcopy
0004 
0005 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0006 SUSY_HLT_Ele15_HT600_SingleLepton = DQMEDAnalyzer('SUSY_HLT_SingleLepton',
0007                                               electronCollection = cms.InputTag('gedGsfElectrons'),
0008                                               muonCollection = cms.InputTag(''),
0009                                               pfMetCollection = cms.InputTag('pfMet'),
0010                                               pfJetCollection = cms.InputTag('ak4PFJets'),
0011                                               jetTagCollection = cms.InputTag(''),
0012 
0013                                               vertexCollection = cms.InputTag('offlinePrimaryVertices'),
0014                                               conversionCollection = cms.InputTag('conversions'),
0015                                               beamSpot = cms.InputTag('offlineBeamSpot'),
0016 
0017                                               leptonFilter = cms.InputTag('hltEle15VVVLGsfTrackIsoFilter','','HLT'),
0018                                               hltHt = cms.InputTag('hltPFHTJet30','','HLT'),
0019                                               hltMet = cms.InputTag(''),
0020                                               hltJets = cms.InputTag(''),
0021                                               hltJetTags = cms.InputTag(''),
0022 
0023                                               triggerResults = cms.InputTag('TriggerResults','','HLT'),
0024                                               trigSummary = cms.InputTag('hltTriggerSummaryAOD','','HLT'),
0025 
0026                                               hltProcess = cms.string('HLT'),
0027 
0028                                               triggerPath = cms.string('HLT_Ele15_IsoVVVL_PFHT600'),
0029                                               triggerPathAuxiliary = cms.string('HLT_Ele35_eta2p1_WP85_Gsf_v'),
0030                                               triggerPathLeptonAuxiliary = cms.string('HLT_PFHT350_PFMET120_NoiseCleaned_v'),
0031 
0032                                               csvlCut = cms.untracked.double(0.244),
0033                                               csvmCut = cms.untracked.double(0.679),
0034                                               csvtCut = cms.untracked.double(0.898),
0035 
0036                                               jetPtCut = cms.untracked.double(30.0),
0037                                               jetEtaCut = cms.untracked.double(3.0),
0038                                               metCut = cms.untracked.double(250.0),
0039                                               htCut = cms.untracked.double(450.0),
0040 
0041                                               leptonPtThreshold = cms.untracked.double(25.0),
0042                                               htThreshold = cms.untracked.double(750.0),
0043                                               metThreshold = cms.untracked.double(-1.0),
0044                                               csvThreshold = cms.untracked.double(-1.0)
0045                                               )
0046 
0047 SUSYoHLToEle15oHT600oSingleLeptonPOSTPROCESSING = DQMEDHarvester('DQMGenericClient',
0048                                                              subDirs = cms.untracked.vstring('HLT/SUSYBSM/HLT_Ele15_IsoVVVL_PFHT600'),
0049                                                              efficiency = cms.vstring(
0050         "leptonTurnOn_eff ';Offline Electron p_{T} [GeV];#epsilon' leptonTurnOn_num leptonTurnOn_den",
0051         "pfHTTurnOn_eff ';Offline PF H_{T} [GeV];#epsilon' pfHTTurnOn_num pfHTTurnOn_den"
0052         ),
0053                                                              resolution = cms.vstring('')
0054                                                              )
0055 
0056 SUSY_HLT_Ele15_HT400_SingleLepton = DQMEDAnalyzer('SUSY_HLT_SingleLepton',
0057                                               electronCollection = cms.InputTag('gedGsfElectrons'),
0058                                               muonCollection = cms.InputTag(''),
0059                                               pfMetCollection = cms.InputTag('pfMet'),
0060                                               pfJetCollection = cms.InputTag('ak4PFJets'),
0061                                               jetTagCollection = cms.InputTag(''),
0062 
0063                                               vertexCollection = cms.InputTag('offlinePrimaryVertices'),
0064                                               conversionCollection = cms.InputTag('conversions'),
0065                                               beamSpot = cms.InputTag('offlineBeamSpot'),
0066 
0067                                               leptonFilter = cms.InputTag('hltEle15VVVLGsfTrackIsoFilter','','HLT'),
0068                                               hltHt = cms.InputTag('hltPFHTJet30','','HLT'),
0069                                               hltMet = cms.InputTag(''),
0070                                               hltJets = cms.InputTag(''),
0071                                               hltJetTags = cms.InputTag(''),
0072 
0073                                               triggerResults = cms.InputTag('TriggerResults','','HLT'),
0074                                               trigSummary = cms.InputTag('hltTriggerSummaryAOD','','HLT'),
0075 
0076                                               hltProcess = cms.string('HLT'),
0077 
0078                                               triggerPath = cms.string('HLT_Ele15_IsoVVVL_PFHT400'),
0079                                               triggerPathAuxiliary = cms.string('HLT_Ele35_eta2p1_WP85_Gsf_v'),
0080                                               triggerPathLeptonAuxiliary = cms.string('HLT_PFHT350_PFMET120_NoiseCleaned_v'),
0081 
0082                                               csvlCut = cms.untracked.double(0.244),
0083                                               csvmCut = cms.untracked.double(0.679),
0084                                               csvtCut = cms.untracked.double(0.898),
0085 
0086                                               jetPtCut = cms.untracked.double(30.0),
0087                                               jetEtaCut = cms.untracked.double(3.0),
0088                                               metCut = cms.untracked.double(250.0),
0089                                               htCut = cms.untracked.double(450.0),
0090 
0091                                               leptonPtThreshold = cms.untracked.double(25.0),
0092                                               htThreshold = cms.untracked.double(500.0),
0093                                               metThreshold = cms.untracked.double(-1.0),
0094                                               csvThreshold = cms.untracked.double(-1.0)
0095                                               )
0096 
0097 SUSYoHLToEle15oHT400oSingleLeptonPOSTPROCESSING = DQMEDHarvester('DQMGenericClient',
0098                                                              subDirs = cms.untracked.vstring('HLT/SUSYBSM/HLT_Ele15_IsoVVVL_PFHT400'),
0099                                                              efficiency = cms.vstring(
0100         "leptonTurnOn_eff ';Offline Electron p_{T} [GeV];#epsilon' leptonTurnOn_num leptonTurnOn_den",
0101         "pfHTTurnOn_eff ';Offline PF H_{T} [GeV];#epsilon' pfHTTurnOn_num pfHTTurnOn_den"
0102         ),
0103                                                              resolution = cms.vstring('')
0104                                                              )
0105 
0106 SUSY_HLT_Ele50_HT400_SingleLepton = DQMEDAnalyzer('SUSY_HLT_SingleLepton',
0107                                               electronCollection = cms.InputTag('gedGsfElectrons'),
0108                                               muonCollection = cms.InputTag(''),
0109                                               pfMetCollection = cms.InputTag('pfMet'),
0110                                               pfJetCollection = cms.InputTag('ak4PFJets'),
0111                                               jetTagCollection = cms.InputTag(''),
0112 
0113                                               vertexCollection = cms.InputTag('offlinePrimaryVertices'),
0114                                               conversionCollection = cms.InputTag('conversions'),
0115                                               beamSpot = cms.InputTag('offlineBeamSpot'),
0116 
0117                                               leptonFilter = cms.InputTag('hltEle50VVVLGsfTrackIsoFilter','','HLT'),
0118                                               hltHt = cms.InputTag('hltPFHTJet30','','HLT'),
0119                                               hltMet = cms.InputTag(''),
0120                                               hltJets = cms.InputTag(''),
0121                                               hltJetTags = cms.InputTag(''),
0122 
0123                                               triggerResults = cms.InputTag('TriggerResults','','HLT'),
0124                                               trigSummary = cms.InputTag('hltTriggerSummaryAOD','','HLT'),
0125 
0126                                               hltProcess = cms.string('HLT'),
0127 
0128                                               triggerPath = cms.string('HLT_Ele50_IsoVVVL_PFHT400'),
0129                                               triggerPathAuxiliary = cms.string('HLT_Ele35_eta2p1_WP85_Gsf_v'),
0130                                               triggerPathLeptonAuxiliary = cms.string('HLT_PFHT350_PFMET120_NoiseCleaned_v'),
0131 
0132                                               csvlCut = cms.untracked.double(0.244),
0133                                               csvmCut = cms.untracked.double(0.679),
0134                                               csvtCut = cms.untracked.double(0.898),
0135 
0136                                               jetPtCut = cms.untracked.double(30.0),
0137                                               jetEtaCut = cms.untracked.double(3.0),
0138                                               metCut = cms.untracked.double(250.0),
0139                                               htCut = cms.untracked.double(450.0),
0140 
0141                                               leptonPtThreshold = cms.untracked.double(55.0),
0142                                               htThreshold = cms.untracked.double(500.0),
0143                                               metThreshold = cms.untracked.double(-1.0),
0144                                               csvThreshold = cms.untracked.double(-1.0)
0145                                               )
0146 
0147 SUSYoHLToEle50oHT400oSingleLeptonPOSTPROCESSING = DQMEDHarvester('DQMGenericClient',
0148                                                              subDirs = cms.untracked.vstring('HLT/SUSYBSM/HLT_Ele50_IsoVVVL_PFHT400'),
0149                                                              efficiency = cms.vstring(
0150         "leptonTurnOn_eff ';Offline Electron p_{T} [GeV];#epsilon' leptonTurnOn_num leptonTurnOn_den",
0151         "pfHTTurnOn_eff ';Offline PF H_{T} [GeV];#epsilon' pfHTTurnOn_num pfHTTurnOn_den"
0152         ),
0153                                                              resolution = cms.vstring('')
0154                                                              )
0155 
0156 # fastsim has no conversion collection (yet)
0157 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0158 fastSim.toModify(SUSY_HLT_Ele15_HT600_SingleLepton,conversionCollection=cms.InputTag(''))
0159 fastSim.toModify(SUSY_HLT_Ele15_HT400_SingleLepton,conversionCollection=cms.InputTag(''))
0160 fastSim.toModify(SUSY_HLT_Ele50_HT400_SingleLepton,conversionCollection=cms.InputTag(''))
0161 
0162 SUSY_HLT_Ele_HT_SingleLepton = cms.Sequence( SUSY_HLT_Ele15_HT600_SingleLepton
0163                                              + SUSY_HLT_Ele15_HT400_SingleLepton
0164                                              + SUSY_HLT_Ele50_HT400_SingleLepton
0165 )
0166 
0167 SUSY_HLT_Ele_HT_SingleLepton_POSTPROCESSING = cms.Sequence( SUSYoHLToEle15oHT600oSingleLeptonPOSTPROCESSING
0168                                                             + SUSYoHLToEle15oHT400oSingleLeptonPOSTPROCESSING
0169                                                             + SUSYoHLToEle50oHT400oSingleLeptonPOSTPROCESSING
0170 )