CMS 3D CMS Logo

Classes | Functions | Variables
config Namespace Reference

Classes

class  Analyzer
 
class  CFG
 
class  Component
 
class  Config
 
class  DataComponent
 
class  MCComponent
 
class  Sequence
 
class  Service
 

Functions

def printComps (comps, details=False)
 

Variables

 __author__
 
 __date__
 
 checkPath
 
 Configuration
 
 exceptPaths
 
 helpMsg
 
 htmlPath
 
 ordering
 
 picklePath
 
 ruleName
 
 rulesDescription
 
 rulesNames
 
 txtPath
 

Function Documentation

def config.printComps (   comps,
  details = False 
)
Summary printout for  a list of components comps.
The components are assumed to have a name, and a list of files,
like the ones from this module.

Definition at line 10 of file config.py.

References edm.print().

10 def printComps(comps, details=False):
11  '''
12  Summary printout for a list of components comps.
13  The components are assumed to have a name, and a list of files,
14  like the ones from this module.
15  '''
16  nJobs = 0
17  nCompsWithFiles = 0
18  for c in comps:
19  if not hasattr(c, 'splitFactor'):
20  c.splitFactor = 1
21  print(c.name, c.splitFactor, len(c.files))
22  if len(c.files)==0:
23  continue
24  else:
25  if details:
26  print(c.files[0])
27  nJobs += c.splitFactor
28  nCompsWithFiles += 1
29 
30  print('-'*70)
31  print('# components with files = ', nCompsWithFiles)
32  print('# jobs = ', nJobs)
33 
34 
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:65
def printComps(comps, details=False)
Definition: config.py:10

Variable Documentation

config.__author__
private

Definition at line 1 of file config.py.

config.__date__
private

Definition at line 2 of file config.py.

config.checkPath

Definition at line 11 of file config.py.

Referenced by JetMETHLTOfflineSource.dqmBeginRun().

config.Configuration

Definition at line 24 of file config.py.

config.exceptPaths

Definition at line 18 of file config.py.

config.helpMsg

Definition at line 199 of file config.py.

config.htmlPath

Definition at line 14 of file config.py.

config.ordering

Definition at line 7 of file config.py.

config.picklePath

Definition at line 12 of file config.py.

config.ruleName

Definition at line 30 of file config.py.

config.rulesDescription

Definition at line 193 of file config.py.

config.rulesNames

Definition at line 23 of file config.py.

config.txtPath

Definition at line 13 of file config.py.