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
4 changes: 2 additions & 2 deletions PWGLF/Tasks/Strangeness/strangeCascTrack.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@
Configurable<float> cutMinBachCosPA{"cutMinBachCosPA", -1.1f, "min Bachelor cosPA"};
Configurable<float> cutMaxBachCosPA{"cutMaxBachCosPA", 1.1f, "max Bachelor cosPA"};
Configurable<std::vector<float>> cutMinCascCosPaVsPt{"cutMinCascCosPaVsPt",
{0.993, 0.993, 0.994, 0.995, 0.996, 0.997, 0.997, 0.998, 0.998, 0.999, 0.999},
"Min Casc CosPA per pT bin (same binning as axisPt)"};
{0.993, 0.993, 0.994, 0.995, 0.996, 0.997, 0.997, 0.998, 0.998, 0.999, 0.999},
"Min Casc CosPA per pT bin (same binning as axisPt)"};
Configurable<float> cutRapidity{"cutRapidity", 0.5f, "max rapidity"};
Configurable<float> cutDauEta{"cutDauEta", 1.0f, "max eta of dau tracks"};
Configurable<float> cutCompMassRej{"cutCompMassRej", 0.008f, "Competing mass rejection"};
Expand Down Expand Up @@ -1142,7 +1142,7 @@
histos.fill(HIST("Rec-Events/Mult"), mult);
analyseCascs(collision, allCascs); // process all cascades
if (doCustomGroup) {
for (const int idx : traCascsGrouped[collision.globalIndex()]) {

Check failure on line 1145 in PWGLF/Tasks/Strangeness/strangeCascTrack.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 casc = traCascs.rawIteratorAt(idx);
analyseCascade(collision, casc);
}
Expand Down
Loading