CMS 3D CMS Logo

lowPtElectronSelector_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # module to select Electrons
4 # See https://twiki.cern.ch/twiki/bin/view/CMS/SWGuidePhysicsCutParser
5 # on how to use the cut-string
6 #
7 selectedPatLowPtElectrons = cms.EDFilter("PATElectronSelector",
8  src = cms.InputTag("patLowPtElectrons"),
9  cut = cms.string("pt > 1. && electronID('ID') > -0.25"),
10 )
11 
12 # Modifier for UPC
13 from Configuration.ProcessModifiers.egamma_lowPt_exclusive_cff import egamma_lowPt_exclusive
14 egamma_lowPt_exclusive.toModify(selectedPatLowPtElectrons,cut = "")
15 
16 # Modifier for bParking (fully open selection)
17 from Configuration.Eras.Modifier_bParking_cff import bParking
18 bParking.toModify(selectedPatLowPtElectrons,cut = "pt > 1.")
19