CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
customiseCheckEventSetup.py
Go to the documentation of this file.
1 from __future__ import print_function
2 import FWCore.ParameterSet.Config as cms
3 
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
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 ...
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47