We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac70623 commit 0f0310cCopy full SHA for 0f0310c
1 file changed
PWGHF/TableProducer/trackIndexSkimCreator.cxx
@@ -4131,11 +4131,7 @@ struct HfTrackIndexSkimCreatorLfCascades {
4131
continue;
4132
}
4133
4134
- // bachelor1 momentum is invariant across the inner (bachelor2) loop;
4135
- // pVector() is a dynamic column with no caching (it recomputes
4136
- // sin/cos on every call), so evaluate it once here instead of on
4137
- // every bachelor2 iteration.
4138
- const std::array<float, 3> pVecCharmBachelor1 = trackCharmBachelor1.pVector();
+ const auto pVecCharmBachelor1 = trackCharmBachelor1.pVector();
4139
4140
// second loop over tracks
4141
for (auto trackIdCharmBachelor2 = trackIdCharmBachelor1 + 1; trackIdCharmBachelor2 != groupedBachTrackIndices.end(); ++trackIdCharmBachelor2) {
0 commit comments