CMS 3D CMS Logo

Functions
customiseCheckEventSetup Namespace Reference

Functions

def customise (process)
 

Function Documentation

def customiseCheckEventSetup.customise (   process)

Definition at line 5 of file customiseCheckEventSetup.py.

References mps_setup.append, and edm.print().

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
24 
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:66