Skip to content

Commit 8805ade

Browse files
author
Iulian
committed
Silence unused inputs and debug logs in FoxWolframCorrelation
1 parent 58606d9 commit 8805ade

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

‎PWGCF/TwoParticleCorrelations/Tasks/FoxWolframCorrelation.cxx‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,24 +1090,24 @@ struct FoxWolframCorrelation {
10901090
int countDF = 0;
10911091

10921092
// Write buffered events to the tables consumed by the mixing task.
1093-
void processFILL(aod::Collisions const& collisions, aod::Tracks const& tracks)
1093+
void processFILL(aod::Collisions const& /*collisions*/, aod::Tracks const& /*tracks*/)
10941094
{
10951095
// Track data frames and report buffered event counts.
10961096
countDF++;
10971097

1098-
LOGF(info, "Input data - ALL Collisions %d, Tracks %d -> DF no %d", collisions.size(), tracks.size(), countDF);
1098+
// LOGF(info, "Input data - ALL Collisions %d, Tracks %d -> DF no %d", collisions.size(), tracks.size(), countDF);
10991099

11001100
for (int range = 0; range < 3; ++range) {
11011101

11021102
auto& events = triTuples[range];
1103-
LOGF(info, "Selected events buffered in RANGE%d: %zu/%d", range + 1, events.size(), static_cast<int>(nSelEv));
1103+
// LOGF(info, "Selected events buffered in RANGE%d: %zu/%d", range + 1, events.size(), static_cast<int>(nSelEv));
11041104

11051105
// Wait until a range reaches its event quota.
11061106
if (events.size() < static_cast<size_t>(nSelEv)) {
11071107
continue;
11081108
}
11091109

1110-
LOGF(info, "-> FILL TABLES FOR RANGE%d <-", range + 1);
1110+
// LOGF(info, "-> FILL TABLES FOR RANGE%d <-", range + 1);
11111111

11121112
// Write each buffered collision and its tracks to the output tables.
11131113
for (const auto& col : events) {
@@ -1231,11 +1231,12 @@ struct FoxWolframCorrelationMixing {
12311231
// Find leading tracks in the first mixed event.
12321232
auto [triggTrk, triggTrkPart, foundPart] = findLeadingPart(tracks1);
12331233

1234-
LOGF(debug, "Mix TRI Ev (BIN%d): (%d, %d), z=(%.3f, %.3f), mult=(%d, %d)",
1235-
binIndex, c1.globalIndex(), c2.globalIndex(), c1.posZ(), c2.posZ(), tracks1.size(), tracks2.size());
1234+
// LOGF(debug, "Mix TRI Ev (BIN%d): (%d, %d), z=(%.3f, %.3f), mult=(%d, %d)",
1235+
// binIndex, c1.globalIndex(), c2.globalIndex(), c1.posZ(), c2.posZ(), tracks1.size(), tracks2.size());
12361236

12371237
// Select tracks from different events using the configured pair rules.
12381238
for (const auto& [track1, track2] : o2::soa::combinations(o2::soa::CombinationsFullIndexPolicy(tracks1, tracks2))) {
1239+
12391240
if (!passesLeadAssoc(leadAssocMode.value, foundPart, track1, track2, triggTrk, triggTrkPart)) {
12401241
continue;
12411242
}

0 commit comments

Comments
 (0)