@@ -154,7 +154,7 @@ struct nucleiQC {
154154 tpcBetheBlochParams[iParam] = cfgBetheBlochParams->get (kSpeciesRt , iParam);
155155 }
156156
157- nuclei::createHistogramRegistryNucleus<iSpeciesCt >(mHistograms );
157+ nuclei::createHistogramRegistryNucleus<kSpeciesCt >(mHistograms );
158158
159159 if (cfgUseCentralTpcCalibration->get (static_cast <uint32_t >(kSpeciesRt ), static_cast <uint32_t >(0 )) == 0 ) {
160160 mPidManagers [kSpeciesRt ] = nuclei::PidManager (kSpeciesRt , tpcBetheBlochParams);
@@ -399,42 +399,42 @@ struct nucleiQC {
399399 for (const auto & track : tracks) {
400400
401401 static_for<0 , nuclei::kNspecies - 1 >([&](auto iSpecies) {
402- constexpr int iSpeciesCt = decltype (iSpecies)::value;
403- const int iSpeciesRt = iSpeciesCt ;
402+ constexpr int kSpeciesCt = decltype (iSpecies)::value;
403+ const int kSpeciesRt = kSpeciesCt ;
404404
405- if (std::find (mSpeciesToProcess .begin (), mSpeciesToProcess .end (), iSpeciesRt ) == mSpeciesToProcess .end ()) {
405+ if (std::find (mSpeciesToProcess .begin (), mSpeciesToProcess .end (), kSpeciesRt ) == mSpeciesToProcess .end ()) {
406406 return ;
407407 }
408408
409409 if (track.has_mcParticle ()) {
410410 const auto & particle = track.mcParticle ();
411411 if (cfgDoCheckPdgCode) {
412- if (particle.pdgCode () != nuclei::pdgCodes[iSpeciesRt ])
412+ if (particle.pdgCode () != nuclei::pdgCodes[kSpeciesRt ])
413413 return ;
414414 }
415415 if (particle.y () - cfgRapidityCenterMass < cfgRapidityMin || particle.y () - cfgRapidityCenterMass > cfgRapidityMax) {
416416 return ;
417417 }
418418 }
419419
420- mHistograms .fill (HIST (nuclei::cNames[iSpeciesCt ]) + HIST (" /hTrackSelections" ), nuclei::trackSelection::kNoCuts );
420+ mHistograms .fill (HIST (nuclei::cNames[kSpeciesCt ]) + HIST (" /hTrackSelections" ), nuclei::trackSelection::kNoCuts );
421421 if (!trackSelection (track))
422422 return ;
423- mHistograms .fill (HIST (nuclei::cNames[iSpeciesCt ]) + HIST (" /hTrackSelections" ), nuclei::trackSelection::kTrackCuts );
423+ mHistograms .fill (HIST (nuclei::cNames[kSpeciesCt ]) + HIST (" /hTrackSelections" ), nuclei::trackSelection::kTrackCuts );
424424
425- if (!pidSelection<iSpeciesRt >(track, collision))
425+ if (!pidSelection<kSpeciesRt >(track, collision))
426426 return ;
427- mHistograms .fill (HIST (nuclei::cNames[iSpeciesCt ]) + HIST (" /hTrackSelections" ), nuclei::trackSelection::kPidCuts );
427+ mHistograms .fill (HIST (nuclei::cNames[kSpeciesCt ]) + HIST (" /hTrackSelections" ), nuclei::trackSelection::kPidCuts );
428428
429429 nuclei::SlimCandidate candidate;
430430 if (track.has_mcParticle ()) {
431- candidate = fillCandidate</* isMc*/ true >(iSpeciesCt , collision, track);
432- dispatchFillHistograms</* isGenerated*/ true >(iSpeciesRt , candidate);
431+ candidate = fillCandidate</* isMc*/ true >(kSpeciesCt , collision, track);
432+ dispatchFillHistograms</* isGenerated*/ true >(kSpeciesRt , candidate);
433433 } else {
434- candidate = fillCandidate</* isMc*/ true >(iSpeciesCt , collision, track);
434+ candidate = fillCandidate</* isMc*/ true >(kSpeciesCt , collision, track);
435435 }
436436
437- dispatchFillHistograms</* isGenerated*/ false >(iSpeciesRt , candidate);
437+ dispatchFillHistograms</* isGenerated*/ false >(kSpeciesRt , candidate);
438438 });
439439 }
440440
0 commit comments