The Gaudi Framework  v29r0 (ff2e7097)
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
 
string compareRootHistos.tfs = TFile(testFile, 'REC');print'opening Test File : %s'
 
string compareRootHistos.tfp = TFile(referenceFile, 'REC');print'opening Reference File : %s'
 
 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)