Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DPG/Tasks/ITS/filterTracks.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
std::array<int, 3> pdgDecayLc = {kProton, kKMinus, kPiPlus};
std::array<int, 2> pdgDecayDzero = {kKMinus, kPiPlus};
std::array<int, 2> pdgDecayKzero = {kPiMinus, kPiPlus};
const int nK0sShortDaught=2;
const int nK0sShortDaught = 2;

void init(InitContext&)
{
Expand Down Expand Up @@ -345,7 +345,7 @@
// }
}
if (isMatchedToSignal) {
for (auto const mcpartdaughtIdx : indxDaughers) {

Check failure on line 348 in DPG/Tasks/ITS/filterTracks.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.
auto mcPartDaught = mcParticles.rawIteratorAt(mcpartdaughtIdx);
double eta = std::abs(mcPartDaught.eta());
if ((eta) > etamax) {
Expand Down
Loading