Skip to content

Commit 2deee1e

Browse files
authored
Merge pull request #111 from alibuild/alibot-cleanup-18107
[PWGCF] Please consider the following formatting changes to #18107
2 parents 7817af4 + 6bb3e73 commit 2deee1e

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

‎PWGCF/Flow/Tasks/flowSP.cxx‎

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
#include <TProfile2D.h>
5454
#include <TProfile3D.h>
5555

56+
#include <array>
5657
#include <chrono>
5758
#include <cmath>
5859
#include <cstdint>
@@ -64,7 +65,6 @@
6465
#include <unordered_map>
6566
#include <utility>
6667
#include <vector>
67-
#include <array>
6868

6969
using namespace o2;
7070
using namespace o2::framework;
@@ -352,9 +352,9 @@ struct FlowSP {
352352
nParticleTypes
353353
};
354354

355-
static constexpr std::array<std::string_view,3> Charge = {"incl/", "pos/", "neg/"};
356-
static constexpr std::array<std::string_view,4> Species = {"", "pion/", "kaon/", "proton/"};
357-
static constexpr std::array<std::string_view,2> Time = {"before/", "after/"};
355+
static constexpr std::array<std::string_view, 3> Charge = {"incl/", "pos/", "neg/"};
356+
static constexpr std::array<std::string_view, 4> Species = {"", "pion/", "kaon/", "proton/"};
357+
static constexpr std::array<std::string_view, 2> Time = {"before/", "after/"};
358358

359359
void init(InitContext const&)
360360
{
@@ -502,7 +502,7 @@ struct FlowSP {
502502
histos.add<TH3>("incl/QA/after/hPhi_Eta_Pt_corrected", "", kTH3D, {axisPhi, axisEta, axisPt});
503503
}
504504

505-
if (cfg.cFillQABefore){
505+
if (cfg.cFillQABefore) {
506506
histos.addClone("incl/QA/after/", "incl/QA/before/");
507507
}
508508
}
@@ -830,13 +830,11 @@ struct FlowSP {
830830
}
831831
}
832832

833-
834833
if (nIdentified == 1) {
835834
return valPID;
836-
}
837-
838-
return kUnidentified; // Multiple PID matches found
839-
835+
}
836+
837+
return kUnidentified; // Multiple PID matches found
840838
}
841839

842840
int getMagneticField(uint64_t timestamp)

0 commit comments

Comments
 (0)