L1: bugfix: broken if() statement
A bugfix in L1: broken if() statement because of the missing braces.
if (fmCBMmode)
if (tr.NHits <= 3) check = 0;
else if (tr.NHits < 3)
check = 0;
was interpreted as
if (fmCBMmode){
if (tr.NHits <= 3) check = 0;
else if (tr.NHits < 3)
check = 0;
}
but apparently, it was meant:
if (fmCBMmode){
if (tr.NHits <= 3) check = 0;
}
else{
if (tr.NHits < 3)
check = 0;
}
Weird, but the bugfix doesn't change anything in the performance..