Skip to content

Commit f60176a

Browse files
authored
[PWGCF] FU: MC Truth producer - fixing logic (#17108)
1 parent 5713f5b commit f60176a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerMCTruthTask.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ struct FemtoUniverseProducerMCTruthTask {
129129

130130
void init(InitContext&)
131131
{
132-
if (!doprocessTrackMC || !doprocessTrackMcOnlyRecoColl) {
132+
if (!doprocessTrackMC && !doprocessTrackMcOnlyRecoColl) {
133133
LOGF(fatal, "Neither processTrackMC nor processTrackMcOnlyRecoColl enabled. Please choose one.");
134134
}
135135
rctChecker.init("CBT_hadronPID", false, true);

0 commit comments

Comments
 (0)