compareRootHistos.py File Reference

Go to the source code of this file.

Namespaces

 compareRootHistos
 

Functions

def compareRootHistos.rec
 
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

list compareRootHistos.backupArgv = sys.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]"
 
tuple compareRootHistos.parser = OptionParser()
 
string compareRootHistos.help = 'Comma separated list of regexps matching histograms to skip (for example -b"MemoryTool,ProcTime")'
 
string compareRootHistos.action = "store_true"
 
tuple compareRootHistos.tfs = TFile( testFile, 'REC' )
 
tuple compareRootHistos.tfp = TFile( referenceFile, 'REC' )
 
tuple compareRootHistos.lref = rec(tfs)
 
tuple compareRootHistos.dref = dict( [(n, o) for n, o in lref] )
 
tuple compareRootHistos.dtest = dict( [(n, o) for n, o in ltest] )
 
tuple compareRootHistos.ts = ( ref, dref )
 
tuple compareRootHistos.state = comparePaths( ts, tp )
 
tuple compareRootHistos.retval = compareHistos( ts, tp, state, checkBin2BinIdentity=options.bin2bin )