CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
pfGsfElectronMVASelector_cfi.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 = cms.EDFilter("ElectronIdMVABased",
11  vertexTag = cms.InputTag('offlinePrimaryVertices'),
12  electronTag = cms.InputTag('electronsWithPresel'),
13  HZZmvaWeightFile = cms.vstring(
14  "RecoEgamma/ElectronIdentification/data/TMVA_Category_BDTSimpleCat_10_17Feb2011.weights.xml",
15  "RecoEgamma/ElectronIdentification/data/TMVA_Category_BDTSimpleCat_12_17Feb2011.weights.xml",
16  "RecoEgamma/ElectronIdentification/data/TMVA_Category_BDTSimpleCat_20_17Feb2011.weights.xml",
17  "RecoEgamma/ElectronIdentification/data/TMVA_Category_BDTSimpleCat_22_17Feb2011.weights.xml"
18  ),
19  thresholdBarrel = cms.double( -0.1875 ),
20  thresholdEndcap = cms.double( -0.1075 ),
21  thresholdIsoDR03Barrel = cms.double( 10.0 ),
22  thresholdIsoDR03Endcap = cms.double( 10.0 )
23  )
24