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_V1_cff
import
*
11
mvaConfigsForPhoProducer.append( mvaPhoID_Spring15_50ns_nonTrig_V1_producer_config )
12
13
from
RecoEgamma.PhotonIdentification.Identification.mvaPhotonID_Spring15_50ns_nonTrig_V2_cff
import
*
14
mvaConfigsForPhoProducer.append( mvaPhoID_Spring15_50ns_nonTrig_V2_producer_config )
15
16
from
RecoEgamma.PhotonIdentification.Identification.mvaPhotonID_Spring15_25ns_nonTrig_V2_cff
import
*
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
)
mvaPhotonID_Spring15_50ns_nonTrig_V1_cff
Config
mvaPhotonID_Spring15_50ns_nonTrig_V2_cff
mvaPhotonID_PHYS14_PU20bx25_nonTrig_V1_cff
mvaPhotonID_Spring15_25ns_nonTrig_V2_cff
Generated for CMSSW Reference Manual by
1.8.5