Skip to content

Commit 9bbff51

Browse files
fix rawIteratorAt use
1 parent 0f3fb6f commit 9bbff51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGLF/TableProducer/Strangeness/sigma0builder.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,7 @@ struct sigma0builder {
12181218
}
12191219

12201220
for (size_t j = 0; j < bestLambdasArray.size(); ++j) {
1221-
auto lambda = fullV0s.iteratorAt(bestLambdasArray[j]);
1221+
auto lambda = fullV0s.rawIteratorAt(bestLambdasArray[j]);
12221222

12231223
if (!lambda.has_v0MCCore())
12241224
continue;
@@ -1361,7 +1361,7 @@ struct sigma0builder {
13611361
auto gamma = fullV0s.rawIteratorAt(bestGammasArray[i]);
13621362

13631363
for (size_t j = 0; j < bestLambdasArray.size(); ++j) {
1364-
auto lambda = fullV0s.iteratorAt(bestLambdasArray[j]);
1364+
auto lambda = fullV0s.rawIteratorAt(bestLambdasArray[j]);
13651365

13661366
// Sigma0 candidate properties
13671367
std::array<float, 3> pVecPhotons{gamma.px(), gamma.py(), gamma.pz()};

0 commit comments

Comments
 (0)