Protect HistoWrapper from segfault
If the configuration of the daughter masses, was empty the algorithm segfaulted as it tried to access an empty vector.
Additionally the comparision between the counter i
and the size needs to be >=
instead of >
. This only afffects the monitoring of lines which use Hlt1 vertex functors instead of CombineParticles.
I also changed the severity from warning to error.
Edited by Sascha Stahl