Skip to content

check whether the histos vector is empty before creating envelope

Jonas Neundorf requested to merge jonas-fix-envelope-without-signal into master

Release notes

Handle the case of an empty list of signal histograms during dynamic blinding correctly.

Details

So far, was only checking whether the TCollection is a nullpointer in TQHistogramUtils::createEnvelopingHistograms, but was happily creating an empty vector, which then later caused a segfault when trying to retrieve it's first element.

Merge request reports