CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
customiseCheckEventSetup Namespace Reference

Functions

def customise
 

Function Documentation

def customiseCheckEventSetup.customise (   process)

Definition at line 4 of file customiseCheckEventSetup.py.

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

4 
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 process.es_sources_().items():
19  print("ESModules> provider:%s '%s'" % (name, module.type_()))
20  for name, module in process.es_producers_().items():
21  print("ESModules> provider:%s '%s'" % (name, module.type_()))
22 
23  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