CMS 3D CMS Logo

photonPostProcessor_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
5 
6 
7 photonPostprocessing.batch = cms.bool(False)
8 photonPostprocessing.standalone = cms.bool(False)
9 photonPostprocessing.isRunCentrally = cms.bool(True)
10 #
11 pfPhotonPostprocessing = Validation.RecoEgamma.photonPostprocessing_cfi.photonPostprocessing.clone()
12 pfPhotonPostprocessing.ComponentName = cms.string('pfPhotonPostprocessing')
13 pfPhotonPostprocessing.analyzerName = cms.string('pfPhotonValidator')
14 pfPhotonPostprocessing.batch = cms.bool(False)
15 pfPhotonPostprocessing.standalone = cms.bool(False)
16 pfPhotonPostprocessing.isRunCentrally = cms.bool(True)
17 #
18 oldpfPhotonPostprocessing = Validation.RecoEgamma.photonPostprocessing_cfi.photonPostprocessing.clone()
19 oldpfPhotonPostprocessing.ComponentName = cms.string('oldpfPhotonPostprocessing')
20 oldpfPhotonPostprocessing.analyzerName = cms.string('oldpfPhotonValidator')
21 oldpfPhotonPostprocessing.batch = cms.bool(False)
22 oldpfPhotonPostprocessing.standalone = cms.bool(False)
23 oldpfPhotonPostprocessing.isRunCentrally = cms.bool(True)
24 #
26 conversionPostprocessing.batch = cms.bool(False)
27 conversionPostprocessing.standalone = cms.bool(False)
28 
29 photonPostProcessor = cms.Sequence(photonPostprocessing*pfPhotonPostprocessing*conversionPostprocessing)
30 #photonPostProcessor = cms.Sequence(photonPostprocessing*conversionPostprocessing)
31 
32 from Configuration.Eras.Modifier_fastSim_cff import fastSim
33 if fastSim.isChosen():
34  photonPostprocessing.fastsim = cms.bool(True)
35  oldpfPhotonPostprocessing.fastsim = cms.bool(True)
36