CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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_Spring16_HZZ_V1_cff \
7  import mvaEleID_Spring16_HZZ_V1_producer_config
8 mvaConfigsForEleProducer.append( mvaEleID_Spring16_HZZ_V1_producer_config )
9 
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 )
13 
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 )
17 
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 )
21 
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 )
25 
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 )
29 
30 
31 # HZZ4l Run2 (Ultra)Legacy
32 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Summer16UL_ID_ISO_cff \
33  import mvaEleID_Summer16UL_ID_ISO_producer_config
34 mvaConfigsForEleProducer.append(mvaEleID_Summer16UL_ID_ISO_producer_config)
35 
36 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Summer17UL_ID_ISO_cff \
37  import mvaEleID_Summer17UL_ID_ISO_producer_config
38 mvaConfigsForEleProducer.append(mvaEleID_Summer17UL_ID_ISO_producer_config)
39 
40 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_Summer18UL_ID_ISO_cff \
41  import mvaEleID_Summer18UL_ID_ISO_producer_config
42 mvaConfigsForEleProducer.append( mvaEleID_Summer18UL_ID_ISO_producer_config )
43 
44 electronMVAValueMapProducer = cms.EDProducer('ElectronMVAValueMapProducer',
45  src = cms.InputTag('slimmedElectrons'),
46  mvaConfigurations = mvaConfigsForEleProducer
47  )