Skip to content

Commit 1f08fda

Browse files
authored
Fix event weight configuration reference
1 parent eced433 commit 1f08fda

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGCF/Flow/Tasks/flowTask.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ struct FlowTask {
661661
gfwConfigs.Print();
662662
fFCpt->setUseCentralMoments(cfgUseCentralMoments);
663663
fFCpt->setUseGapMethod(true);
664-
if (!cfgUserPtVnEvWeightEnabled)
664+
if (!cfgUserIO.cfgUserPtVnEvWeightEnabled)
665665
fFCpt->setEventWeight(EventWeight::UnityWeight);
666666
else
667667
fFCpt->setEventWeight(EventWeight::TupleWeight);
@@ -683,7 +683,7 @@ struct FlowTask {
683683
if (doprocessMCGen) {
684684
fFCptgen->setUseCentralMoments(cfgUseCentralMoments);
685685
fFCptgen->setUseGapMethod(true);
686-
if (!cfgUserPtVnEvWeightEnabled)
686+
if (!cfgUserIO.cfgUserPtVnEvWeightEnabled)
687687
fFCptgen->setEventWeight(EventWeight::UnityWeight);
688688
else
689689
fFCptgen->setEventWeight(EventWeight::TupleWeight);

0 commit comments

Comments
 (0)