Segmentation fault when running FT simulation in effective mode
The following lines
float prob_XTalk = nPhotons * m_probDirectXTalk;
float a0 = ( 1. - 2. * prob_XTalk ) / ( 1. - prob_XTalk );
and
float prob_delXTalk = nPhotons * m_probDelayedXTalk;
float a0 = ( 1. - 2. * prob_delXTalk ) / ( 1. - prob_delXTalk );
create an issue when there are exactly 25 photons. More generally, a probability larger than 1 does not make much sense.