@@ -1055,24 +1055,24 @@ struct K892analysispbpb {
10551055 if (recCollisions.size () > 0 ) {
10561056 auto numcontributors = -999 ;
10571057 for (const auto & RecCollision : recCollisions) {
1058- if (!myEventSelections (RecCollision))
1059- continue ;
1058+ if (!myEventSelections (RecCollision))
1059+ continue ;
10601060
1061- if (RecCollision.numContrib () <= numcontributors)
1062- continue ;
1063- else
1064- numcontributors = RecCollision.numContrib ();
1061+ if (RecCollision.numContrib () <= numcontributors)
1062+ continue ;
1063+ else
1064+ numcontributors = RecCollision.numContrib ();
10651065
1066- centrality = RecCollision.centFT0C ();
1067- isSel = true ;
1066+ centrality = RecCollision.centFT0C ();
1067+ isSel = true ;
10681068 }
10691069 }
1070-
1070+
10711071 if (isSel) {
10721072 histos.fill (HIST (" QAevent/hImpactParameterRec" ), impactPar);
10731073 histos.fill (HIST (" QAevent/hImpactParvsCentrRec" ), centrality, impactPar);
10741074 }
1075-
1075+
10761076 // Generated MC
10771077 for (const auto & mcPart : mcParticles) {
10781078 if (std::abs (mcPart.y ()) >= 0.5 || std::abs (mcPart.pdgCode ()) != 313 )
@@ -1083,14 +1083,13 @@ struct K892analysispbpb {
10831083 histos.fill (HIST (" QAevent/k892genBeforeEvtSel" ), mcPart.pt (), impactPar);
10841084 else
10851085 histos.fill (HIST (" QAevent/k892genBeforeEvtSelAnti" ), mcPart.pt (), impactPar);
1086-
10871086
10881087 if (isSel) {
1089- // signal loss estimation
1090- if (mcPart.pdgCode () > 0 ) // no cuts, purely generated
1091- histos.fill (HIST (" QAevent/k892genAfterEvtSel" ), mcPart.pt (), impactPar);
1092- else
1093- histos.fill (HIST (" QAevent/k892genAfterEvtSelAnti" ), mcPart.pt (), impactPar);
1088+ // signal loss estimation
1089+ if (mcPart.pdgCode () > 0 ) // no cuts, purely generated
1090+ histos.fill (HIST (" QAevent/k892genAfterEvtSel" ), mcPart.pt (), impactPar);
1091+ else
1092+ histos.fill (HIST (" QAevent/k892genAfterEvtSelAnti" ), mcPart.pt (), impactPar);
10941093 }
10951094 } // end loop on gen particles
10961095 }
0 commit comments