FairShip
Loading...
Searching...
No Matches
rootUtils.py File Reference

Go to the source code of this file.

Namespaces

namespace  rootUtils

Functions

None rootUtils.readHists (h, fname, wanted=None)
None rootUtils.bookHist (h, key=None, str title="", int nbinsx=100, float xmin=0, float xmax=1, int nbinsy=0, float ymin=0, float ymax=1, int nbinsz=0, float zmin=0, float zmax=1)
None rootUtils.bookProf (h, key=None, str title="", int nbinsx=100, float xmin=0, float xmax=1, float|None ymin=None, float|None ymax=None, str option="")
None rootUtils.writeHists (h, fname, bool plusCanvas=False)
None rootUtils.bookCanvas (h, key=None, str title="", int nx=900, int ny=600, int cx=1, int cy=1)
None rootUtils.assignClonesArrayItem (arr, index, obj)
None rootUtils.reportError (s)
None rootUtils.errorSummary ()
str rootUtils.checkFileExists (x)
bool rootUtils.checkForBranch (inFile, branchName)
tuple[list[str], list[str]] rootUtils.stage1AbsorberFieldOff (inFile)
bool rootUtils.is_known_particle (int|str code)
ROOT.TParticlePDG rootUtils.get_particle (int|str code)

Variables

Counter rootUtils._error_log = Counter()