CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
electronIdMVAProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 mvaTrigV0 = cms.EDFilter("ElectronIdMVAProducer",
4  verbose = cms.untracked.bool(False),
5  vertexTag = cms.InputTag('offlinePrimaryVertices'),
6  electronTag = cms.InputTag('gsfElectrons'),
7  reducedEBRecHitCollection = cms.InputTag('reducedEcalRecHitsEB'),
8  reducedEERecHitCollection = cms.InputTag('reducedEcalRecHitsEE'),
9  method = cms.string("BDT"),
10  mvaWeightFile = cms.vstring(
11  "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigV0_Cat1.weights.xml",
12  "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigV0_Cat2.weights.xml",
13  "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigV0_Cat3.weights.xml",
14  "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigV0_Cat4.weights.xml",
15  "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigV0_Cat5.weights.xml",
16  "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigV0_Cat6.weights.xml",
17  ),
18  Trig = cms.bool(True),
19  NoIP = cms.bool(False),
20  )
21 
22 mvaTrigNoIPV0 = cms.EDFilter("ElectronIdMVAProducer",
23  verbose = cms.untracked.bool(False),
24  vertexTag = cms.InputTag('offlinePrimaryVertices'),
25  electronTag = cms.InputTag('gsfElectrons'),
26  reducedEBRecHitCollection = cms.InputTag('reducedEcalRecHitsEB'),
27  reducedEERecHitCollection = cms.InputTag('reducedEcalRecHitsEE'),
28  method = cms.string("BDT"),
29  mvaWeightFile = cms.vstring(
30  "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigNoIPV0_2012_Cat1.weights.xml",
31  "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigNoIPV0_2012_Cat2.weights.xml",
32  "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigNoIPV0_2012_Cat3.weights.xml",
33  "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigNoIPV0_2012_Cat4.weights.xml",
34  "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigNoIPV0_2012_Cat5.weights.xml",
35  "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_TrigNoIPV0_2012_Cat6.weights.xml",
36  ),
37  Trig = cms.bool(True),
38  NoIP = cms.bool(True),
39  )
40 
41 mvaNonTrigV0 = cms.EDFilter("ElectronIdMVAProducer",
42  verbose = cms.untracked.bool(False),
43  vertexTag = cms.InputTag('offlinePrimaryVertices'),
44  electronTag = cms.InputTag('gsfElectrons'),
45  reducedEBRecHitCollection = cms.InputTag('reducedEcalRecHitsEB'),
46  reducedEERecHitCollection = cms.InputTag('reducedEcalRecHitsEE'),
47  method = cms.string("BDT"),
48  mvaWeightFile = cms.vstring(
49  "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_NonTrigV0_Cat1.weights.xml",
50  "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_NonTrigV0_Cat2.weights.xml",
51  "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_NonTrigV0_Cat3.weights.xml",
52  "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_NonTrigV0_Cat4.weights.xml",
53  "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_NonTrigV0_Cat5.weights.xml",
54  "EgammaAnalysis/ElectronTools/data/Electrons_BDTG_NonTrigV0_Cat6.weights.xml",
55  ),
56  Trig = cms.bool(False),
57  NoIP = cms.bool(False),
58 )