Skip to content

Commit d9eaba8

Browse files
authored
Add files via upload
1 parent 4e91c4b commit d9eaba8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

PWGCF/Flow/Tasks/pidFlowPtCorr.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ struct PidFlowPtCorr {
125125
ConfigurableAxis cfgaxisLocalDensity{"cfgaxisLocalDensity", {200, 0, 600}, "local density"};
126126
Configurable<std::vector<double>> cfgTrackDensityP0{"cfgTrackDensityP0", std::vector<double>{0.7217476707, 0.7384792571, 0.7542625668, 0.7640680200, 0.7701951667, 0.7755299053, 0.7805901710, 0.7849446786, 0.7957356586, 0.8113039262, 0.8211968966, 0.8280558878, 0.8329342135}, "parameter 0 for track density efficiency correction"};
127127
Configurable<std::vector<double>> cfgTrackDensityP1{"cfgTrackDensityP1", std::vector<double>{-2.169488e-05, -2.191913e-05, -2.295484e-05, -2.556538e-05, -2.754463e-05, -2.816832e-05, -2.846502e-05, -2.843857e-05, -2.705974e-05, -2.477018e-05, -2.321730e-05, -2.203315e-05, -2.109474e-05}, "parameter 1 for track density efficiency correction"};
128-
128+
129129
AxisSpec axisMultiplicity{{0, 5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 90}, "Centrality (%)"};
130130

131131
Filter collisionFilter = nabs(aod::collision::posZ) < cfgCutVertex;
@@ -429,20 +429,20 @@ struct PidFlowPtCorr {
429429

430430
// input HIST("name")
431431
template <char... chars>
432-
bool fillProfile(const GFW::CorrConfig& corrconf, const ConstStr<chars...>& tarName, const double& cent)
432+
void fillProfile(const GFW::CorrConfig& corrconf, const ConstStr<chars...>& tarName, const double& cent)
433433
{
434434
double dnx, val;
435435
dnx = fGFW->Calculate(corrconf, 0, kTRUE).real();
436436
if (dnx == 0)
437-
return false;
437+
return;
438438
if (!corrconf.pTDif) {
439439
val = fGFW->Calculate(corrconf, 0, kFALSE).real() / dnx;
440440
if (std::fabs(val) < 1) {
441441
registry.fill(tarName, cent, val, dnx);
442-
return true;
442+
return;
443443
}
444444
}
445-
return false;
445+
return;
446446
}
447447

448448
template <char... chars>

0 commit comments

Comments
 (0)