Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-07-23 02:25:39

0001 from __future__ import print_function
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 def customise(process):
0005     process.escontent = cms.EDAnalyzer("PrintEventSetupContent",
0006         compact = cms.untracked.bool(True),
0007         printProviders = cms.untracked.bool(True)
0008     )
0009     process.esretrieval = cms.EDAnalyzer("PrintEventSetupDataRetrieval",
0010         printProviders = cms.untracked.bool(True)
0011     )
0012     process.esout = cms.EndPath(process.escontent + process.esretrieval)
0013 
0014     if process.schedule_() is not None:
0015         process.schedule_().append(process.esout)
0016 
0017     for name, module in process.es_sources_().items():
0018         print("ESModules> provider:%s '%s'" % (name, module.type_()))
0019     for name, module in process.es_producers_().items():
0020         print("ESModules> provider:%s '%s'" % (name, module.type_()))
0021 
0022     return process