CMS 3D CMS Logo

pfGsfElectronMVASelector_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 electronsWithPresel = cms.EDFilter("GsfElectronSelector",
6  src = cms.InputTag("ecalDrivenGsfElectrons"),
7  cut = cms.string("pt > 5 && ecalDrivenSeed && passingCutBasedPreselection"),
8  )
9 
10 mvaElectrons.electronTag = cms.InputTag('electronsWithPresel')
11 
12 pfGsfElectronMVASelectionTask = cms.Task(
13  electronsWithPresel,
14  mvaElectrons )
15 pfGsfElectronMVASelectionSequence = cms.Sequence(pfGsfElectronMVASelectionTask)
electronIdMVABased_cfi