CMS 3D CMS Logo

Functions
customiseCheckEventSetup Namespace Reference

Functions

def customise (process)
 

Function Documentation

◆ customise()

def customiseCheckEventSetup.customise (   process)

Definition at line 4 of file customiseCheckEventSetup.py.

4 def customise(process):
5  process.escontent = cms.EDAnalyzer("PrintEventSetupContent",
6  compact = cms.untracked.bool(True),
7  printProviders = cms.untracked.bool(True)
8  )
9  process.esretrieval = cms.EDAnalyzer("PrintEventSetupDataRetrieval",
10  printProviders = cms.untracked.bool(True)
11  )
12  process.esout = cms.EndPath(process.escontent + process.esretrieval)
13 
14  if process.schedule_() is not None:
15  process.schedule_().append(process.esout)
16 
17  for name, module in process.es_sources_().items():
18  print("ESModules> provider:%s '%s'" % (name, module.type_()))
19  for name, module in process.es_producers_().items():
20  print("ESModules> provider:%s '%s'" % (name, module.type_()))
21 
22  return process

References mps_setup.append, mps_monitormerge.items, and print().

mps_monitormerge.items
list items
Definition: mps_monitormerge.py:29
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:4