CMS 3D CMS Logo

customiseCheckEventSetup.py
Go to the documentation of this file.
1 from __future__ import print_function
2 import FWCore.ParameterSet.Config as cms
3 import six
4 
5 def customise(process):
6  process.escontent = cms.EDAnalyzer("PrintEventSetupContent",
7  compact = cms.untracked.bool(True),
8  printProviders = cms.untracked.bool(True)
9  )
10  process.esretrieval = cms.EDAnalyzer("PrintEventSetupDataRetrieval",
11  printProviders = cms.untracked.bool(True)
12  )
13  process.esout = cms.EndPath(process.escontent + process.esretrieval)
14 
15  if process.schedule_() is not None:
16  process.schedule_().append(process.esout)
17 
18  for name, module in six.iteritems(process.es_sources_()):
19  print("ESModules> provider:%s '%s'" % (name, module.type_()))
20  for name, module in six.iteritems(process.es_producers_()):
21  print("ESModules> provider:%s '%s'" % (name, module.type_()))
22 
23  return process
print
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:46
mps_setup.append
append
Definition: mps_setup.py:85
customiseCheckEventSetup.customise
def customise(process)
Definition: customiseCheckEventSetup.py:5