Skip to content

Commit 3f52071

Browse files
authored
corrected mass of pion in the lorentz vector (#6101)
1 parent 4b6e931 commit 3f52071

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGLF/Tasks/Resonances/kstarqa.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -818,11 +818,11 @@ struct kstarqa {
818818
auto motherP = mothertrack1.p();
819819
auto motherE = mothertrack1.e();
820820
auto genMass = std::sqrt(motherE * motherE - motherP * motherP);
821-
auto recMass = RecoDecay::m(arrMomrec, array{massKa, massKa});
821+
auto recMass = RecoDecay::m(arrMomrec, array{massKa, massPi});
822822
// auto recpt = TMath::Sqrt((track1.px() + track2.px()) * (track1.px() + track2.px()) + (track1.py() + track2.py()) * (track1.py() + track2.py()));
823823
//// Resonance reconstruction
824824
lDecayDaughter1.SetXYZM(track1.px(), track1.py(), track1.pz(), massKa);
825-
lDecayDaughter2.SetXYZM(track2.px(), track2.py(), track2.pz(), massKa);
825+
lDecayDaughter2.SetXYZM(track2.px(), track2.py(), track2.pz(), massPi);
826826
lResonance = lDecayDaughter1 + lDecayDaughter2;
827827
histos.fill(HIST("h3KstarRec"), motherP);
828828
histos.fill(HIST("h1KstarRecMass"), recMass);

0 commit comments

Comments
 (0)