Closed IzaakWN closed 1 year ago
Follow up on PR https://github.com/cms-tau-pog/TauFW/pull/36:
python3
ROOT.Double
ctypes.c_double
len(zip(...))
len(list(zip(...)))
rootrepr
deletehist
MergedSample.gethist
Also sneaked in other stuff:
Plot
Stack
Ratio
ensureTFile
gethist
TauFW.common.tools.root
HLT_Iso*Mu24
Follow up on PR https://github.com/cms-tau-pog/TauFW/pull/36:
python3
compatible.ROOT.Double
→ctypes.c_double
for passing by reference in python, see https://root.cern/manual/python/#passing-fundamental-types-by-referencelen(zip(...))
→len(list(zip(...)))
.rootrepr
to print ROOT objects in more informative & readable way.deletehist
inMergedSample.gethist
Also sneaked in other stuff:
Plot
,Stack
.Ratio
to allow for single numerator for all histograms (as opposed to single denominator)ensureTFile
,gethist
to newTauFW.common.tools.root
module (this might cause some conflicts with other people's setups).HLT_Iso*Mu24
to json for 2016.