CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoParticleFlow/PFProducer/python/pfGsfElectronMVASelector_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from RecoEgamma.ElectronIdentification.electronIdMVABased_cfi import *
00004 
00005 electronsWithPresel = cms.EDFilter("GsfElectronSelector",
00006                                    src = cms.InputTag("ecalDrivenGsfElectrons"),
00007                                    cut = cms.string("pt > 5 && ecalDrivenSeed && passingCutBasedPreselection"),
00008                                    )
00009 
00010 mvaElectrons = cms.EDFilter("ElectronIdMVABased",
00011                             vertexTag = cms.InputTag('offlinePrimaryVertices'),
00012                             electronTag = cms.InputTag('electronsWithPresel'),
00013                             HZZmvaWeightFile = cms.string('RecoEgamma/ElectronIdentification/data/TMVA_BDTSimpleCat_17Feb2011.weights.xml'),
00014                             thresholdBarrel = cms.double( -0.1875 ),
00015                             thresholdEndcap = cms.double( -0.1075 ),
00016                             thresholdIsoDR03Barrel = cms.double( 10.0 ),
00017                             thresholdIsoDR03Endcap = cms.double( 10.0 )
00018                             )
00019