CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ElectronMVAValueMapProducer_cfi.py
Go to the documentation of this file.
2 
3 mvaConfigsForEleProducer = cms.VPSet( )
4 
5 # Import and add all desired MVAs
7 mvaConfigsForEleProducer.append( mvaEleID_PHYS14_PU20bx25_nonTrig_V1_producer_config )
8 
9 electronMVAValueMapProducer = cms.EDProducer('ElectronMVAValueMapProducer',
10  # The module automatically detects AOD vs miniAOD, so we configure both
11  #
12  # AOD case
13  #
14  src = cms.InputTag('gedGsfElectrons'),
15  #
16  # miniAOD case
17  #
18  srcMiniAOD = cms.InputTag('slimmedElectrons',processName=cms.InputTag.skipCurrentProcess()),
19  #
20  # MVA configurations
21  #
22  mvaConfigurations = mvaConfigsForEleProducer
23  )