Skip to content

Commit 559f7f9

Browse files
authored
fill MC matched histogram if fConfigQA is enabled
fill MC matched histogram if fConfigQA is enabled in track selection
1 parent 49f14f6 commit 559f7f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGDQ/Tasks/dqEfficiency_withAssoc.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ struct AnalysisTrackSelection {
694694

695695
// compute MC matching decisions and fill histograms for matched associations
696696
int isig = 0;
697-
if (filterMap > 0 && track.has_reducedMCTrack()) {
697+
if (filterMap > 0 && track.has_reducedMCTrack() && fConfigQA) {
698698
// loop over all MC signals
699699
for (auto sig = fMCSignals.begin(); sig != fMCSignals.end(); sig++, isig++) {
700700
// check if this MC signal is matched

0 commit comments

Comments
 (0)