test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
customiseCheckEventSetup.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
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
boost::dynamic_bitset append(const boost::dynamic_bitset<> &bs1, const boost::dynamic_bitset<> &bs2)
this method takes two bitsets bs1 and bs2 and returns result of bs2 appended to the end of bs1 ...