Implementation of PID efficiency with adaptive binning, using 2D slices
Implementation of PID efficiency with adaptive binning, using 2D slices.
There's one 2D slice for each bin on the third dimension of the PID 3D distribution. The slices are stored, together with the min and max values of the relative bin in the third dimension, in a std::tuple. At the end, a vector of tuples <zmin, zmax, TH2A histo> is created and saved.