Skip to content

Commit e3cb416

Browse files
author
Prottay Das
committed
added braces
1 parent 4a87427 commit e3cb416

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

PWGLF/Tasks/Resonances/kstarpbpb.cxx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -651,8 +651,9 @@ struct kstarpbpb {
651651
auto angleend = confMaxRot;
652652
auto anglestep = (angleend - anglestart) / (1.0 * (nBkgRotations - 1));
653653
auto rotangle = anglestart + nrotbkg * anglestep;
654-
if (!fillSA)
654+
if (!fillSA) {
655655
histos.fill(HIST("hRotation"), rotangle);
656+
}
656657
auto rotkaonPx = track1.px() * std::cos(rotangle) - track1.py() * std::sin(rotangle);
657658
auto rotkaonPy = track1.px() * std::sin(rotangle) + track1.py() * std::cos(rotangle);
658659
kaonrot = ROOT::Math::PxPyPzMVector(rotkaonPx, rotkaonPy, track1.pz(), massKa);
@@ -668,9 +669,9 @@ struct kstarpbpb {
668669
if (!useSP) {
669670
v2Rot = TMath::Cos(2.0 * phiminuspsiRot);
670671
}
671-
if (!fillSA)
672+
if (!fillSA) {
672673
histos.fill(HIST("hSparseV2SASameEventRotational_V2"), kstarrot.M(), kstarrot.Pt(), v2Rot, centrality);
673-
674+
}
674675
if (fillSA) {
675676
if (track1Sign * track2Sign < 0) {
676677
ROOT::Math::Boost boost{kstarrot.BoostToCM()};

0 commit comments

Comments
 (0)