-
Notifications
You must be signed in to change notification settings - Fork 0
/
electronIdMVAProducer_cfi.py
37 lines (35 loc) · 2.6 KB
/
electronIdMVAProducer_cfi.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import FWCore.ParameterSet.Config as cms
mvaTrigV0 = cms.EDFilter("ElectronIdMVAProducer",
verbose = cms.untracked.bool(False),
vertexTag = cms.InputTag('offlinePrimaryVertices'),
electronTag = cms.InputTag('gsfElectrons'),
reducedEBRecHitCollection = cms.InputTag('reducedEcalRecHitsEB'),
reducedEERecHitCollection = cms.InputTag('reducedEcalRecHitsEE'),
method = cms.string("BDT"),
mvaWeightFile = cms.vstring(
"EGamma/EGammaAnalysisTools/data/Electrons_BDTG_TrigV0_Cat1.weights.xml",
"EGamma/EGammaAnalysisTools/data/Electrons_BDTG_TrigV0_Cat2.weights.xml",
"EGamma/EGammaAnalysisTools/data/Electrons_BDTG_TrigV0_Cat3.weights.xml",
"EGamma/EGammaAnalysisTools/data/Electrons_BDTG_TrigV0_Cat4.weights.xml",
"EGamma/EGammaAnalysisTools/data/Electrons_BDTG_TrigV0_Cat5.weights.xml",
"EGamma/EGammaAnalysisTools/data/Electrons_BDTG_TrigV0_Cat6.weights.xml",
),
Trig = cms.bool(True),
)
mvaNonTrigV0 = cms.EDFilter("ElectronIdMVAProducer",
verbose = cms.untracked.bool(False),
vertexTag = cms.InputTag('offlinePrimaryVertices'),
electronTag = cms.InputTag('gsfElectrons'),
reducedEBRecHitCollection = cms.InputTag('reducedEcalRecHitsEB'),
reducedEERecHitCollection = cms.InputTag('reducedEcalRecHitsEE'),
method = cms.string("BDT"),
mvaWeightFile = cms.vstring(
"EGamma/EGammaAnalysisTools/data/Electrons_BDTG_NonTrigV0_Cat1.weights.xml",
"EGamma/EGammaAnalysisTools/data/Electrons_BDTG_NonTrigV0_Cat2.weights.xml",
"EGamma/EGammaAnalysisTools/data/Electrons_BDTG_NonTrigV0_Cat3.weights.xml",
"EGamma/EGammaAnalysisTools/data/Electrons_BDTG_NonTrigV0_Cat4.weights.xml",
"EGamma/EGammaAnalysisTools/data/Electrons_BDTG_NonTrigV0_Cat5.weights.xml",
"EGamma/EGammaAnalysisTools/data/Electrons_BDTG_NonTrigV0_Cat6.weights.xml",
),
Trig = cms.bool(False),
)