Skip to content

Commit d5f9b2e

Browse files
[PWGHF] Add silenceV0DataWarning: suppress V0Data warning logs to limit log size (#14467)
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent 09203cf commit d5f9b2e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

PWGHF/TableProducer/candidateCreatorCascade.cxx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,9 @@ struct HfCandidateCreatorCascade {
233233
covV[i] = v0row.positionCovMat()[i];
234234
}
235235
} else {
236-
LOGF(warning, "V0Data not there for V0 %d in HF cascade %d. Skipping candidate.", casc.v0Id(), casc.globalIndex());
236+
if (!silenceV0DataWarning) {
237+
LOGF(warning, "V0Data not there for V0 %d in HF cascade %d. Skipping candidate.", casc.v0Id(), casc.globalIndex());
238+
}
237239
continue; // this was inadequately linked, should not happen
238240
}
239241

0 commit comments

Comments
 (0)