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_V1_producer_config )
12 
14 mvaConfigsForPhoProducer.append( mvaPhoID_Spring15_50ns_nonTrig_V2_producer_config )
15 
17 mvaConfigsForPhoProducer.append( mvaPhoID_Spring15_25ns_nonTrig_V2_producer_config )
18 
19 photonMVAValueMapProducer = cms.EDProducer('PhotonMVAValueMapProducer',
20  # The module automatically detects AOD vs miniAOD, so we configure both
21  #
22  # AOD case
23  #
24  src = cms.InputTag('gedPhotons'),
25  #
26  # miniAOD case
27  #
28  srcMiniAOD = cms.InputTag('slimmedPhotons',processName=cms.InputTag.skipCurrentProcess()),
29  #
30  # MVA configurations
31  #
32  mvaConfigurations = mvaConfigsForPhoProducer
33  )