The Gaudi Framework
v29r0 (ff2e7097)
|
Functions | |
def | rec (o, path=None, lst=None) |
def | composition (t) |
def | comparePaths (t1, t2) |
def | bin2binIdentity (h1, h2) |
def | compareHistos (t1, t2, state, checkBin2BinIdentity) |
def | extractBlacklist (listString) |
Variables | |
backupArgv = sys.argv[:] | |
argv | |
list | gRegexBlackList = [] |
list | histos = ['TH1D', 'TH1F', 'TH2D', 'TH2F', 'TProfile'] |
string | ref = 'REFERENCE' |
string | test = 'TEST' |
string | usage = "usage: %prog testFile.root referenceFile.root [options]" |
parser = OptionParser() | |
dest | |
help | |
action | |
default | |
options | |
args | |
testFile | |
referenceFile | |
string | tfs = TFile(testFile, 'REC');print'opening Test File : %s' |
string | tfp = TFile(referenceFile, 'REC');print'opening Reference File : %s' |
lref = rec(tfs) | |
ltest = rec(tfp) | |
dref = dict([(n, o) for n, o in lref]) | |
dtest = dict([(n, o) for n, o in ltest]) | |
tuple | ts = (ref, dref) |
tuple | tp = (test, dtest) |
state = comparePaths(ts, tp) | |
retval = compareHistos(ts, tp, state, checkBin2BinIdentity=options.bin2bin) | |
def compareRootHistos.bin2binIdentity | ( | h1, | |
h2 | |||
) |
Definition at line 145 of file compareRootHistos.py.
def compareRootHistos.compareHistos | ( | t1, | |
t2, | |||
state, | |||
checkBin2BinIdentity | |||
) |
Definition at line 180 of file compareRootHistos.py.
def compareRootHistos.comparePaths | ( | t1, | |
t2 | |||
) |
Definition at line 83 of file compareRootHistos.py.
def compareRootHistos.composition | ( | t | ) |
Definition at line 57 of file compareRootHistos.py.
def compareRootHistos.extractBlacklist | ( | listString | ) |
Definition at line 373 of file compareRootHistos.py.
def compareRootHistos.rec | ( | o, | |
path = None , |
|||
lst = None |
|||
) |
Definition at line 30 of file compareRootHistos.py.
compareRootHistos.action |
Definition at line 391 of file compareRootHistos.py.
compareRootHistos.args |
Definition at line 393 of file compareRootHistos.py.
compareRootHistos.argv |
Definition at line 7 of file compareRootHistos.py.
compareRootHistos.backupArgv = sys.argv[:] |
Definition at line 6 of file compareRootHistos.py.
compareRootHistos.default |
Definition at line 391 of file compareRootHistos.py.
compareRootHistos.dest |
Definition at line 387 of file compareRootHistos.py.
compareRootHistos.dref = dict([(n, o) for n, o in lref]) |
Definition at line 411 of file compareRootHistos.py.
compareRootHistos.dtest = dict([(n, o) for n, o in ltest]) |
Definition at line 412 of file compareRootHistos.py.
list compareRootHistos.gRegexBlackList = [] |
Definition at line 12 of file compareRootHistos.py.
compareRootHistos.help |
Definition at line 388 of file compareRootHistos.py.
list compareRootHistos.histos = ['TH1D', 'TH1F', 'TH2D', 'TH2F', 'TProfile'] |
Definition at line 13 of file compareRootHistos.py.
Definition at line 408 of file compareRootHistos.py.
Definition at line 409 of file compareRootHistos.py.
compareRootHistos.options |
Definition at line 393 of file compareRootHistos.py.
compareRootHistos.parser = OptionParser() |
Definition at line 386 of file compareRootHistos.py.
string compareRootHistos.ref = 'REFERENCE' |
Definition at line 14 of file compareRootHistos.py.
compareRootHistos.referenceFile |
Definition at line 402 of file compareRootHistos.py.
compareRootHistos.retval = compareHistos(ts, tp, state, checkBin2BinIdentity=options.bin2bin) |
Definition at line 425 of file compareRootHistos.py.
compareRootHistos.state = comparePaths(ts, tp) |
Definition at line 422 of file compareRootHistos.py.
string compareRootHistos.test = 'TEST' |
Definition at line 15 of file compareRootHistos.py.
compareRootHistos.testFile |
Definition at line 402 of file compareRootHistos.py.
string compareRootHistos.tfp = TFile(referenceFile, 'REC');print'opening Reference File : %s' |
Definition at line 405 of file compareRootHistos.py.
Definition at line 404 of file compareRootHistos.py.
Definition at line 415 of file compareRootHistos.py.
Definition at line 414 of file compareRootHistos.py.
string compareRootHistos.usage = "usage: %prog testFile.root referenceFile.root [options]" |
Definition at line 385 of file compareRootHistos.py.