The Gaudi Framework
v30r3 (a5ef0a68)
|
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 | |
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) | |
def compareRootHistos.bin2binIdentity | ( | h1, | |
h2 | |||
) |
Definition at line 149 of file compareRootHistos.py.
def compareRootHistos.compareHistos | ( | t1, | |
t2, | |||
state, | |||
checkBin2BinIdentity | |||
) |
Definition at line 184 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 387 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 405 of file compareRootHistos.py.
compareRootHistos.args |
Definition at line 407 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 405 of file compareRootHistos.py.
compareRootHistos.dest |
Definition at line 401 of file compareRootHistos.py.
compareRootHistos.dref = dict([(n, o) for n, o in lref]) |
Definition at line 427 of file compareRootHistos.py.
compareRootHistos.dtest = dict([(n, o) for n, o in ltest]) |
Definition at line 428 of file compareRootHistos.py.
list compareRootHistos.gRegexBlackList = [] |
Definition at line 12 of file compareRootHistos.py.
compareRootHistos.help |
Definition at line 402 of file compareRootHistos.py.
list compareRootHistos.histos = ['TH1D', 'TH1F', 'TH2D', 'TH2F', 'TProfile'] |
Definition at line 13 of file compareRootHistos.py.
Definition at line 424 of file compareRootHistos.py.
Definition at line 425 of file compareRootHistos.py.
compareRootHistos.options |
Definition at line 407 of file compareRootHistos.py.
compareRootHistos.parser = OptionParser() |
Definition at line 400 of file compareRootHistos.py.
string compareRootHistos.ref = 'REFERENCE' |
Definition at line 14 of file compareRootHistos.py.
compareRootHistos.referenceFile |
Definition at line 416 of file compareRootHistos.py.
compareRootHistos.retval = compareHistos(ts, tp, state, checkBin2BinIdentity=options.bin2bin) |
Definition at line 441 of file compareRootHistos.py.
compareRootHistos.state = comparePaths(ts, tp) |
Definition at line 438 of file compareRootHistos.py.
string compareRootHistos.test = 'TEST' |
Definition at line 15 of file compareRootHistos.py.
compareRootHistos.testFile |
Definition at line 416 of file compareRootHistos.py.
compareRootHistos.tfp = TFile(referenceFile, 'REC') |
Definition at line 420 of file compareRootHistos.py.
compareRootHistos.tfs = TFile(testFile, 'REC') |
Definition at line 418 of file compareRootHistos.py.
Definition at line 431 of file compareRootHistos.py.
Definition at line 430 of file compareRootHistos.py.
string compareRootHistos.usage = "usage: %prog testFile.root referenceFile.root [options]" |
Definition at line 399 of file compareRootHistos.py.