CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 
7 from RecoEgamma.PhotonIdentification.Identification.mvaPhotonID_Spring16_nonTrig_V1_cff \
8  import mvaPhoID_Spring16_nonTrig_V1_producer_config
9 mvaConfigsForPhoProducer.append( mvaPhoID_Spring16_nonTrig_V1_producer_config )
10 
12 mvaConfigsForPhoProducer.append( mvaPhoID_RunIIFall17_v1p1_producer_config )
13 
15 mvaConfigsForPhoProducer.append( mvaPhoID_RunIIFall17_v2_producer_config )
16 
17 ###Phase II ID valid for EB
19 mvaConfigsForPhoProducer.append( mvaPhoID_PhaseIISummer20_v0_producer_config )
20 
21 photonMVAValueMapProducer = cms.EDProducer('PhotonMVAValueMapProducer',
22  src = cms.InputTag('slimmedPhotons'),
23  mvaConfigurations = mvaConfigsForPhoProducer
24  )
Phase II ID valid for EB.