Skip to content

Commit 3fb9fdb

Browse files
[PWGCF] Change track iteration to const reference
The change is done only to the new code
1 parent cccadaf commit 3fb9fdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGCF/TableProducer/filterCorrelations.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ struct FilterCF {
337337
void processTrackQA(soa::Filtered<soa::Join<aod::Collisions, aod::EvSels, aod::CFMultiplicities>>::iterator const& collision, soa::Filtered<soa::Join<aod::Tracks, aod::TracksExtra, aod::TrackSelection, aod::TracksDCA>> const& tracks)
338338
{
339339
registrytrackQA.fill(HIST("zvtx"), collision.posZ());
340-
for (auto& track : tracks) {
340+
for (const auto& track : tracks) {
341341
if (!track.isGlobalTrack()) {
342342
return; // trackQA for global tracks only
343343
}

0 commit comments

Comments
 (0)