1 import FWCore.ParameterSet.Config
as cms
3 mvaConfigsForEleProducer = cms.VPSet( )
6 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Spring16_HZZ_V1_cff \
7 import mvaEleID_Spring16_HZZ_V1_producer_config
8 mvaConfigsForEleProducer.append( mvaEleID_Spring16_HZZ_V1_producer_config )
10 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Spring16_GeneralPurpose_V1_cff \
11 import mvaEleID_Spring16_GeneralPurpose_V1_producer_config
12 mvaConfigsForEleProducer.append( mvaEleID_Spring16_GeneralPurpose_V1_producer_config )
14 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Fall17_noIso_V1_cff \
15 import mvaEleID_Fall17_noIso_V1_producer_config
16 mvaConfigsForEleProducer.append( mvaEleID_Fall17_noIso_V1_producer_config )
18 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Fall17_iso_V1_cff \
19 import mvaEleID_Fall17_iso_V1_producer_config
20 mvaConfigsForEleProducer.append( mvaEleID_Fall17_iso_V1_producer_config )
22 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Fall17_noIso_V2_cff \
23 import mvaEleID_Fall17_noIso_V2_producer_config
24 mvaConfigsForEleProducer.append( mvaEleID_Fall17_noIso_V2_producer_config )
26 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Fall17_iso_V2_cff \
27 import mvaEleID_Fall17_iso_V2_producer_config
28 mvaConfigsForEleProducer.append( mvaEleID_Fall17_iso_V2_producer_config )
31 electronMVAVariableHelper = cms.EDProducer(
'GsfElectronMVAVariableHelper',
34 src = cms.InputTag(
'gedGsfElectrons'),
35 vertexCollection = cms.InputTag(
"offlinePrimaryVertices"),
36 beamSpot = cms.InputTag(
"offlineBeamSpot"),
37 conversions = cms.InputTag(
"allConversions"),
39 srcMiniAOD = cms.InputTag(
'slimmedElectrons',processName=cms.InputTag.skipCurrentProcess()),
40 vertexCollectionMiniAOD = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
41 beamSpotMiniAOD = cms.InputTag(
"offlineBeamSpot"),
42 conversionsMiniAOD = cms.InputTag(
"reducedEgamma:reducedConversions"),
45 electronMVAValueMapProducer = cms.EDProducer(
'ElectronMVAValueMapProducer',
50 src = cms.InputTag(
'gedGsfElectrons'),
54 srcMiniAOD = cms.InputTag(
'slimmedElectrons',processName=cms.InputTag.skipCurrentProcess()),
58 mvaConfigurations = mvaConfigsForEleProducer