text: import FWCore.ParameterSet.Config as cms
  
  from RecoEgamma.ElectronIdentification.electronIdMVABased_cfi import *
  
  electronsWithPresel = cms.EDFilter("GsfElectronSelector",
                                     src = cms.InputTag("ecalDrivenGsfElectrons"),
                                     cut = cms.string("pt > 5 && ecalDrivenSeed && passingCutBasedPreselection"),
                                     )
  
  mvaElectrons = cms.EDFilter("ElectronIdMVABased",
                              vertexTag = cms.InputTag('offlinePrimaryVertices'),
                              electronTag = cms.InputTag('electronsWithPresel'),
                              HZZmvaWeightFile = cms.vstring(
          "RecoEgamma/ElectronIdentification/data/TMVA_Category_BDTSimpleCat_10_17Feb2011.weights.xml",
          "RecoEgamma/ElectronIdentification/data/TMVA_Category_BDTSimpleCat_12_17Feb2011.weights.xml",
          "RecoEgamma/ElectronIdentification/data/TMVA_Category_BDTSimpleCat_20_17Feb2011.weights.xml",
          "RecoEgamma/ElectronIdentification/data/TMVA_Category_BDTSimpleCat_22_17Feb2011.weights.xml"
          ),
                              thresholdBarrel = cms.double( -0.1875 ),
                              thresholdEndcap = cms.double( -0.1075 ),
                              thresholdIsoDR03Barrel = cms.double( 10.0 ),
                              thresholdIsoDR03Endcap = cms.double( 10.0 )
                              )
  
  