Skip to content

Commit 5594949

Browse files
author
Veronika Barbasova
committed
whitespace
Signed-off-by: Veronika Barbasova <vernika.barbasova@cern.ch>
1 parent 94597f9 commit 5594949

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

PWGLF/Tasks/Resonances/phianalysisTHnSparse.cxx

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -281,20 +281,20 @@ struct PhianalysisTHnSparse {
281281
registry.add("QAPhi/hRapidity", "Rapidity distribution of #phi candidates", kTH1F, {rapidityaxis});
282282
registry.add("QAPhi/hEta", "Pseudorapidity distribution of #phi candidates", kTH1F, {etaaxis});
283283

284-
registry.add("QAPhi/hdPhi", "Azimuthal distribution of #phi candidates", kTH1F, {{100, -o2::constants::math::TwoPI, o2::constants::math::TwoPI}});
284+
registry.add("QAPhi/hdPhi", "Azimuthal distribution of #phi candidates", kTH1F, {{100, -o2::constants::math::TwoPI, o2::constants::math::TwoPI}});
285285
auto hdPhi = registry.get<TH1>(HIST("QAPhi/hdPhi"));
286286
hdPhi->GetXaxis()->SetTitle("#phi (rad)");
287287

288-
registry.add("QAPhi/h2dPhiPt", "Azimuthal distribution of #Delta#phi candidates vs p_{T}", kTH2F, {ptaxis, {100, -o2::constants::math::TwoPI, o2::constants::math::TwoPI}});
288+
registry.add("QAPhi/h2dPhiPt", "Azimuthal distribution of #Delta#phi candidates vs p_{T}", kTH2F, {ptaxis, {100, -o2::constants::math::TwoPI, o2::constants::math::TwoPI}});
289289
auto h2dPhiPt = registry.get<TH2>(HIST("QAPhi/h2dPhiPt"));
290290
h2dPhiPt->GetXaxis()->SetTitle("p_{T} (GeV/c)");
291291
h2dPhiPt->GetYaxis()->SetTitle("#Delta#phi (rad)");
292292

293-
registry.add("QAPhi/hTheta", "Polar distribution of #phi candidates", kTH1F, {{100, 0.0f, o2::constants::math::PI}});
293+
registry.add("QAPhi/hTheta", "Polar distribution of #phi candidates", kTH1F, {{100, 0.0f, o2::constants::math::PI}});
294294
auto hTheta = registry.get<TH1>(HIST("QAPhi/hTheta"));
295295
hTheta->GetXaxis()->SetTitle("#theta (rad)");
296296

297-
registry.add("QAPhi/h2dThetaPt", "Polar distribution of #phi candidates vs p_{T}", kTH2F, {{12, 0, 12}, {100, -o2::constants::math::PI, o2::constants::math::PI}});
297+
registry.add("QAPhi/h2dThetaPt", "Polar distribution of #phi candidates vs p_{T}", kTH2F, {{12, 0, 12}, {100, -o2::constants::math::PI, o2::constants::math::PI}});
298298
auto h2dThetaPt = registry.get<TH2>(HIST("QAPhi/h2dThetaPt"));
299299
h2dThetaPt->GetXaxis()->SetTitle("p_{T} (GeV/c)");
300300
h2dThetaPt->GetYaxis()->SetTitle("#theta (rad)");
@@ -333,7 +333,6 @@ struct PhianalysisTHnSparse {
333333
hMCEventTruth->SetMinimum(0.1);
334334

335335
registry.add("QAMC/Truth/hInvMassTrueFalse", "", kTH1F, {invAxis}); // not written events in True distribution due to repetition of mothers??
336-
337336
}
338337
// Mixing QA
339338
if (mixingType != rsn::MixingType::none) {
@@ -369,22 +368,22 @@ struct PhianalysisTHnSparse {
369368
registry.add("QARotational/hEta", "Pseudorapidity distribution of #phi candidates from rotational background", kTH1F, {etaaxis});
370369

371370
// Angular distributions for rotational background
372-
registry.add("QARotational/hdPhi", "Rotational background #Delta#phi distribution", kTH1F, {{100, -o2::constants::math::TwoPI, o2::constants::math::TwoPI}});
371+
registry.add("QARotational/hdPhi", "Rotational background #Delta#phi distribution", kTH1F, {{100, -o2::constants::math::TwoPI, o2::constants::math::TwoPI}});
373372
auto hRPhi = registry.get<TH1>(HIST("QARotational/hdPhi"));
374373
hRPhi->GetXaxis()->SetTitle("#Delta#phi");
375374
hRPhi->GetYaxis()->SetTitle("Counts");
376375

377-
registry.add("QARotational/h2dPhiPt", "Rotational background #Delta#phi vs p_{T}", kTH2F, {ptaxis, {100, -o2::constants::math::TwoPI, o2::constants::math::TwoPI}});
376+
registry.add("QARotational/h2dPhiPt", "Rotational background #Delta#phi vs p_{T}", kTH2F, {ptaxis, {100, -o2::constants::math::TwoPI, o2::constants::math::TwoPI}});
378377
auto hR2dPhiPt = registry.get<TH2>(HIST("QARotational/h2dPhiPt"));
379378
hR2dPhiPt->GetXaxis()->SetTitle("p_{T} (GeV/c)");
380379
hR2dPhiPt->GetYaxis()->SetTitle("#Delta#phi");
381380

382-
registry.add("QARotational/hTheta", "Rotational background #Delta#theta distribution", kTH1F, {{100, 0.0f, o2::constants::math::PI}});
381+
registry.add("QARotational/hTheta", "Rotational background #Delta#theta distribution", kTH1F, {{100, 0.0f, o2::constants::math::PI}});
383382
auto hRdTheta = registry.get<TH1>(HIST("QARotational/hTheta"));
384383
hRdTheta->GetXaxis()->SetTitle("#Delta#theta");
385384
hRdTheta->GetYaxis()->SetTitle("Counts");
386385

387-
registry.add("QARotational/h2dThetaPt", "Rotational background #Delta#theta vs p_{T}", kTH2F, {{12, 0, 12}, {100, -o2::constants::math::PI, o2::constants::math::PI}});
386+
registry.add("QARotational/h2dThetaPt", "Rotational background #Delta#theta vs p_{T}", kTH2F, {{12, 0, 12}, {100, -o2::constants::math::PI, o2::constants::math::PI}});
388387
auto hR2dThetaPt = registry.get<TH2>(HIST("QARotational/h2dThetaPt"));
389388
hR2dThetaPt->GetXaxis()->SetTitle("p_{T} (GeV/c)");
390389
hR2dThetaPt->GetYaxis()->SetTitle("#Delta#theta");
@@ -521,7 +520,7 @@ struct PhianalysisTHnSparse {
521520
if (produceQA)
522521
registry.fill(HIST("QAEvent/hSelection"), 0.5);
523522

524-
if (inelGrater0 && !collision.isInelGt0())
523+
if (inelGrater0 && !collision.isInelGt0())
525524
return;
526525

527526
registry.fill(HIST("Factors/hEventCentrality"), collision.centFT0M());
@@ -728,9 +727,9 @@ struct PhianalysisTHnSparse {
728727
return;
729728
}
730729
auto mcCollision = collision.mcCollision();
731-
if (std::abs(mcCollision.posZ()) > vzCut)
730+
if (std::abs(mcCollision.posZ()) > vzCut)
732731
return;
733-
if (inelGrater0 && !collision.isInelGt0())
732+
if (inelGrater0 && !collision.isInelGt0())
734733
return;
735734

736735
for (const auto& [track1, track2] : combinations(o2::soa::CombinationsFullIndexPolicy(posDaughtersMC, negDaughtersMC))) {
@@ -816,7 +815,7 @@ struct PhianalysisTHnSparse {
816815
if (std::abs(mcCollision.posZ()) > vzCut)
817816
return;
818817

819-
if (inelGrater0 && !mcCollision.isInelGt0())
818+
if (inelGrater0 && !mcCollision.isInelGt0())
820819
return;
821820

822821
if (collisions.size() == 0)
@@ -1039,7 +1038,7 @@ struct PhianalysisTHnSparse {
10391038

10401039
registry.fill(HIST("Factors/hGenEvents"), mcCollision.multMCNParticlesEta08(), 1.5);
10411040

1042-
if (inelGrater0 && !mcCollision.isInelGt0())
1041+
if (inelGrater0 && !mcCollision.isInelGt0())
10431042
return;
10441043

10451044
registry.fill(HIST("Factors/hGenEvents"), mcCollision.multMCNParticlesEta08(), 2.5);

0 commit comments

Comments
 (0)