@@ -322,14 +322,14 @@ struct StudyPnch {
322322 }
323323 auto recTracksPart = RecTracks.sliceBy (perCollision, RecCol.globalIndex ());
324324 auto multrec = countNTracksMcCol (recTracksPart, RecCol);
325- if (isINELgt0 ( multrec) ) {
325+ if (multrec > 0 ) {
326326 histos.fill (HIST (" hMultiplicityMCrec" ), multrec);
327327 }
328328 auto multgen = countGenTracks (GenParticles, mcCollision);
329- if (isINELgt0 ( multgen) && isINELgt0 ( multrec) ) {
329+ if (multgen > 0 && multrec > 0 ) {
330330 histos.fill (HIST (" hMultiplicityMCgen" ), multgen);
331331 histos.fill (HIST (" hResponseMatrix" ), multrec, multgen);
332- }
332+ }
333333 }
334334 }
335335
@@ -347,10 +347,10 @@ struct StudyPnch {
347347 // All generated events
348348 histos.fill (HIST (" MCEventHist" ), 1 );
349349 auto multAll = countGenTracks (GenParticles, mcCollision);
350- if (isINELgt0 ( multAll) ) {
350+ if (multAll > 0 ) {
351351 histos.fill (HIST (" hMultiplicityMCgenAll" ), multAll);
352352 }
353-
353+
354354 bool atLeastOne = false ;
355355 auto numcontributors = -999 ;
356356 for (const auto & RecCol : RecCols) {
@@ -368,8 +368,8 @@ struct StudyPnch {
368368 if (atLeastOne) {
369369 histos.fill (HIST (" MCEventHist" ), 2 );
370370 auto multSel = countGenTracks (GenParticles, mcCollision);
371- if (isINELgt0 ( multSel) ) {
372- histos.fill (HIST (" hMultiplicityMCgenSel" ), multSel);
371+ if (multSel > 0 ) {
372+ histos.fill (HIST (" hMultiplicityMCgenSel" ), multSel);
373373 }
374374 }
375375 }
0 commit comments