CMS 3D CMS Logo

Classes | Functions | Variables
edmIntegrityCheck Namespace Reference

Classes

class  IntegrityCheck
 
class  PublishToFileSystem
 

Functions

def callback (result)
 
def work (d, op)
 

Variables

 action
 
 args
 
 callback
 
 d
 
 das
 
 datasets
 
 default
 
 dest
 
 False
 
 group
 
 help
 
 int
 
 max_threads
 
 None
 
 opts
 
 pool
 
 processes
 
 pub
 
 report
 
 type
 
 usage
 
 work
 

Detailed Description

Classes to check that a set of ROOT files are OK and publish a report

Function Documentation

def edmIntegrityCheck.callback (   result)

Definition at line 60 of file edmIntegrityCheck.py.

References callback, edm.print(), and str.

60  def callback(result):
61  print('Checking thread done: ',str(result))
62 
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:66
#define str(s)
def edmIntegrityCheck.work (   d,
  op 
)

Definition at line 39 of file edmIntegrityCheck.py.

References work.

39  def work(d,op):
40  tokens = d.split('%')
41  if len(tokens) == 2:
42  op.user = tokens[0]
43  d = tokens[1]
44 
45  check = IntegrityCheck(d,op)
46  pub = PublishToFileSystem(check)
47 
48  previous = None
49  if op.update:
50  previous = pub.get(check.directory)
51 
52  check.test(previous = previous, timeout = op.timeout)
53  if op.printout:
54  check.report()
55  report = check.structured()
56  pub.publish(report)
57 
58  return d
59 

Variable Documentation

edmIntegrityCheck.action

Definition at line 22 of file edmIntegrityCheck.py.

edmIntegrityCheck.args

Definition at line 75 of file edmIntegrityCheck.py.

edmIntegrityCheck.callback
edmIntegrityCheck.d

Definition at line 66 of file edmIntegrityCheck.py.

edmIntegrityCheck.das

Definition at line 17 of file edmIntegrityCheck.py.

edmIntegrityCheck.datasets

Definition at line 32 of file edmIntegrityCheck.py.

edmIntegrityCheck.default

Definition at line 20 of file edmIntegrityCheck.py.

edmIntegrityCheck.dest

Definition at line 20 of file edmIntegrityCheck.py.

edmIntegrityCheck.False

Definition at line 22 of file edmIntegrityCheck.py.

edmIntegrityCheck.group

Definition at line 18 of file edmIntegrityCheck.py.

edmIntegrityCheck.help

Definition at line 20 of file edmIntegrityCheck.py.

edmIntegrityCheck.int
edmIntegrityCheck.max_threads

Definition at line 71 of file edmIntegrityCheck.py.

edmIntegrityCheck.None

Definition at line 21 of file edmIntegrityCheck.py.

edmIntegrityCheck.opts

Definition at line 32 of file edmIntegrityCheck.py.

edmIntegrityCheck.pool

Definition at line 72 of file edmIntegrityCheck.py.

edmIntegrityCheck.processes

Definition at line 72 of file edmIntegrityCheck.py.

edmIntegrityCheck.pub

Definition at line 348 of file edmIntegrityCheck.py.

edmIntegrityCheck.report
edmIntegrityCheck.type

Definition at line 27 of file edmIntegrityCheck.py.

edmIntegrityCheck.usage

Definition at line 13 of file edmIntegrityCheck.py.

edmIntegrityCheck.work