CMS 3D CMS Logo

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

Functions

def _dropFromPaths
 
def dropNonMTSafe
 

Function Documentation

def dropNonMTSafe._dropFromPaths (   process,
  name 
)
private

Definition at line 3 of file dropNonMTSafe.py.

Referenced by dropNonMTSafe().

3 
4 def _dropFromPaths(process,name):
5  if hasattr(process,name):
6  m = getattr(process,name)
7  for p in process.paths.itervalues():
8  p.remove(m)
9  delattr(process,name)
def dropNonMTSafe.dropNonMTSafe (   process)

Definition at line 10 of file dropNonMTSafe.py.

References _dropFromPaths().

10 
11 def dropNonMTSafe(process):
12  if hasattr(process, "DTDataIntegrityTask"): del process.DTDataIntegrityTask
13  if hasattr(process, "FastTimerService"): del process.FastTimerService
14  if hasattr(process, "SiStripDetInfoFileReader"): del process.SiStripDetInfoFileReader
15  if hasattr(process, "TkDetMap"): del process.TkDetMap
16  if hasattr(process, "DQM"): del process.DQM
17  if hasattr(process, "PoolDBOutputService"): del process.PoolDBOutputService
18  #drop items dependent on TkDetMap
19  _dropFromPaths(process,"siStripFEDMonitor")
20  _dropFromPaths(process,"SiStripMonitorDigi")
21  _dropFromPaths(process,"SiStripMonitorCluster")
22  _dropFromPaths(process,"SiStripMonitorTrack_ckf")
23  _dropFromPaths(process,"SiStripMonitorClusterBPTX")
24  _dropFromPaths(process,"siStripOfflineAnalyser")
25  _dropFromPaths(process,"SiStripMonitorTrackCommon")
26  _dropFromPaths(process,"SiStripMonitorTrack_hi")
27 
28  process.options = cms.untracked.PSet(numberOfThreads = cms.untracked.uint32(8),
29  sizeOfStackForThreadsInKB = cms.untracked.uint32(10*1024),
30  numberOfStreams = cms.untracked.uint32(0))
31 
32  return process