File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2021,34 +2021,6 @@ struct doublephimeson {
20212021 return std::abs (phi1.Pt () - phi2.Pt ()) / sumPt;
20222022 };
20232023
2024- const auto absCosThetaStar =
2025- [](const TLorentzVector& phi1,
2026- const TLorentzVector& phi2) -> double {
2027- const TLorentzVector pair = phi1 + phi2;
2028-
2029- if (pair.E () <= 0 . || pair.P () <= 0 .) {
2030- return -1 .;
2031- }
2032-
2033- // Helicity axis: phi-phi flight direction in the laboratory.
2034- const TVector3 helicityAxis = pair.Vect ().Unit ();
2035-
2036- // Boost phi1 into the phi-phi rest frame.
2037- TLorentzVector phi1Star = phi1;
2038- phi1Star.Boost (-pair.BoostVector ());
2039-
2040- if (phi1Star.P () <= 0 .) {
2041- return -1 .;
2042- }
2043-
2044- double cosThetaStar =
2045- phi1Star.Vect ().Unit ().Dot (helicityAxis);
2046-
2047- cosThetaStar = std::clamp (cosThetaStar, -1.0 , 1.0 );
2048-
2049- return std::abs (cosThetaStar);
2050- };
2051-
20522024 const auto nKaonTOFHits =
20532025 [](const auto & t1, const auto & t2) -> int {
20542026 return static_cast <int >(t1.phid1TOFHit () == 1 ) +
You can’t perform that action at this time.
0 commit comments