CMS 3D CMS Logo

customiseCheckEventSetup.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 def customise(process):
4  process.escontent = cms.EDAnalyzer("PrintEventSetupContent",
5  compact = cms.untracked.bool(True),
6  printProviders = cms.untracked.bool(True)
7  )
8  process.esretrieval = cms.EDAnalyzer("PrintEventSetupDataRetrieval",
9  printProviders = cms.untracked.bool(True)
10  )
11  process.esout = cms.EndPath(process.escontent + process.esretrieval)
12 
13  if process.schedule_() is not None:
14  process.schedule_().append(process.esout)
15 
16  for name, module in process.es_sources_().iteritems():
17  print "ESModules> provider:%s '%s'" % (name, module.type_())
18  for name, module in process.es_producers_().iteritems():
19  print "ESModules> provider:%s '%s'" % (name, module.type_())
20 
21  return process