Skip to content

Commit 8f54982

Browse files
authored
Highmasslambdav2 (#5629)
* improve event mix * Add time frame cut in pp phi * fix momentum cut * Add new thnsparse * Fix histogram name * Add rapidity bin in THnsparse * Q vector bining * Add shift correction * Add acceptance cut for generated * Fix costheta range * Preliminary task highmass lambda * Fix lorentz vector
1 parent 1652331 commit 8f54982

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGLF/Tasks/Resonances/highmasslambda.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ struct highmasslambda {
411411
}
412412
firstprimarytrack = firstprimarytrack + 1;
413413
Proton = ROOT::Math::PxPyPzMVector(track1.px(), track1.py(), track1.pz(), massPr);
414-
Kshort = ROOT::Math::PxPyPzMVector(v0.pt(), v0.eta(), v0.phi(), massK0s);
414+
Kshort = ROOT::Math::PxPyPzMVector(v0.px(), v0.py(), v0.pz(), massK0s);
415415
Lambdac = Proton + Kshort;
416416
if (TMath::Abs(Lambdac.Rapidity()) > confRapidity) {
417417
continue;
@@ -482,7 +482,7 @@ struct highmasslambda {
482482
}
483483

484484
Proton = ROOT::Math::PxPyPzMVector(track1.px(), track1.py(), track1.pz(), massPr);
485-
Kshort = ROOT::Math::PxPyPzMVector(v0.pt(), v0.eta(), v0.phi(), massK0s);
485+
Kshort = ROOT::Math::PxPyPzMVector(v0.px(), v0.py(), v0.pz(), massK0s);
486486
Lambdac = Proton + Kshort;
487487
if (TMath::Abs(Lambdac.Rapidity()) > confRapidity) {
488488
continue;

0 commit comments

Comments
 (0)