CMS 3D CMS Logo

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

Functions

def addMonitoring
 
def stepALCAPRODUCER
 

Function Documentation

def Utils.addMonitoring (   process)
_addMonitoring_

Add the monitoring services to the process provided
in order to write out performance summaries to the framework job report

Definition at line 26 of file Utils.py.

Referenced by Impl.pp.pp.expressProcessing(), and Impl.pp.pp.promptReco().

26 
27 def addMonitoring(process):
28  """
29  _addMonitoring_
30 
31  Add the monitoring services to the process provided
32  in order to write out performance summaries to the framework job report
33  """
34  import FWCore.ParameterSet.Config as cms
35 
36  process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck",
37  jobReportOutputOnly = cms.untracked.bool(True)
38  )
39  process.Timing = cms.Service("Timing",
40  summaryOnly = cms.untracked.bool(True)
41  )
42 
43  return process
def addMonitoring
Definition: Utils.py:26
def Utils.stepALCAPRODUCER (   skims)
_stepALCAPRODUCER_

Creates and returns the configuration string for the ALCAPRODUCER step
starting from the list of AlcaReco path to be run.

Definition at line 9 of file Utils.py.

Referenced by Impl.AlCaTestEnable.AlCaTestEnable.expressProcessing(), Impl.AlCaPhiSymEcal.AlCaPhiSymEcal.expressProcessing(), Impl.AlCaP0.AlCaP0.expressProcessing(), Impl.cosmics.cosmics.expressProcessing(), Impl.HeavyIons.HeavyIons.expressProcessing(), Impl.pp.pp.expressProcessing(), Impl.AlCaPhiSymEcal.AlCaPhiSymEcal.promptReco(), Impl.cosmics.cosmics.promptReco(), Impl.pp.pp.promptReco(), Impl.AlCaTestEnable.AlCaTestEnable.promptReco(), Impl.AlCaP0.AlCaP0.promptReco(), Impl.hcalnzs.hcalnzs.promptReco(), and Impl.HeavyIons.HeavyIons.promptReco().

9 
10 def stepALCAPRODUCER(skims):
11  """
12  _stepALCAPRODUCER_
13 
14  Creates and returns the configuration string for the ALCAPRODUCER step
15  starting from the list of AlcaReco path to be run.
16 
17  """
18 
19  step = ''
20  if len(skims) >0:
21  step = ',ALCAPRODUCER:'
22  for skim in skims:
23  step += (skim+"+")
24  step = step.rstrip('+')
25  return step
def stepALCAPRODUCER
Definition: Utils.py:9