Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoEgamma
ElectronIdentification
python
ElectronMVAValueMapProducer_cfi.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
mvaConfigsForEleProducer = cms.VPSet( )
4
5
# Import and add all desired MVAs
6
from
RecoEgamma.ElectronIdentification.Identification.mvaElectronID_PHYS14_PU20bx25_nonTrig_V1_cff
import
*
7
mvaConfigsForEleProducer.append( mvaEleID_PHYS14_PU20bx25_nonTrig_V1_producer_config )
8
9
from
RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Spring15_25ns_nonTrig_V1_cff
import
*
10
mvaConfigsForEleProducer.append( mvaEleID_Spring15_25ns_nonTrig_V1_producer_config )
11
12
from
RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Spring15_50ns_Trig_V1_cff
import
*
13
mvaConfigsForEleProducer.append( mvaEleID_Spring15_50ns_Trig_V1_producer_config )
14
15
from
RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Spring15_25ns_Trig_V1_cff
import
*
16
mvaConfigsForEleProducer.append( mvaEleID_Spring15_25ns_Trig_V1_producer_config )
17
18
electronMVAValueMapProducer = cms.EDProducer(
'ElectronMVAValueMapProducer'
,
19
# The module automatically detects AOD vs miniAOD, so we configure both
20
#
21
# AOD case
22
#
23
src = cms.InputTag(
'gedGsfElectrons'
),
24
#
25
# miniAOD case
26
#
27
srcMiniAOD = cms.InputTag(
'slimmedElectrons'
,processName=cms.InputTag.skipCurrentProcess()),
28
#
29
# MVA configurations
30
#
31
mvaConfigurations = mvaConfigsForEleProducer
32
)
mvaElectronID_Spring15_25ns_nonTrig_V1_cff
mvaElectronID_Spring15_25ns_Trig_V1_cff
mvaElectronID_PHYS14_PU20bx25_nonTrig_V1_cff
mvaElectronID_Spring15_50ns_Trig_V1_cff
Generated for CMSSW Reference Manual by
1.8.5