Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v30r3 (a5ef0a68)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
compareRootHistos.py File Reference

Go to the source code of this file.

Namespaces

 compareRootHistos
 

Functions

def compareRootHistos.rec (o, path=None, lst=None)
 
def compareRootHistos.composition (t)
 
def compareRootHistos.comparePaths (t1, t2)
 
def compareRootHistos.bin2binIdentity (h1, h2)
 
def compareRootHistos.compareHistos (t1, t2, state, checkBin2BinIdentity)
 
def compareRootHistos.extractBlacklist (listString)
 

Variables

 compareRootHistos.backupArgv = sys.argv[:]
 
 compareRootHistos.argv
 
list compareRootHistos.gRegexBlackList = []
 
list compareRootHistos.histos = ['TH1D', 'TH1F', 'TH2D', 'TH2F', 'TProfile']
 
string compareRootHistos.ref = 'REFERENCE'
 
string compareRootHistos.test = 'TEST'
 
string compareRootHistos.usage = "usage: %prog testFile.root referenceFile.root [options]"
 
 compareRootHistos.parser = OptionParser()
 
 compareRootHistos.dest
 
 compareRootHistos.help
 
 compareRootHistos.action
 
 compareRootHistos.default
 
 compareRootHistos.options
 
 compareRootHistos.args
 
 compareRootHistos.testFile
 
 compareRootHistos.referenceFile
 
 compareRootHistos.tfs = TFile(testFile, 'REC')
 
 compareRootHistos.tfp = TFile(referenceFile, 'REC')
 
 compareRootHistos.lref = rec(tfs)
 
 compareRootHistos.ltest = rec(tfp)
 
 compareRootHistos.dref = dict([(n, o) for n, o in lref])
 
 compareRootHistos.dtest = dict([(n, o) for n, o in ltest])
 
tuple compareRootHistos.ts = (ref, dref)
 
tuple compareRootHistos.tp = (test, dtest)
 
 compareRootHistos.state = comparePaths(ts, tp)
 
 compareRootHistos.retval = compareHistos(ts, tp, state, checkBin2BinIdentity=options.bin2bin)