def isValidHist(rootHist, histname, filename): if not rootHist: Log.logErrorMessage( 'Histogram \n"%s" \ncould not be found in rootFile:\n%s' % (histname, filename)) return False return True
def isValidHist(rootHist, histname, filename): if not rootHist: Log.logErrorMessage('Histogram \n"%s" \ncould not be found in rootFile:\n%s' % (histname, filename)) return False return True
def testIfFalidFile(rootFile, filename): if not rootFile: Log.logErrorMessage('Could not find rootFile: ' + filename)