diff --git a/PWGHF/TableProducer/trackIndexSkimCreator.cxx b/PWGHF/TableProducer/trackIndexSkimCreator.cxx index d2cc8a045e6..010fd11dfc7 100644 --- a/PWGHF/TableProducer/trackIndexSkimCreator.cxx +++ b/PWGHF/TableProducer/trackIndexSkimCreator.cxx @@ -495,7 +495,7 @@ struct HfTrackIndexSkimCreatorTagSelTracks { } // configure proton PID - for (auto iChannel{0u}; iChannelget(iChannel, "minPtTpc"), selectionsProtonPid->get(iChannel, "maxPtTpc")); selectorProton[iChannel].setRangePtTof(selectionsProtonPid->get(iChannel, "minPtTof"), selectionsProtonPid->get(iChannel, "maxPtTof")); selectorProton[iChannel].setRangeNSigmaTpc(-selectionsProtonPid->get(iChannel, "nSigmaMaxTpc"), selectionsProtonPid->get(iChannel, "nSigmaMaxTpc")); @@ -512,28 +512,28 @@ struct HfTrackIndexSkimCreatorTagSelTracks { std::array statusPid = {TrackSelectorPID::Accepted, TrackSelectorPID::Accepted, TrackSelectorPID::Accepted}; if constexpr (pidStrategy == ProtonPidStrategy::PidTofOnly) { - for (auto iChannel{0u}; iChannel + template void performPvRefitTrack(aod::Collision const& collision, aod::BCsWithTimestamps const& bcWithTimeStamps, std::vector vecPvContributorGlobId, @@ -924,14 +924,14 @@ struct HfTrackIndexSkimCreatorTagSelTracks { /// Partition for PV contributors - template + template void runTagSelTracks(aod::Collision const& collision, - TTracks const& tracks, // all tracks + TTracks const& tracks, // all tracks GroupedTrackIndices const& trackIndicesCollision, // track indices associated to this collision (from track-to-collision-associator) - GroupedPvContributors const& pvContrCollision, // PV contributors of this collision - aod::BCsWithTimestamps const& bcWithTimeStamps, // for PV refit - int64_t numTracksThisColl, // number of tracks in this collision (for PV refit) - int64_t offsetTracksThisColl) // offset of tracks in this collision with respect to total table (for PV refit) + GroupedPvContributors const& pvContrCollision, // PV contributors of this collision + aod::BCsWithTimestamps const& bcWithTimeStamps, // for PV refit + int64_t numTracksThisColl, // number of tracks in this collision (for PV refit) + int64_t offsetTracksThisColl) // offset of tracks in this collision with respect to total table (for PV refit) { // prepare vectors to cache quantities needed for PV refit std::vector> pvRefitDcaPerTrack{};