Generalised slicing of binned objects
Allows slicing of any (N+1)-dimensional binned object into a vector of N-dimensional binned objects along a given axis.
- Already existed for
BinnedEstimates
asmkEstimates()
- extended to
mkHistos()
which reduces BH(N+1) -> vec[BH(N)] and BP(N+1) -> BH(N+1) -> vec[BP(N)] - extended to
mkProfiles()
which reduces BP(N+1) -> vec[BP(N)] - Calling
mkProfiles()
on a BinnedHisto doesn't work, but if the histo has at least three dimensions, one could first marginalise over one of them usingmkMarginalProfile()