diff --git a/PWGCF/GenericFramework/Tasks/flowGenericFramework.cxx b/PWGCF/GenericFramework/Tasks/flowGenericFramework.cxx index 48791d7bc8e..c4c21f4bbd0 100644 --- a/PWGCF/GenericFramework/Tasks/flowGenericFramework.cxx +++ b/PWGCF/GenericFramework/Tasks/flowGenericFramework.cxx @@ -647,7 +647,8 @@ struct GenericFramework { std::vector weights; std::vector species = {"ref", "ch", "pi", "ka", "pr"}; for (size_t i = 0; i < species.size(); ++i) { - if(dynamic_cast(fWeightList->FindObject(Form("w%i_%s", lastRun, species[i].c_str())))) continue; + if (dynamic_cast(fWeightList->FindObject(Form("w%i_%s", lastRun, species[i].c_str())))) + continue; weights.push_back(new GFWWeights(Form("w%i_%s", lastRun, species[i].c_str()))); if (i == 0) { auto it = std::find(ptbinning.begin(), ptbinning.end(), ptrefup); @@ -660,7 +661,8 @@ struct GenericFramework { fWeightList->Add(weights[i]); } } else { - if(dynamic_cast(fWeightList->FindObject(Form("w%i_ch", lastRun)))) return; + if (dynamic_cast(fWeightList->FindObject(Form("w%i_ch", lastRun)))) + return; GFWWeights* weight = new GFWWeights(Form("w%i_ch", lastRun)); weight->SetPtBins(fPtAxis->GetNbins(), &ptbinning[0]); weight->Init(true, false);