From 1f5bd2e7dfeda2b155651fb90695770e033568ea Mon Sep 17 00:00:00 2001 From: Emil Gorm Nielsen Date: Thu, 27 Nov 2025 12:58:38 +0100 Subject: [PATCH 1/2] add increment to outputcontainer on invalid values --- PWGCF/GenericFramework/Tasks/flowGfwLightIons.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/PWGCF/GenericFramework/Tasks/flowGfwLightIons.cxx b/PWGCF/GenericFramework/Tasks/flowGfwLightIons.cxx index 39b729c4770..51f0e19ede8 100644 --- a/PWGCF/GenericFramework/Tasks/flowGfwLightIons.cxx +++ b/PWGCF/GenericFramework/Tasks/flowGfwLightIons.cxx @@ -829,16 +829,21 @@ struct FlowGfwLightIons { } 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; } From 55dcf07168c285cc152747e108370a602b560571 Mon Sep 17 00:00:00 2001 From: Emil Gorm Nielsen Date: Thu, 27 Nov 2025 13:29:42 +0100 Subject: [PATCH 2/2] add fill for subevent central moments --- PWGCF/GenericFramework/Tasks/flowGfwLightIons.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PWGCF/GenericFramework/Tasks/flowGfwLightIons.cxx b/PWGCF/GenericFramework/Tasks/flowGfwLightIons.cxx index 51f0e19ede8..4c8ffcfaa55 100644 --- a/PWGCF/GenericFramework/Tasks/flowGfwLightIons.cxx +++ b/PWGCF/GenericFramework/Tasks/flowGfwLightIons.cxx @@ -820,12 +820,14 @@ 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) {