Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoEgamma
PhotonIdentification
python
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_PHYS14_PU20bx25_nonTrig_V1_cff
import
*
8
mvaConfigsForPhoProducer.append( mvaPhoID_PHYS14_PU20bx25_nonTrig_V1_producer_config )
9
10
from
RecoEgamma.PhotonIdentification.Identification.mvaPhotonID_Spring15_50ns_nonTrig_V0_cff
import
*
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
)
Config
mvaPhotonID_Spring15_50ns_nonTrig_V0_cff
mvaPhotonID_PHYS14_PU20bx25_nonTrig_V1_cff
Generated for CMSSW Reference Manual by
1.8.5