Skip to content

Commit 8ff330c

Browse files
committed
remove one configurable
1 parent 2cc3bc9 commit 8ff330c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

PWGCF/Flow/Tasks/flowTask.cxx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ struct FlowTask {
172172
TF1* fPtDepDCAxy = nullptr;
173173
O2_DEFINE_CONFIGURABLE(cfgDCAxyNSigma, float, 0, "0: disable; Cut on number of sigma deviations from expected DCA in the transverse direction, nsigma=7 is the same with global track");
174174
O2_DEFINE_CONFIGURABLE(cfgDCAxy, std::string, "(0.0026+0.005/(x^1.01))", "Functional form of pt-dependent DCAxy cut");
175-
O2_DEFINE_CONFIGURABLE(cfgUseUnityEventWeightForPt, bool, true, "Use unity event weight for mean pT")
176175
} cfgFuncParas;
177176

178177
ConfigurableAxis axisPtHist{"axisPtHist", {100, 0., 10.}, "pt axis for histograms"};
@@ -1171,10 +1170,10 @@ struct FlowTask {
11711170
registry.fill(HIST("hMeanPt"), independent, ptSum / weffEvent, weffEvent);
11721171
}
11731172
if (weffEventWithinGap08)
1174-
registry.fill(HIST("hMeanPtWithinGap08"), independent, ptSum_Gap08 / weffEventWithinGap08, cfgFuncParas.cfgUseUnityEventWeightForPt ? 1.0 : weffEventWithinGap08);
1173+
registry.fill(HIST("hMeanPtWithinGap08"), independent, ptSum_Gap08 / weffEventWithinGap08, 1.0);
11751174
int sampleIndex = static_cast<int>(cfgNbootstrap * lRandom);
11761175
if (weffEventWithinGap08)
1177-
bootstrapArray[sampleIndex][kMeanPtWithinGap08]->Fill(independent, ptSum_Gap08 / weffEventWithinGap08, cfgFuncParas.cfgUseUnityEventWeightForPt ? 1.0 : weffEventWithinGap08);
1176+
bootstrapArray[sampleIndex][kMeanPtWithinGap08]->Fill(independent, ptSum_Gap08 / weffEventWithinGap08, 1.0);
11781177
// c22_gap8 * pt_withGap8
11791178
if (weffEventWithinGap08)
11801179
fillpTvnProfile(corrconfigs.at(7), ptSum_Gap08, weffEventWithinGap08, HIST("c22_gap08_Weff"), HIST("c22_gap08_trackMeanPt"), independent);

0 commit comments

Comments
 (0)