1 import FWCore.ParameterSet.Config
as cms
3 mvaConfigsForEleProducer = cms.VPSet( )
7 mvaConfigsForEleProducer.append( mvaEleID_PHYS14_PU20bx25_nonTrig_V1_producer_config )
10 mvaConfigsForEleProducer.append( mvaEleID_Spring15_25ns_nonTrig_V1_producer_config )
13 mvaConfigsForEleProducer.append( mvaEleID_Spring15_50ns_Trig_V1_producer_config )
16 mvaConfigsForEleProducer.append( mvaEleID_Spring15_25ns_Trig_V1_producer_config )
18 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Spring16_HZZ_V1_cff \
19 import mvaEleID_Spring16_HZZ_V1_producer_config
20 mvaConfigsForEleProducer.append( mvaEleID_Spring16_HZZ_V1_producer_config )
22 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Spring16_GeneralPurpose_V1_cff \
23 import mvaEleID_Spring16_GeneralPurpose_V1_producer_config
24 mvaConfigsForEleProducer.append( mvaEleID_Spring16_GeneralPurpose_V1_producer_config )
26 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Fall17_noIso_V1_cff \
27 import mvaEleID_Fall17_noIso_V1_producer_config
28 mvaConfigsForEleProducer.append( mvaEleID_Fall17_noIso_V1_producer_config )
30 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Fall17_iso_V1_cff \
31 import mvaEleID_Fall17_iso_V1_producer_config
32 mvaConfigsForEleProducer.append( mvaEleID_Fall17_iso_V1_producer_config )
34 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Fall17_noIso_V2_cff \
35 import mvaEleID_Fall17_noIso_V2_producer_config
36 mvaConfigsForEleProducer.append( mvaEleID_Fall17_noIso_V2_producer_config )
38 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Fall17_iso_V2_cff \
39 import mvaEleID_Fall17_iso_V2_producer_config
40 mvaConfigsForEleProducer.append( mvaEleID_Fall17_iso_V2_producer_config )
43 electronMVAValueMapProducer = cms.EDProducer(
'ElectronMVAValueMapProducer',
48 src = cms.InputTag(
'gedGsfElectrons'),
52 srcMiniAOD = cms.InputTag(
'slimmedElectrons',processName=cms.InputTag.skipCurrentProcess()),
56 mvaConfigurations = mvaConfigsForEleProducer