Skip to content

Commit 3f7deb5

Browse files
committed
Please consider the following formatting changes
1 parent 84cc3ed commit 3f7deb5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

PWGCF/GenericFramework/Tasks/flowGenericFramework.cxx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,8 @@ struct GenericFramework {
647647
std::vector<GFWWeights*> weights;
648648
std::vector<std::string> species = {"ref", "ch", "pi", "ka", "pr"};
649649
for (size_t i = 0; i < species.size(); ++i) {
650-
if(dynamic_cast<GFWWeights*>(fWeightList->FindObject(Form("w%i_%s", lastRun, species[i].c_str())))) continue;
650+
if (dynamic_cast<GFWWeights*>(fWeightList->FindObject(Form("w%i_%s", lastRun, species[i].c_str()))))
651+
continue;
651652
weights.push_back(new GFWWeights(Form("w%i_%s", lastRun, species[i].c_str())));
652653
if (i == 0) {
653654
auto it = std::find(ptbinning.begin(), ptbinning.end(), ptrefup);
@@ -660,7 +661,8 @@ struct GenericFramework {
660661
fWeightList->Add(weights[i]);
661662
}
662663
} else {
663-
if(dynamic_cast<GFWWeights*>(fWeightList->FindObject(Form("w%i_ch", lastRun)))) return;
664+
if (dynamic_cast<GFWWeights*>(fWeightList->FindObject(Form("w%i_ch", lastRun))))
665+
return;
664666
GFWWeights* weight = new GFWWeights(Form("w%i_ch", lastRun));
665667
weight->SetPtBins(fPtAxis->GetNbins(), &ptbinning[0]);
666668
weight->Init(true, false);

0 commit comments

Comments
 (0)