24 std::cout <<
"ERROR: a histogram pointer, m_numberOfEventsHisto, is zero" << std::endl;
35 TH1F* pHisto{
nullptr};
39 result = pHisto->GetEntries();
40 }
catch (
const std::out_of_range& outOfRange) {
48 TH1F* pHisto{
nullptr};
53 }
catch (
const std::out_of_range& outOfRange) {
62 int yAxisBins{
static_cast<int>(TMath::Ceil(1.0*nLb/nLbMerged))};
65 (*it)->SetBins(768, -0.5, 768+0.5, yAxisBins, 0.5, nLbMerged*yAxisBins+0.5);