Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions PWGCF/GenericFramework/Tasks/flowGfwLightIons.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -820,25 +820,32 @@ struct FlowGfwLightIons {
fFCptgenFull->fillPtProfiles(centmult, rndm);
fFCptgenFull->fillCMProfiles(centmult, rndm);
fFCptgenFull->fillSubeventPtProfiles(centmult, rndm);
fFCptgenFull->fillCMSubeventProfiles(centmult, rndm);
} else {
fFCpt->fillPtProfiles(centmult, rndm);
fFCpt->fillCMProfiles(centmult, rndm);
fFCptFull->fillPtProfiles(centmult, rndm);
fFCptFull->fillSubeventPtProfiles(centmult, rndm);
fFCptFull->fillCMProfiles(centmult, rndm);
fFCptFull->fillCMSubeventProfiles(centmult, rndm);
}
for (uint l_ind = 0; l_ind < corrconfigs.size(); ++l_ind) {
if (!corrconfigs.at(l_ind).pTDif) {
uint8_t vnptmask = o2::analysis::gfw::configs.GetpTCorrMasks()[l_ind];
auto dnx = fGFW->Calculate(corrconfigs.at(l_ind), 0, kTRUE).real();
if (dnx == 0)
if (dnx == 0) {
(dt == kGen) ? fFCptgen->skipVnPtProfiles(vnptmask) : fFCpt->skipVnPtProfiles(vnptmask);
continue;
}
auto val = fGFW->Calculate(corrconfigs.at(l_ind), 0, kFALSE).real() / dnx;
if (std::abs(val) < 1) {
(dt == kGen) ? fFCgen->FillProfile(corrconfigs.at(l_ind).Head.c_str(), centmult, val, (cfgUseMultiplicityFlowWeights) ? dnx : 1.0, rndm) : fFC->FillProfile(corrconfigs.at(l_ind).Head.c_str(), centmult, val, (cfgUseMultiplicityFlowWeights) ? dnx : 1.0, rndm);
(dt == kGen) ? fFCptgen->fillVnPtProfiles(centmult, val, (cfgUseMultiplicityFlowWeights) ? dnx : 1.0, rndm, o2::analysis::gfw::configs.GetpTCorrMasks()[l_ind]) : fFCpt->fillVnPtProfiles(centmult, val, (cfgUseMultiplicityFlowWeights) ? dnx : 1.0, rndm, o2::analysis::gfw::configs.GetpTCorrMasks()[l_ind]);
(dt == kGen) ? fFCptgen->fillVnPtProfiles(centmult, val, (cfgUseMultiplicityFlowWeights) ? dnx : 1.0, rndm, vnptmask) : fFCpt->fillVnPtProfiles(centmult, val, (cfgUseMultiplicityFlowWeights) ? dnx : 1.0, rndm, vnptmask);
if (cfgRunByRun && cfgFillFlowRunByRun && dt != kGen && l_ind == 0) {
tpfsList[run][pfCorr22]->Fill(centmult, val, (cfgUseMultiplicityFlowWeights) ? dnx : 1.0);
}
} else {
(dt == kGen) ? fFCptgen->skipVnPtProfiles(vnptmask) : fFCpt->skipVnPtProfiles(vnptmask);
}
continue;
}
Expand Down
Loading