Skip to content

Commit a31f892

Browse files
authored
Merge pull request #40 from alibuild/alibot-cleanup-3939
Please consider the following formatting changes to #3939
2 parents 703743f + 53ff43f commit a31f892

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

PWGHF/TableProducer/trackIndexSkimCreator.cxx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ struct HfTrackIndexSkimCreatorTagSelTracks {
495495
}
496496

497497
// configure proton PID
498-
for (auto iChannel{0u}; iChannel<ChannelsProtonPid::NChannelsProtonPid; ++iChannel) {
498+
for (auto iChannel{0u}; iChannel < ChannelsProtonPid::NChannelsProtonPid; ++iChannel) {
499499
selectorProton[iChannel].setRangePtTpc(selectionsProtonPid->get(iChannel, "minPtTpc"), selectionsProtonPid->get(iChannel, "maxPtTpc"));
500500
selectorProton[iChannel].setRangePtTof(selectionsProtonPid->get(iChannel, "minPtTof"), selectionsProtonPid->get(iChannel, "maxPtTof"));
501501
selectorProton[iChannel].setRangeNSigmaTpc(-selectionsProtonPid->get(iChannel, "nSigmaMaxTpc"), selectionsProtonPid->get(iChannel, "nSigmaMaxTpc"));
@@ -512,28 +512,28 @@ struct HfTrackIndexSkimCreatorTagSelTracks {
512512

513513
std::array<int, 3> statusPid = {TrackSelectorPID::Accepted, TrackSelectorPID::Accepted, TrackSelectorPID::Accepted};
514514
if constexpr (pidStrategy == ProtonPidStrategy::PidTofOnly) {
515-
for (auto iChannel{0u}; iChannel<ChannelsProtonPid::NChannelsProtonPid; ++iChannel) {
515+
for (auto iChannel{0u}; iChannel < ChannelsProtonPid::NChannelsProtonPid; ++iChannel) {
516516
statusPid[iChannel] = selectorProton[iChannel].statusTof(hfTrack);
517517
}
518518
}
519519
if constexpr (pidStrategy == ProtonPidStrategy::PidTpcOnly) {
520-
for (auto iChannel{0u}; iChannel<ChannelsProtonPid::NChannelsProtonPid; ++iChannel) {
520+
for (auto iChannel{0u}; iChannel < ChannelsProtonPid::NChannelsProtonPid; ++iChannel) {
521521
statusPid[iChannel] = selectorProton[iChannel].statusTpc(hfTrack);
522522
}
523523
}
524524
if constexpr (pidStrategy == ProtonPidStrategy::PidTpcOrTof) {
525-
for (auto iChannel{0u}; iChannel<ChannelsProtonPid::NChannelsProtonPid; ++iChannel) {
525+
for (auto iChannel{0u}; iChannel < ChannelsProtonPid::NChannelsProtonPid; ++iChannel) {
526526
statusPid[iChannel] = selectorProton[iChannel].statusTpcOrTof(hfTrack);
527527
}
528528
}
529529
if constexpr (pidStrategy == ProtonPidStrategy::PidTpcAndTof) {
530-
for (auto iChannel{0u}; iChannel<ChannelsProtonPid::NChannelsProtonPid; ++iChannel) {
530+
for (auto iChannel{0u}; iChannel < ChannelsProtonPid::NChannelsProtonPid; ++iChannel) {
531531
statusPid[iChannel] = selectorProton[iChannel].statusTpcAndTof(hfTrack);
532532
}
533533
}
534534

535535
int8_t flag = BIT(ChannelsProtonPid::NChannelsProtonPid) - 1; // all bits on
536-
for (auto iChannel{0u}; iChannel<ChannelsProtonPid::NChannelsProtonPid; ++iChannel) {
536+
for (auto iChannel{0u}; iChannel < ChannelsProtonPid::NChannelsProtonPid; ++iChannel) {
537537
if (statusPid[iChannel] == TrackSelectorPID::Rejected) {
538538
CLRBIT(flag, iChannel);
539539
}
@@ -747,7 +747,7 @@ struct HfTrackIndexSkimCreatorTagSelTracks {
747747
/// \param pvCoord is an array containing the coordinates of the refitted PV
748748
/// \param pvCovMatrix is an array containing the covariance matrix values of the refitted PV
749749
/// \param dcaXYdcaZ is an array containing the dcaXY and dcaZ of trackToRemove with respect to the refitted PV
750-
template<typename TTrack>
750+
template <typename TTrack>
751751
void performPvRefitTrack(aod::Collision const& collision,
752752
aod::BCsWithTimestamps const& bcWithTimeStamps,
753753
std::vector<int64_t> vecPvContributorGlobId,
@@ -924,14 +924,14 @@ struct HfTrackIndexSkimCreatorTagSelTracks {
924924

925925
/// Partition for PV contributors
926926

927-
template<int pidStrategy, typename TTracks, typename GroupedTrackIndices, typename GroupedPvContributors>
927+
template <int pidStrategy, typename TTracks, typename GroupedTrackIndices, typename GroupedPvContributors>
928928
void runTagSelTracks(aod::Collision const& collision,
929-
TTracks const& tracks, // all tracks
929+
TTracks const& tracks, // all tracks
930930
GroupedTrackIndices const& trackIndicesCollision, // track indices associated to this collision (from track-to-collision-associator)
931-
GroupedPvContributors const& pvContrCollision, // PV contributors of this collision
932-
aod::BCsWithTimestamps const& bcWithTimeStamps, // for PV refit
933-
int64_t numTracksThisColl, // number of tracks in this collision (for PV refit)
934-
int64_t offsetTracksThisColl) // offset of tracks in this collision with respect to total table (for PV refit)
931+
GroupedPvContributors const& pvContrCollision, // PV contributors of this collision
932+
aod::BCsWithTimestamps const& bcWithTimeStamps, // for PV refit
933+
int64_t numTracksThisColl, // number of tracks in this collision (for PV refit)
934+
int64_t offsetTracksThisColl) // offset of tracks in this collision with respect to total table (for PV refit)
935935
{
936936
// prepare vectors to cache quantities needed for PV refit
937937
std::vector<std::array<float, 2>> pvRefitDcaPerTrack{};

0 commit comments

Comments
 (0)