Skip to content

Commit e27ec9e

Browse files
Add silenceV0DataWarning: suppress V0Data warning logs to limit log size
1 parent fe06647 commit e27ec9e

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)