Crombie Tools
CrombieTools Namespace Reference

AnalysisTools

CommonTools

ConfigTools

debug

Parallelization

PlotTools

SkimmingTools

## Functions

def DirFromEnv (envVar, default='tmp_dir')

def Nminus1Cut (inCut, varToRemove, returnCuts=False)

## Variables

__all__

CrombieDir

dependencies

IgnoreCommandLineOptions

## Detailed Description

@package CrombieTools
Base package module of everything used through python.

them into ROOT and for creating directories from environment variables
loaded by submodules. There are also several submodules contained in
the package.
@todo Set up a central FileConfigReader python class that other config readers inherit from
@author Daniel Abercrombie <dabercro@mit.edu>


## § DirFromEnv()

 def CrombieTools.DirFromEnv ( envVar, default = 'tmp_dir' )
Creates a directory stored in an environment variable.

Generally does not need to be called by the user. Multiple submodules make use of this command.
@param envVar is the name of the environment variable containing a directory name.
@param default is the default value of the directory location if the environment variable is not filled.


Definition at line 90 of file __init__.py.

Loads a class from Crombie Tools into ROOT.

@param className is the name of a class in the Crombie Tools package.
@returns the function pointer for the constructor, except in the case of PlotUtils.
In that case, 0 is returned. It would be much better to import what
you need from CrombieTools.PlotTools.PlotUtils.


Definition at line 56 of file __init__.py.

References crombie_completion.dir.

## § Nminus1Cut()

 def CrombieTools.Nminus1Cut ( inCut, varToRemove, returnCuts = False )
A function for getting N - 1 plots.

Given a cutstring and a variable name, all comparison expressions with that variable are removed.
@param inCut is the full cutstring
@param varToRemove is the variable to remove from the cutstring (usually a variable being plotted).
@param returnCuts sets whether to return the cuts values (True) or the new cuts string (False).
@returns a version of the cutstring without any comparisons to varToRemove or the cuts values.
@todo I want this to ignore cuts next to an '||'? Or I have the weird '&&' veto thing... That's trickier to fix


Definition at line 105 of file __init__.py.

## § __all__

 CrombieTools.__all__
private

Definition at line 18 of file __init__.py.

## § CrombieDir

 CrombieTools.CrombieDir

Definition at line 23 of file __init__.py.

## § dependencies

 CrombieTools.dependencies

Definition at line 43 of file __init__.py.

## § IgnoreCommandLineOptions

 CrombieTools.IgnoreCommandLineOptions

Definition at line 13 of file __init__.py.