Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:21:12

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoEgamma.ElectronIdentification.electronIdMVABased_cfi import *
0004 
0005 electronsWithPresel = cms.EDFilter("GsfElectronSelector",
0006                                    src = cms.InputTag("ecalDrivenGsfElectrons"),
0007                                    cut = cms.string("pt > 5 && ecalDrivenSeed && passingCutBasedPreselection"),
0008                                    )
0009 
0010 mvaElectrons.electronTag = 'electronsWithPresel'
0011 
0012 pfGsfElectronMVASelectionTask = cms.Task(
0013                electronsWithPresel,
0014                mvaElectrons    )
0015 pfGsfElectronMVASelectionSequence = cms.Sequence(pfGsfElectronMVASelectionTask)