Update 'Utils3.py'
parent
c7edd75253
commit
eacec24d0d
33
Utils3.py.md
33
Utils3.py.md
@ -1,10 +1,41 @@
|
||||
Helper functions originally created for [[the comparison tool|Comparison-tool]]. However, as there are many more smart functions, the file is sourced also by other python scripts. Be sure to always include `Utils3.py` correctly! If it complains, first check the path of your included `Utils3.py`.
|
||||
|
||||
|
||||
## Table of Contents
|
||||
|
||||
* [Classes](#classes)
|
||||
* [ShowArgumentsParser()](#class-showargumentsparserargparseargumentparser)
|
||||
* [Global variables](#global-variables)
|
||||
* [intVarsList](#intvarslist)
|
||||
* [Functions](#functions)
|
||||
* [expressionList()](#expressionlist)
|
||||
* [isInt()](#isint)
|
||||
* [treeName()](#treename)
|
||||
* [getOptionsDictionary(y)](#getoptionsdictionaryy)
|
||||
* [checkYearSample()](#checkyearsample)
|
||||
* [checkYearSample()](#checkyearsample-1)
|
||||
* [getTreePath()](#gettreepath)
|
||||
* [addToTChain()](#addtotchain)
|
||||
* [addTMathTags()](#addtmathtags)
|
||||
* [list_of_DTF_vars ()](#list_of_dtf_vars-)
|
||||
* [replace_variables_to_DTF()](#replace_variables_to_dtf)
|
||||
* [getListOfUsedVariables(](#getlistofusedvariables)
|
||||
* [evaluateCut()](#evaluatecut)
|
||||
* [makeVariablePythonFriendly()](#makevariablepythonfriendly)
|
||||
* [evaluateVariable()](#evaluatevariable)
|
||||
* [evaluateWeight()](#evaluateweight)
|
||||
* [datasetTag()](#datasettag)
|
||||
* [weightTag()](#weighttag)
|
||||
* [KshortDecaysInVeloTag()](#kshortdecaysinvelotag)
|
||||
* [variableTag()](#variabletag)
|
||||
* [histName()](#histname)
|
||||
* [def stopWatch()](#def-stopwatch)
|
||||
* [getTreeWithPairingBranch()](#gettreewithpairingbranch)
|
||||
* [checkMCyear()](#checkmcyear)
|
||||
|
||||
## Classes
|
||||
|
||||
### class ShowArgumentsParser(argparse.ArgumentParser):
|
||||
### ShowArgumentsParser(argparse.ArgumentParser)
|
||||
Class used for pretty parser error printouts
|
||||
|
||||
## Global variables
|
||||
|
Loading…
Reference in New Issue
Block a user