ATLAS Offline Software
Namespaces | Functions
systematicsTool.py File Reference

Go to the source code of this file.

Namespaces

 systematicsTool
 

Functions

def systematicsTool.renameFilesWithoutPrefix (directory)
 
def systematicsTool.customReplacements (name, removeExtension=True, customReps=None)
 
def systematicsTool.safeFileName (name, removeExtension=True, reverse=False)
 
def systematicsTool.rivetINameReplacements (name, escapePlus=False)
 
def systematicsTool.lookupPDFSetName (lhapdfid)
 
def systematicsTool.getSumOfWeights (path, nominalWeight="", sumwHistName="")
 
def systematicsTool.weightCorrection (var, nom, sampleDir="", varWeightName="", nominalWeightName="", sumwHistName="")
 
def systematicsTool.getXSFromYODA (path)
 
def systematicsTool.getXS (dsid, campaign=15, userFile=None)
 
def systematicsTool.safeDiv (numerator, denominator)
 
def systematicsTool.splitOperand (operand, bracket="()")
 
def systematicsTool.getFormulaComponents (formula)
 
def systematicsTool.resolveFormula (nominal, formula, componentsMap, level=0, verbose=0)
 
def systematicsTool.combineVariationsLHAPDF (nom, variations, pset, asym=False)
 
def systematicsTool.combineVariationsEnvelope (nom, variations, asym=True, includeErrorsInEnvelope=False)
 
def systematicsTool.combineVariationsReplicas (nom, variations, asym=True)
 
def systematicsTool.combineVariationsAlphaS (nom, variations)
 
def systematicsTool.combineVariationsHessian (nom, variations, asym=True)
 
def systematicsTool.combineVariationsFromFormula (nom, variations, formula)
 
def systematicsTool.combineVariationsStat (nom)
 
def systematicsTool.combineVariationsNorm (nom, val=0.05)
 
def systematicsTool.readFromFile (filename, regexFilter=None, regexVeto=None)
 
def systematicsTool.getFileKeys (d, basepath="/")
 
def systematicsTool.readFromROOT (filename, regexFilter=None, regexVeto=None)
 
def systematicsTool.readFromYODA (filename, regexFilter=None, regexVeto=None)
 
def systematicsTool.writeToFile (histDict, fOut)
 
def systematicsTool.writeToYODA (histDict, fOut)
 
def systematicsTool.writeToROOT (histDict, fOut)
 
def systematicsTool.getAverageUncertaintySizePerBin (fIn, regexFilter=None, regexVeto=None)
 
def systematicsTool.combineVariation (wName, wInfo, fOut, regexFilter=None, regexVeto=None)
 
def systematicsTool.arrayDictToTGraph (ao, isData=False, setYErrorsToZero=False, nominalAOForRatio=None)
 
def systematicsTool.getPlotInfo (aoName, pathInRivetEnv)
 
def systematicsTool.safeRootLatex (unsafeLatex)
 
def systematicsTool.makeDummyHisto (tg, isLog=False, XandYMinAndMax=None, ratioZoom=None, isRatio=False)
 
def systematicsTool.makeSystematicsPlotsWithROOT (mergedSystDict, outdir, nominalName="Nominal", ratioZoom=None, regexFilter=None, regexVeto=None, label="", plotInfo=None)
 
def systematicsTool.makeSystematicsPlotsWithRIVET (mergedSystDict, plotsDir, nominalName="Nominal", ratioZoom=None, regexFilter=None, regexVeto=None, label="", plotInfo=None, normalize=False)
 
def systematicsTool.getCombinationRecipe (systWeights, combinationRecipeFile=None, combinationRecipeName=None)
 
def systematicsTool.combineAllVariations (weightList, indir, outdir, regexFilter=None, regexVeto=None, combinationRecipe=None, returnOnlyVariationsInComination=True, schema="!INDIR/!INFILE.yoda:!AONAME[!WEIGHTNAME]", orderedWeights=None, inFile=None, customWeightNameReplacements=None)
 
def systematicsTool.extractTarballsFromDirectory (fulldir, force=False, verbose=False, rootOrYoda='yoda', notTGZ=False)
 
def systematicsTool.updateProgress (progress, key, message)
 
def systematicsTool.printProgress (progress)
 
def systematicsTool.mergeInChunks (outfn, paths, progressDict=None, nFilesPerChunk=100, force=False, rootOrYoda='yoda')
 
def systematicsTool.getCrossSectionCorrection (xsList, systFiles, nomFiles, rivetNormalised=False, applyKFactorCorrection=False, varWeightName="", nominalWeightName="", sumwHistName="")
 
def systematicsTool.main (argv)