Skip to content

Commit 54ca98a

Browse files
authored
[PWGLF] [PWGLF} lambdalambda.cxx: add rapidity selection for rotational bkg (#17293)
1 parent 722eaa4 commit 54ca98a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

PWGLF/Tasks/Strangeness/lambdalambda.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,9 @@ struct lambdalambda {
527527
RanPhi += RecoV02.Phi();
528528
RecoV02Rot = ROOT::Math::PxPyPzMVector(RecoV02.Pt() * std::cos(RanPhi), RecoV02.Pt() * std::sin(RanPhi), RecoV02.Pz(), RecoV02.M());
529529
RecoV0V0Rot = RecoV01 + RecoV02Rot;
530+
if (std::abs(RecoV0V0Rot.Rapidity()) > cfgV0V0RapMax)
531+
continue;
532+
530533
histos.fill(HIST("h_InvMass_rot"), RecoV0V0Rot.M(), RecoV0V0Rot.Pt(), centrality, V01Tag + V02Tag);
531534
}
532535
}

0 commit comments

Comments
 (0)