Skip to content

Commit

Permalink
PWGHF: Add check for MC process functions in B0 reduced task (AliceO2…
Browse files Browse the repository at this point in the history
  • Loading branch information
fchinu authored Oct 16, 2024
1 parent 3a201cf commit c90f6d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PWGHF/D2H/Tasks/taskB0Reduced.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ struct HfTaskB0Reduced {
if ((std::accumulate(processFuncData.begin(), processFuncData.end(), 0)) > 1) {
LOGP(fatal, "Only one process function for data can be enabled at a time.");
}
std::array<bool, 5> processFuncMc{doprocessMc, doprocessMcWithDecayTypeCheck, doprocessMcWithDmesMl, doprocessMcWithB0Ml, doprocessMcWithB0MlAndDecayTypeCheck};
std::array<bool, 6> processFuncMc{doprocessMc, doprocessMcWithDecayTypeCheck, doprocessMcWithDmesMl, doprocessMcWithDmesMlAndDecayTypeCheck, doprocessMcWithB0Ml, doprocessMcWithB0MlAndDecayTypeCheck};
if ((std::accumulate(processFuncMc.begin(), processFuncMc.end(), 0)) > 1) {
LOGP(fatal, "Only one process function for MC can be enabled at a time.");
}
Expand Down

0 comments on commit c90f6d2

Please sign in to comment.