Skip to content

Commit ff31174

Browse files
prottayCMTProttay Das
andauthored
[PWGLF] commented out a histogram while filling SA (#10994)
Co-authored-by: Prottay Das <prottay@alipap1.cern.ch>
1 parent 61fdbb3 commit ff31174

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

PWGLF/Tasks/Resonances/kstarpbpb.cxx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,9 @@ struct kstarpbpb {
651651
auto angleend = confMaxRot;
652652
auto anglestep = (angleend - anglestart) / (1.0 * (nBkgRotations - 1));
653653
auto rotangle = anglestart + nrotbkg * anglestep;
654-
histos.fill(HIST("hRotation"), rotangle);
654+
if (!fillSA) {
655+
histos.fill(HIST("hRotation"), rotangle);
656+
}
655657
auto rotkaonPx = track1.px() * std::cos(rotangle) - track1.py() * std::sin(rotangle);
656658
auto rotkaonPy = track1.px() * std::sin(rotangle) + track1.py() * std::cos(rotangle);
657659
kaonrot = ROOT::Math::PxPyPzMVector(rotkaonPx, rotkaonPy, track1.pz(), massKa);
@@ -667,9 +669,9 @@ struct kstarpbpb {
667669
if (!useSP) {
668670
v2Rot = TMath::Cos(2.0 * phiminuspsiRot);
669671
}
670-
if (!fillSA)
672+
if (!fillSA) {
671673
histos.fill(HIST("hSparseV2SASameEventRotational_V2"), kstarrot.M(), kstarrot.Pt(), v2Rot, centrality);
672-
674+
}
673675
if (fillSA) {
674676
if (track1Sign * track2Sign < 0) {
675677
ROOT::Math::Boost boost{kstarrot.BoostToCM()};

0 commit comments

Comments
 (0)