We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 018ed6d commit 36f3f69Copy full SHA for 36f3f69
PWGLF/Tasks/Strangeness/strangeCascTrack.cxx
@@ -405,7 +405,7 @@ struct StrangeCascTrack {
405
double casccospa = cascade.casccosPA(collision.posX(), collision.posY(), collision.posZ());
406
const auto& edges = axesConfig.axisPt.value;
407
int ptBin = std::upper_bound(edges.begin(), edges.end(), cascade.pt()) - edges.begin() - 1;
408
- if (ptBin < 0 || ptBin >= (int)selCuts.cutMinCascCosPaVsPt->size()) {
+ if (ptBin < 0 || ptBin >= static_cast<int>(selCuts.cutMinCascCosPaVsPt->size())) {
409
ptBin = 1;
410
} // safety check - if pt bin not determined, default to loosest cut
411
if (casccospa < selCuts.cutMinCascCosPaVsPt->at(ptBin)) {
0 commit comments