![]() |
The Gaudi Framework
master (ff829712)
|
Functions | |
rec (o, path=None, lst=None) | |
composition (t) | |
comparePaths (t1, t2) | |
bin2binIdentity (h1, h2) | |
compareHistos (t1, t2, state, checkBin2BinIdentity) | |
extractBlacklist (listString) | |
Variables | |
backupArgv = sys.argv[:] | |
argv | |
list | gRegexBlackList = [] |
list | histos = ["TH1D", "TH1F", "TH2D", "TH2F", "TProfile"] |
str | ref = "REFERENCE" |
str | test = "TEST" |
str | usage = "usage: %prog testFile.root referenceFile.root [options]" |
parser = OptionParser() | |
dest | |
help | |
action | |
default | |
options | |
args | |
testFile | |
referenceFile | |
tfs = TFile(testFile, "REC") | |
tfp = TFile(referenceFile, "REC") | |
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) | |
compareRootHistos.bin2binIdentity | ( | h1, | |
h2 ) |
Definition at line 180 of file compareRootHistos.py.
compareRootHistos.compareHistos | ( | t1, | |
t2, | |||
state, | |||
checkBin2BinIdentity ) |
Definition at line 215 of file compareRootHistos.py.
compareRootHistos.comparePaths | ( | t1, | |
t2 ) |
Definition at line 100 of file compareRootHistos.py.
compareRootHistos.composition | ( | t | ) |
Definition at line 72 of file compareRootHistos.py.
compareRootHistos.extractBlacklist | ( | listString | ) |
Definition at line 438 of file compareRootHistos.py.
compareRootHistos.rec | ( | o, | |
path = None, | |||
lst = None ) |
Definition at line 43 of file compareRootHistos.py.
compareRootHistos.action |
Definition at line 460 of file compareRootHistos.py.
compareRootHistos.args |
Definition at line 465 of file compareRootHistos.py.
compareRootHistos.argv |
Definition at line 19 of file compareRootHistos.py.
compareRootHistos.backupArgv = sys.argv[:] |
Definition at line 18 of file compareRootHistos.py.
compareRootHistos.default |
Definition at line 462 of file compareRootHistos.py.
compareRootHistos.dest |
Definition at line 454 of file compareRootHistos.py.
compareRootHistos.dref = dict([(n, o) for n, o in lref]) |
Definition at line 485 of file compareRootHistos.py.
compareRootHistos.dtest = dict([(n, o) for n, o in ltest]) |
Definition at line 486 of file compareRootHistos.py.
list compareRootHistos.gRegexBlackList = [] |
Definition at line 25 of file compareRootHistos.py.
compareRootHistos.help |
Definition at line 455 of file compareRootHistos.py.
list compareRootHistos.histos = ["TH1D", "TH1F", "TH2D", "TH2F", "TProfile"] |
Definition at line 26 of file compareRootHistos.py.
Definition at line 482 of file compareRootHistos.py.
Definition at line 483 of file compareRootHistos.py.
compareRootHistos.options |
Definition at line 465 of file compareRootHistos.py.
compareRootHistos.parser = OptionParser() |
Definition at line 451 of file compareRootHistos.py.
str compareRootHistos.ref = "REFERENCE" |
Definition at line 27 of file compareRootHistos.py.
compareRootHistos.referenceFile |
Definition at line 474 of file compareRootHistos.py.
compareRootHistos.retval = compareHistos(ts, tp, state, checkBin2BinIdentity=options.bin2bin) |
Definition at line 499 of file compareRootHistos.py.
compareRootHistos.state = comparePaths(ts, tp) |
Definition at line 496 of file compareRootHistos.py.
str compareRootHistos.test = "TEST" |
Definition at line 28 of file compareRootHistos.py.
compareRootHistos.testFile |
Definition at line 474 of file compareRootHistos.py.
compareRootHistos.tfp = TFile(referenceFile, "REC") |
Definition at line 478 of file compareRootHistos.py.
compareRootHistos.tfs = TFile(testFile, "REC") |
Definition at line 476 of file compareRootHistos.py.
Definition at line 489 of file compareRootHistos.py.
Definition at line 488 of file compareRootHistos.py.
str compareRootHistos.usage = "usage: %prog testFile.root referenceFile.root [options]" |
Definition at line 450 of file compareRootHistos.py.