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.
1 import FWCore.ParameterSet.Config as cms
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 
20 mvaConfigsForPhoProducer.append( mvaPhoID_Spring15_50ns_nonTrig_V2p1_producer_config )
21 
23 mvaConfigsForPhoProducer.append( mvaPhoID_Spring15_25ns_nonTrig_V2p1_producer_config )
24 
25 photonMVAValueMapProducer = cms.EDProducer('PhotonMVAValueMapProducer',
26  # The module automatically detects AOD vs miniAOD, so we configure both
27  #
28  # AOD case
29  #
30  src = cms.InputTag('gedPhotons'),
31  #
32  # miniAOD case
33  #
34  srcMiniAOD = cms.InputTag('slimmedPhotons',processName=cms.InputTag.skipCurrentProcess()),
35  #
36  # MVA configurations
37  #
38  mvaConfigurations = mvaConfigsForPhoProducer
39  )