![]() |
The Gaudi Framework
v28r1
|
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(tfp) | |
dref = dict( [(n, o) for n, o in lref] ) | |
dtest = dict( [(n, o) for n, o in ltest] ) | |
tuple | ts = ( test, dtest ) |
state = comparePaths( ts, tp ) | |
retval = compareHistos( ts, tp, state, checkBin2BinIdentity=options.bin2bin ) | |
def compareRootHistos.bin2binIdentity | ( | h1, | |
h2 | |||
) |
Definition at line 119 of file compareRootHistos.py.
def compareRootHistos.compareHistos | ( | t1, | |
t2, | |||
state, | |||
checkBin2BinIdentity | |||
) |
Definition at line 152 of file compareRootHistos.py.
def compareRootHistos.comparePaths | ( | t1, | |
t2 | |||
) |
Definition at line 71 of file compareRootHistos.py.
def compareRootHistos.composition | ( | t | ) |
Definition at line 50 of file compareRootHistos.py.
def compareRootHistos.extractBlacklist | ( | listString | ) |
Definition at line 303 of file compareRootHistos.py.
def compareRootHistos.rec | ( | o, | |
path = None , |
|||
lst = None |
|||
) |
Definition at line 28 of file compareRootHistos.py.
compareRootHistos.action |
Definition at line 320 of file compareRootHistos.py.
compareRootHistos.args |
Definition at line 322 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 320 of file compareRootHistos.py.
compareRootHistos.dest |
Definition at line 316 of file compareRootHistos.py.
compareRootHistos.dref = dict( [(n, o) for n, o in lref] ) |
Definition at line 339 of file compareRootHistos.py.
compareRootHistos.dtest = dict( [(n, o) for n, o in ltest] ) |
Definition at line 340 of file compareRootHistos.py.
list compareRootHistos.gRegexBlackList = [] |
Definition at line 12 of file compareRootHistos.py.
compareRootHistos.help |
Definition at line 317 of file compareRootHistos.py.
list compareRootHistos.histos = ['TH1D', 'TH1F', 'TH2D', 'TH2F', 'TProfile'] |
Definition at line 13 of file compareRootHistos.py.
Definition at line 337 of file compareRootHistos.py.
compareRootHistos.options |
Definition at line 322 of file compareRootHistos.py.
compareRootHistos.parser = OptionParser() |
Definition at line 315 of file compareRootHistos.py.
string compareRootHistos.ref = 'REFERENCE' |
Definition at line 14 of file compareRootHistos.py.
compareRootHistos.referenceFile |
Definition at line 331 of file compareRootHistos.py.
compareRootHistos.retval = compareHistos( ts, tp, state, checkBin2BinIdentity=options.bin2bin ) |
Definition at line 351 of file compareRootHistos.py.
compareRootHistos.state = comparePaths( ts, tp ) |
Definition at line 348 of file compareRootHistos.py.
string compareRootHistos.test = 'TEST' |
Definition at line 15 of file compareRootHistos.py.
compareRootHistos.testFile |
Definition at line 331 of file compareRootHistos.py.
string compareRootHistos.tfp = TFile( referenceFile, 'REC' );print'opening Reference File : %s' |
Definition at line 334 of file compareRootHistos.py.
Definition at line 333 of file compareRootHistos.py.
Definition at line 342 of file compareRootHistos.py.
string compareRootHistos.usage = "usage: %prog testFile.root referenceFile.root [options]" |
Definition at line 314 of file compareRootHistos.py.