379 void ProcessEvent(
int bin_number, partA_iterator iter_A, partB_iterator iter_B, TreatCorPairFunc TreatCorPair, TreatNCorPairFunc TreatNCorPair)
381 int n_partA(0), n_partB(0);
383 for (
auto& partA : iter_A) {
386 if (n_partA == 1)
bins[bin_number].
partA_events.push_back(ParticleInfoStruct(partA));
389 for (
auto& partB : iter_B) {
393 if (n_partB == 1)
bins[bin_number].
partB_events.push_back(ParticleInfoStruct(partB));
396 TreatCorPair(bin_number, partA, partB);
402 for (
auto& partB : iter_B) {
405 if (n_partB == 1)
bins[bin_number].
partB_events.push_back(ParticleInfoStruct(partB));
416 for (
auto& partA : iter_A) {
419 for (
auto& partB :
e.particles) {
420 TreatNCorPair(bin_number, partA, partB);
429 for (
auto& partB : iter_B) {
432 for (
auto& partA :
e.particles) {
433 TreatNCorPair(bin_number, partB, partA);