Skip to content

Commit

Permalink
Merge pull request #10 from alibuild/alibot-cleanup-9285
Browse files Browse the repository at this point in the history
[PWGLF] Please consider the following formatting changes to #9285
  • Loading branch information
maciacco authored Jan 12, 2025
2 parents 4586f93 + 92dc3a2 commit bea648d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions PWGLF/TableProducer/Nuspex/ebyeMaker.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ struct ebyeMaker {
Preslice<aod::V0s> perCollisionV0 = o2::aod::v0::collisionId;
Preslice<aod::McParticles> perCollisionMcParts = o2::aod::mcparticle::mcCollisionId;

template<class P>
template <class P>
int getPartTypeMother(P const& mcPart)
{
for (auto& mother : mcPart.template mothers_as<aod::McParticles>()) {

Check warning on line 325 in PWGLF/TableProducer/Nuspex/ebyeMaker.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[const-ref-in-for-loop]

Use constant references for non-modified iterators in range-based for loops.
Expand Down Expand Up @@ -1416,8 +1416,7 @@ struct ebyeMaker {
// continue;
if (candidateTrack.pdgcodemoth > 0)
selMask |= candidateTrack.pdgcodemoth;
}
else {
} else {
selMask = candidateTrack.pdgcodemoth;
}
mcMiniTrkTable(
Expand Down

0 comments on commit bea648d

Please sign in to comment.