stiegerb/TopMassSecVtx — pull request #4 by pfs (2014-10-31 21:13:25+00:00)
Title: Fixing crash

It all runs smoothly even for events with >20 jets which appear in SingleMu/Ele PDs.
It was related to the #PF candidates associated to the jets
Instead of
if(bev_.npf > int(bev_.gMaxNPFCands))
should be
if(bev_.npf > int(bev_.gMaxNPFCands)+1)
a classic.
Have a nice we.