Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:13:58

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 mvaTrigV0 = cms.EDFilter("ElectronIdMVAProducer",
0004                          verbose = cms.untracked.bool(False),
0005                          vertexTag = cms.InputTag('offlinePrimaryVertices'),
0006                          electronTag = cms.InputTag('gsfElectrons'),
0007                          reducedEBRecHitCollection = cms.InputTag('reducedEcalRecHitsEB'),
0008                          reducedEERecHitCollection = cms.InputTag('reducedEcalRecHitsEE'),
0009                          method = cms.string("BDT"),
0010                          mvaWeightFile = cms.vstring(
0011     "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigV0_Cat1.weights.xml",
0012     "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigV0_Cat2.weights.xml",
0013     "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigV0_Cat3.weights.xml",
0014     "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigV0_Cat4.weights.xml",
0015     "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigV0_Cat5.weights.xml",
0016     "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigV0_Cat6.weights.xml",
0017     ),
0018                          Trig = cms.bool(True),
0019                          NoIP = cms.bool(False),
0020                          )
0021 
0022 mvaTrigNoIPV0 = cms.EDFilter("ElectronIdMVAProducer",
0023                              verbose = cms.untracked.bool(False),
0024                              vertexTag = cms.InputTag('offlinePrimaryVertices'),
0025                              electronTag = cms.InputTag('gsfElectrons'),
0026                              reducedEBRecHitCollection = cms.InputTag('reducedEcalRecHitsEB'),
0027                              reducedEERecHitCollection = cms.InputTag('reducedEcalRecHitsEE'),
0028                              method = cms.string("BDT"),
0029                              mvaWeightFile = cms.vstring(
0030     "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigNoIPV0_2012_Cat1.weights.xml",
0031     "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigNoIPV0_2012_Cat2.weights.xml",
0032     "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigNoIPV0_2012_Cat3.weights.xml",
0033     "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigNoIPV0_2012_Cat4.weights.xml",
0034     "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigNoIPV0_2012_Cat5.weights.xml",
0035     "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigNoIPV0_2012_Cat6.weights.xml",
0036     ),
0037                              Trig = cms.bool(True),
0038                              NoIP = cms.bool(True),
0039                              )
0040 
0041 mvaNonTrigV0 = cms.EDFilter("ElectronIdMVAProducer",
0042                             verbose = cms.untracked.bool(False),
0043                             vertexTag = cms.InputTag('offlinePrimaryVertices'),
0044                             electronTag = cms.InputTag('gsfElectrons'),
0045                             reducedEBRecHitCollection = cms.InputTag('reducedEcalRecHitsEB'),
0046                             reducedEERecHitCollection = cms.InputTag('reducedEcalRecHitsEE'),
0047                             method = cms.string("BDT"),
0048                             mvaWeightFile = cms.vstring(
0049                                   "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_NonTrigV0_Cat1.weights.xml",
0050                                   "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_NonTrigV0_Cat2.weights.xml",
0051                                   "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_NonTrigV0_Cat3.weights.xml",
0052                                   "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_NonTrigV0_Cat4.weights.xml",
0053                                   "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_NonTrigV0_Cat5.weights.xml",
0054                                   "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_NonTrigV0_Cat6.weights.xml",
0055                                   ),
0056                             Trig = cms.bool(False),
0057                             NoIP = cms.bool(False),
0058 )