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

◆ printComps()

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 11 of file config.py.

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

References print().

Variable Documentation

◆ __author__

config.__author__
private

Definition at line 1 of file config.py.

◆ __date__

config.__date__
private

Definition at line 2 of file config.py.

◆ checkPath

config.checkPath

Definition at line 11 of file config.py.

Referenced by JetMETHLTOfflineSource.dqmBeginRun().

◆ Configuration

config.Configuration

Definition at line 24 of file config.py.

◆ exceptPaths

config.exceptPaths

Definition at line 18 of file config.py.

◆ helpMsg

config.helpMsg

Definition at line 199 of file config.py.

◆ htmlPath

config.htmlPath

Definition at line 14 of file config.py.

◆ ordering

config.ordering

◆ picklePath

config.picklePath

Definition at line 12 of file config.py.

◆ ruleName

config.ruleName

Definition at line 30 of file config.py.

◆ rulesDescription

config.rulesDescription

Definition at line 193 of file config.py.

◆ rulesNames

config.rulesNames

Definition at line 23 of file config.py.

◆ txtPath

config.txtPath

Definition at line 13 of file config.py.

print
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:46
config.printComps
def printComps(comps, details=False)
Definition: config.py:11