00001 import FWCore.ParameterSet.Config as cms 00002 00003 mvaTrigV0 = cms.EDFilter("ElectronIdMVAProducer", 00004 verbose = cms.untracked.bool(False), 00005 vertexTag = cms.InputTag('offlinePrimaryVertices'), 00006 electronTag = cms.InputTag('gsfElectrons'), 00007 reducedEBRecHitCollection = cms.InputTag('reducedEcalRecHitsEB'), 00008 reducedEERecHitCollection = cms.InputTag('reducedEcalRecHitsEE'), 00009 method = cms.string("BDT"), 00010 mvaWeightFile = cms.vstring( 00011 "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigV0_Cat1.weights.xml", 00012 "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigV0_Cat2.weights.xml", 00013 "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigV0_Cat3.weights.xml", 00014 "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigV0_Cat4.weights.xml", 00015 "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigV0_Cat5.weights.xml", 00016 "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigV0_Cat6.weights.xml", 00017 ), 00018 Trig = cms.bool(True), 00019 NoIP = cms.bool(False), 00020 ) 00021 00022 mvaTrigNoIPV0 = cms.EDFilter("ElectronIdMVAProducer", 00023 verbose = cms.untracked.bool(False), 00024 vertexTag = cms.InputTag('offlinePrimaryVertices'), 00025 electronTag = cms.InputTag('gsfElectrons'), 00026 reducedEBRecHitCollection = cms.InputTag('reducedEcalRecHitsEB'), 00027 reducedEERecHitCollection = cms.InputTag('reducedEcalRecHitsEE'), 00028 method = cms.string("BDT"), 00029 mvaWeightFile = cms.vstring( 00030 "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigNoIPV0_2012_Cat1.weights.xml", 00031 "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigNoIPV0_2012_Cat2.weights.xml", 00032 "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigNoIPV0_2012_Cat3.weights.xml", 00033 "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigNoIPV0_2012_Cat4.weights.xml", 00034 "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigNoIPV0_2012_Cat5.weights.xml", 00035 "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigNoIPV0_2012_Cat6.weights.xml", 00036 ), 00037 Trig = cms.bool(True), 00038 NoIP = cms.bool(True), 00039 ) 00040 00041 mvaNonTrigV0 = cms.EDFilter("ElectronIdMVAProducer", 00042 verbose = cms.untracked.bool(False), 00043 vertexTag = cms.InputTag('offlinePrimaryVertices'), 00044 electronTag = cms.InputTag('gsfElectrons'), 00045 reducedEBRecHitCollection = cms.InputTag('reducedEcalRecHitsEB'), 00046 reducedEERecHitCollection = cms.InputTag('reducedEcalRecHitsEE'), 00047 method = cms.string("BDT"), 00048 mvaWeightFile = cms.vstring( 00049 "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_NonTrigV0_Cat1.weights.xml", 00050 "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_NonTrigV0_Cat2.weights.xml", 00051 "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_NonTrigV0_Cat3.weights.xml", 00052 "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_NonTrigV0_Cat4.weights.xml", 00053 "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_NonTrigV0_Cat5.weights.xml", 00054 "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_NonTrigV0_Cat6.weights.xml", 00055 ), 00056 Trig = cms.bool(False), 00057 NoIP = cms.bool(False), 00058 )