Skip to content

Commit 5485dd5

Browse files
committed
fix clang format
1 parent af5b951 commit 5485dd5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ struct lambdaspincorrderived {
8383
histos.add("hCentrality", "Centrality distribution", kTH1F, {{configThnAxisCentrality}});
8484
histos.add("deltaPhiSame", "deltaPhiSame", HistType::kTH1D, {{72, 0.0, 2.0 * TMath::Pi()}}, true);
8585
histos.add("deltaPhiMix", "deltaPhiMix", HistType::kTH1D, {{72, 0.0, 2.0 * TMath::Pi()}}, true);
86-
histos.add("ptCent", "ptCent", HistType::kTH2D, {{100,0.0,10.0}, {8,0.0,80.0}}, true);
87-
histos.add("etaCent", "etaCent", HistType::kTH2D, {{32,-0.8,0.8}, {8,0.0,80.0}}, true);
88-
86+
histos.add("ptCent", "ptCent", HistType::kTH2D, {{100, 0.0, 10.0}, {8, 0.0, 80.0}}, true);
87+
histos.add("etaCent", "etaCent", HistType::kTH2D, {{32, -0.8, 0.8}, {8, 0.0, 80.0}}, true);
88+
8989
histos.add("hLambdaSameForLL", "hLambdaSameForLL", HistType::kTH3D, {{50, 0.0, 5.0}, {32, -0.8, 0.8}, {72, 0.0, 2.0 * TMath::Pi()}}, true);
9090
histos.add("hLambdaSameForLAL", "hLambdaSameForLAL", HistType::kTH3D, {{50, 0.0, 5.0}, {32, -0.8, 0.8}, {72, 0.0, 2.0 * TMath::Pi()}}, true);
9191
histos.add("hAntiLambdaSameForALAL", "hAntiLambdaSameForALAL", HistType::kTH3D, {{50, 0.0, 5.0}, {32, -0.8, 0.8}, {72, 0.0, 2.0 * TMath::Pi()}}, true);
@@ -239,8 +239,8 @@ struct lambdaspincorrderived {
239239
if (!selectionV0(v0)) {
240240
continue;
241241
}
242-
histos.fill(HIST("ptCent"),v0.lambdaPt(),centrality);
243-
histos.fill(HIST("etaCent"),v0.lambdaEta(),centrality);
242+
histos.fill(HIST("ptCent"), v0.lambdaPt(), centrality);
243+
histos.fill(HIST("etaCent"), v0.lambdaEta(), centrality);
244244
proton = ROOT::Math::PtEtaPhiMVector(v0.protonPt(), v0.protonEta(), v0.protonPhi(), o2::constants::physics::MassProton);
245245
lambda = ROOT::Math::PtEtaPhiMVector(v0.lambdaPt(), v0.lambdaEta(), v0.lambdaPhi(), v0.lambdaMass());
246246
for (const auto& v02 : V0s) {
@@ -258,7 +258,7 @@ struct lambdaspincorrderived {
258258
}
259259
proton2 = ROOT::Math::PtEtaPhiMVector(v02.protonPt(), v02.protonEta(), v02.protonPhi(), o2::constants::physics::MassProton);
260260
lambda2 = ROOT::Math::PtEtaPhiMVector(v02.lambdaPt(), v02.lambdaEta(), v02.lambdaPhi(), v02.lambdaMass());
261-
histos.fill(HIST("deltaPhiSame"), std::abs(RecoDecay::constrainAngle(v0.lambdaPhi(), 0.0F) - RecoDecay::constrainAngle(v02.lambdaPhi(), 0.0F)));
261+
histos.fill(HIST("deltaPhiSame"), std::abs(RecoDecay::constrainAngle(v0.lambdaPhi(), 0.0F) - RecoDecay::constrainAngle(v02.lambdaPhi(), 0.0F)));
262262
if (v0.v0Status() == 0 && v02.v0Status() == 0) {
263263
fillHistograms(0, 0, lambda, lambda2, proton, proton2, centrality, 0);
264264
}
@@ -330,7 +330,7 @@ struct lambdaspincorrderived {
330330
lambda = ROOT::Math::PtEtaPhiMVector(t3.lambdaPt(), t3.lambdaEta(), t3.lambdaPhi(), t3.lambdaMass());
331331
proton2 = ROOT::Math::PtEtaPhiMVector(t2.protonPt(), t2.protonEta(), t2.protonPhi(), o2::constants::physics::MassProton);
332332
lambda2 = ROOT::Math::PtEtaPhiMVector(t2.lambdaPt(), t2.lambdaEta(), t2.lambdaPhi(), t2.lambdaMass());
333-
histos.fill(HIST("deltaPhiMix"), std::abs(RecoDecay::constrainAngle(t3.lambdaPhi(), 0.0F) - RecoDecay::constrainAngle(t2.lambdaPhi(), 0.0F)));
333+
histos.fill(HIST("deltaPhiMix"), std::abs(RecoDecay::constrainAngle(t3.lambdaPhi(), 0.0F) - RecoDecay::constrainAngle(t2.lambdaPhi(), 0.0F)));
334334
if (t3.v0Status() == 0 && t2.v0Status() == 0) {
335335
fillHistograms(0, 0, lambda, lambda2, proton, proton2, centrality, 1);
336336
}

0 commit comments

Comments
 (0)