CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PhotonMVAValueMapProducer_cfi.py
Go to the documentation of this file.
2 
3 mvaConfigsForPhoProducer = cms.VPSet( )
4 
5 # Import and add all desired MVAs
6 
8 mvaConfigsForPhoProducer.append( mvaPhoID_PHYS14_PU20bx25_nonTrig_V1_producer_config )
9 
11 mvaConfigsForPhoProducer.append( mvaPhoID_Spring15_50ns_nonTrig_V0_producer_config )
12 
13 photonMVAValueMapProducer = cms.EDProducer('PhotonMVAValueMapProducer',
14  # The module automatically detects AOD vs miniAOD, so we configure both
15  #
16  # AOD case
17  #
18  src = cms.InputTag('gedPhotons'),
19  #
20  # miniAOD case
21  #
22  srcMiniAOD = cms.InputTag('slimmedPhotons',processName=cms.InputTag.skipCurrentProcess()),
23  #
24  # MVA configurations
25  #
26  mvaConfigurations = mvaConfigsForPhoProducer
27  )