CMS 3D CMS Logo

Functions
customiseCheckEventSetup Namespace Reference

Functions

def customise (process)
 

Function Documentation

def customiseCheckEventSetup.customise (   process)

Definition at line 3 of file customiseCheckEventSetup.py.

References mps_setup.append.

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