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

◆ callback()

def edmIntegrityCheck.callback (   result)

Definition at line 60 of file edmIntegrityCheck.py.

References callback, print(), and str.

60  def callback(result):
61  print('Checking thread done: ',str(result))
62 
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47
#define str(s)

◆ work()

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

◆ action

edmIntegrityCheck.action

Definition at line 22 of file edmIntegrityCheck.py.

◆ args

edmIntegrityCheck.args

Definition at line 75 of file edmIntegrityCheck.py.

◆ callback

edmIntegrityCheck.callback

◆ d

edmIntegrityCheck.d

Definition at line 66 of file edmIntegrityCheck.py.

◆ das

edmIntegrityCheck.das

Definition at line 17 of file edmIntegrityCheck.py.

◆ datasets

edmIntegrityCheck.datasets

Definition at line 32 of file edmIntegrityCheck.py.

◆ default

edmIntegrityCheck.default

Definition at line 20 of file edmIntegrityCheck.py.

◆ dest

edmIntegrityCheck.dest

Definition at line 20 of file edmIntegrityCheck.py.

◆ False

edmIntegrityCheck.False

Definition at line 22 of file edmIntegrityCheck.py.

◆ group

edmIntegrityCheck.group

Definition at line 18 of file edmIntegrityCheck.py.

◆ help

edmIntegrityCheck.help

Definition at line 20 of file edmIntegrityCheck.py.

◆ int

edmIntegrityCheck.int

◆ max_threads

edmIntegrityCheck.max_threads

Definition at line 71 of file edmIntegrityCheck.py.

◆ None

edmIntegrityCheck.None

Definition at line 21 of file edmIntegrityCheck.py.

◆ opts

edmIntegrityCheck.opts

Definition at line 32 of file edmIntegrityCheck.py.

◆ pool

edmIntegrityCheck.pool

Definition at line 72 of file edmIntegrityCheck.py.

◆ processes

edmIntegrityCheck.processes

Definition at line 72 of file edmIntegrityCheck.py.

◆ pub

edmIntegrityCheck.pub

Definition at line 347 of file edmIntegrityCheck.py.

◆ report

edmIntegrityCheck.report

◆ type

edmIntegrityCheck.type

Definition at line 27 of file edmIntegrityCheck.py.

◆ usage

edmIntegrityCheck.usage

Definition at line 13 of file edmIntegrityCheck.py.

◆ work

edmIntegrityCheck.work