Crombie Tools
CrombieTools.PlotTools Namespace Reference

Namespaces

 Plot2D
 
 PlotBrazil
 
 PlotFitParameters
 
 PlotHists
 
 PlotROC
 
 PlotStack
 
 PlotTriggerEfficiency
 
 PlotUtils
 
 QuickPlot
 
 RatioComparison
 
 tdrStyle
 

Functions

def AddOutDir (basename, default_suff='plots')
 
def SetupFromEnv (plotter)
 

Variables

 __all__
 

Function Documentation

§ AddOutDir()

def CrombieTools.PlotTools.AddOutDir (   basename,
  default_suff = 'plots' 
)
A function to prepend the correct output directory and make the directory, if needed

@param basename is the raw basename that is to be given to the output plot
@param default is the location given to the script if the environment variable CrombieOutPlotDir is not set

Definition at line 11 of file PlotTools/__init__.py.

References CrombieTools.DirFromEnv().

§ SetupFromEnv()

def CrombieTools.PlotTools.SetupFromEnv (   plotter)
A function that sets up a plotter after sourcing a config file.

@param plotter is the plotter to setup. Defaults to plotter in this module.

Definition at line 23 of file PlotTools/__init__.py.

References CrombieTools.DirFromEnv(), CrombieTools.CommonTools.FileConfigReader.SetFunctionFromEnv(), and CrombieTools.CommonTools.FileConfigReader.SetupConfigFromEnv().

Variable Documentation

§ __all__

CrombieTools.PlotTools.__all__
private

Definition at line 9 of file PlotTools/__init__.py.