@@ -981,9 +981,7 @@ struct sigma0builder {
981981 kShortMotherCode = MCMother_v02.pdgCode ();
982982
983983 // If the KShort mother is a (anti)Kaon, use the grandmother instead
984- if (std::abs (kShortMotherCode ) == PDG_t::kK0 ||
985- std::abs (kShortMotherCode ) == PDG_t::kK0Long ||
986- std::abs (kShortMotherCode ) == PDG_t::kKPlus ) {
984+ if (std::abs (kShortMotherCode ) == PDG_t::kK0 ) {
987985 auto const & kShortGrandMothers = MCMother_v02.template mothers_as <aod::McParticles>();
988986 if (!kShortGrandMothers .empty ()) {
989987 kShortMotherCode = kShortGrandMothers .front ().pdgCode ();
@@ -1376,13 +1374,11 @@ struct sigma0builder {
13761374 if (eventSelections.maxIR >= 0 && interactionRate > eventSelections.maxIR ) {
13771375 return false ;
13781376 }
1379- if (fillHists)
1377+ if (fillHists){
13801378 histos.fill (HIST (" hEventSelection" ), 19 /* Above max IR */ );
1381-
1382- // Fill centrality histogram after event selection
1383- if (fillHists)
1379+ // Fill centrality histogram after event selection
13841380 histos.fill (HIST (" hEventCentrality" ), centrality);
1385-
1381+ }
13861382 return true ;
13871383 }
13881384
@@ -2811,9 +2807,9 @@ struct sigma0builder {
28112807 }
28122808 }
28132809
2814- // _______________________________________________
2815- // KStar loop
2816- if constexpr (!soa::is_table<TEMCal>) { // Don't use EMCal clusters here
2810+ if constexpr (!soa::is_table<TEMCal>) { // Don't use EMCal clusters here
2811+ // _______________________________________________
2812+ // KStar loop
28172813 if (fillKStarTables) {
28182814 auto gamma1 = fullV0s.rawIteratorAt (bestGammasArray[i]);
28192815 for (size_t j = 0 ; j < bestKShortsArray.size (); ++j) {
@@ -2824,11 +2820,9 @@ struct sigma0builder {
28242820 continue ;
28252821 }
28262822 }
2827- }
28282823
2829- // _______________________________________________
2830- // pi0 loop
2831- if constexpr (!soa::is_table<TEMCal>) { // Don't use EMCal clusters here
2824+ // _______________________________________________
2825+ // pi0 loop
28322826 if (fillPi0Tables) {
28332827 auto gamma1 = fullV0s.rawIteratorAt (bestGammasArray[i]);
28342828 for (size_t j = i + 1 ; j < bestGammasArray.size (); ++j) {
0 commit comments