Improve BinnedHistogram interface
Analysis authors currently have to perform some horrible acrobatics with temporary histogram pointers to populate the BinnedHistogram -- see
analyses/pluginCMS/CMS_2018_I1643640.cc. This isn't good, we should make the interface pleasant... perhaps via a built-in booking function on
The implementation of
BinnedHistogram is also very unsatisfying, and has been a hack for a long time. The ideal way to do it will be via a generalised YODA binning, when that becomes available with YODA2: we should bear that intended future evolution in mind in any solution we design, to avoid another major change of interface.