histo_utils#
- mkShapesRDF.shapeAnalysis.histo_utils.fold(h, ifrom, ito)[source][source]#
Folds a histogram bin content and sumw2
- mkShapesRDF.shapeAnalysis.histo_utils.postPlot(hTotal, doFold, unroll=True)[source][source]#
Takes TH1, TH2 or TH3, folds if necessary and unrolls
- mkShapesRDF.shapeAnalysis.histo_utils.postProcessNuisances(filename, samples, aliases, variables, cuts, nuisances)[source][source]#
Post process nuisances of type weight_[envelope/rms/square]. For each nuisance/cut/variable/sample will take many histograms in input and only save Up and Down histograms