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 )
30 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_RunIIIWinter22_noIso_V1_cff \
31 import mvaEleID_RunIIIWinter22_noIso_V1_producer_config
32 mvaConfigsForEleProducer.append( mvaEleID_RunIIIWinter22_noIso_V1_producer_config )
34 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_RunIIIWinter22_iso_V1_cff \
35 import mvaEleID_RunIIIWinter22_iso_V1_producer_config
36 mvaConfigsForEleProducer.append( mvaEleID_RunIIIWinter22_iso_V1_producer_config )
39 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Summer16UL_ID_ISO_cff \
40 import mvaEleID_Summer16UL_ID_ISO_producer_config
41 mvaConfigsForEleProducer.append(mvaEleID_Summer16UL_ID_ISO_producer_config)
43 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Summer17UL_ID_ISO_cff \
44 import mvaEleID_Summer17UL_ID_ISO_producer_config
45 mvaConfigsForEleProducer.append(mvaEleID_Summer17UL_ID_ISO_producer_config)
47 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Summer18UL_ID_ISO_cff \
48 import mvaEleID_Summer18UL_ID_ISO_producer_config
49 mvaConfigsForEleProducer.append( mvaEleID_Summer18UL_ID_ISO_producer_config )
51 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Winter22_HZZ_V1_cff \
52 import mvaEleID_Winter22_HZZ_V1_producer_config
53 mvaConfigsForEleProducer.append( mvaEleID_Winter22_HZZ_V1_producer_config )
55 electronMVAValueMapProducer = cms.EDProducer(
'ElectronMVAValueMapProducer',
56 src = cms.InputTag(
'slimmedElectrons'),
57 mvaConfigurations = mvaConfigsForEleProducer