Skip to content

Commit aefaef5

Browse files
authored
Merge pull request #27 from alibuild/alibot-cleanup-10650
[PWGCF] Please consider the following formatting changes to #10650
2 parents fe4a56d + 6e7db7b commit aefaef5

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

PWGCF/TwoParticleCorrelations/TableProducer/identifiedBfFilter.cxx

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ TH2F* fhCompatibleCollisionsZVtxRms = nullptr;
157157
TH2S* fhTruePIDMismatch = nullptr;
158158
TH1S* fhTruePIDCorrect = nullptr;
159159

160-
std::vector<std::vector<TH2F*>> fhTrueNSigmaTPC = {o2::analysis::identifiedbffilter::kIdBfNoOfSpecies,{o2::analysis::identifiedbffilter::kIdBfNoOfSpecies,nullptr}};
161-
std::vector<std::vector<TH2F*>> fhTrueNSigmaTOF = {o2::analysis::identifiedbffilter::kIdBfNoOfSpecies,{o2::analysis::identifiedbffilter::kIdBfNoOfSpecies,nullptr}};
160+
std::vector<std::vector<TH2F*>> fhTrueNSigmaTPC = {o2::analysis::identifiedbffilter::kIdBfNoOfSpecies, {o2::analysis::identifiedbffilter::kIdBfNoOfSpecies, nullptr}};
161+
std::vector<std::vector<TH2F*>> fhTrueNSigmaTOF = {o2::analysis::identifiedbffilter::kIdBfNoOfSpecies, {o2::analysis::identifiedbffilter::kIdBfNoOfSpecies, nullptr}};
162162

163163
TH1F* fhTrueCentMultB = nullptr;
164164
TH1F* fhTrueCentMultA = nullptr;
@@ -1029,14 +1029,14 @@ struct IdentifiedBfFilterTracks {
10291029
for (int sp1 = 0; sp1 < kIdBfNoOfSpecies; ++sp1) {
10301030
for (int sp2 = 0; sp2 < kIdBfNoOfSpecies; ++sp2) {
10311031
fhTrueNSigmaTPC[sp1][sp2] = new TH2F(TString::Format("fhTrueNSigmaTPC%s_%s", speciesName[sp1], speciesName[sp2]).Data(),
1032-
TString::Format("N #sigma %s from TPC vs P for generated %s;N #sigma;p (GeV/c)", speciesTitle[sp1], speciesTitle[sp2]).Data(),
1033-
48, -6, 6,
1034-
ptbins, ptlow, ptup);
1032+
TString::Format("N #sigma %s from TPC vs P for generated %s;N #sigma;p (GeV/c)", speciesTitle[sp1], speciesTitle[sp2]).Data(),
1033+
48, -6, 6,
1034+
ptbins, ptlow, ptup);
10351035

10361036
fhTrueNSigmaTOF[sp1][sp2] = new TH2F(TString::Format("fhTrueNSigmaTOF%s_%s", speciesName[sp1], speciesName[sp2]).Data(),
1037-
TString::Format("N #sigma %s from TOF vs P for generated %s;N #sigma;p (GeV/c)", speciesTitle[sp1], speciesTitle[sp2]).Data(),
1038-
48, -6, 6,
1039-
ptbins, ptlow, ptup);
1037+
TString::Format("N #sigma %s from TOF vs P for generated %s;N #sigma;p (GeV/c)", speciesTitle[sp1], speciesTitle[sp2]).Data(),
1038+
48, -6, 6,
1039+
ptbins, ptlow, ptup);
10401040
}
10411041
}
10421042

@@ -1469,14 +1469,14 @@ inline MatchRecoGenSpecies IdentifiedBfFilterTracks::identifyTrack(TrackObject c
14691469

14701470
fillNSigmaHistos(track);
14711471

1472-
std::vector<float> actualTPCNSigma(kIdBfNoOfSpecies,0.);
1472+
std::vector<float> actualTPCNSigma(kIdBfNoOfSpecies, 0.);
14731473

14741474
actualTPCNSigma[kIdBfElectron] = track.tpcNSigmaEl();
14751475
actualTPCNSigma[kIdBfPion] = track.tpcNSigmaPi();
14761476
actualTPCNSigma[kIdBfKaon] = track.tpcNSigmaKa();
14771477
actualTPCNSigma[kIdBfProton] = track.tpcNSigmaPr();
14781478

1479-
std::vector<float> actualTOFNSigma(kIdBfNoOfSpecies,0.);
1479+
std::vector<float> actualTOFNSigma(kIdBfNoOfSpecies, 0.);
14801480

14811481
actualTOFNSigma[kIdBfElectron] = track.tofNSigmaEl();
14821482
actualTOFNSigma[kIdBfPion] = track.tofNSigmaPi();
@@ -1486,7 +1486,7 @@ inline MatchRecoGenSpecies IdentifiedBfFilterTracks::identifyTrack(TrackObject c
14861486
float nsigmas[kIdBfNoOfSpecies];
14871487

14881488
if constexpr (framework::has_type_v<aod::mctracklabel::McParticleId, typename TrackObject::all_columns>) {
1489-
identifyRealNSigma(track.template mcParticle_as<aod::McParticles>(),actualTPCNSigma, actualTOFNSigma, track.tpcInnerParam());
1489+
identifyRealNSigma(track.template mcParticle_as<aod::McParticles>(), actualTPCNSigma, actualTOFNSigma, track.tpcInnerParam());
14901490
}
14911491

14921492
if (loadfromccdb) {
@@ -1880,4 +1880,5 @@ WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
18801880
{"processWithoutCentGeneratorLevel", true}}}),
18811881
adaptAnalysisTask<IdentifiedBfFilterTracks>(cfgc)};
18821882
return workflow;
1883-
}
1883+
}
1884+

0 commit comments

Comments
 (0)