File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,6 @@ class FemtoUniverseMath
255255 }
256256
257257 if (isiden && isWeight) {
258-
259258 const double x1_lcms = (vecspace_part1.x () * tPx + vecspace_part1.y () * tPy) / tPt;
260259 const double y1_lcms = (-vecspace_part1.x () * tPy + vecspace_part1.y () * tPx) / tPt;
261260 const double x2_lcms = (vecspace_part2.x () * tPx + vecspace_part2.y () * tPy) / tPt;
@@ -271,8 +270,10 @@ class FemtoUniverseMath
271270 const double mRL = (z1_lcms - z2_lcms) / 0.197327 ;
272271 const double mDT = (t1_lcms - t2_lcms) / 0.197327 ;
273272
274- const double quantumweight = 1.0 + TMath::Cos (-fDKOutLCMS * mRO - fDKSideLCMS * mRS - fDKLongLCMS * mRL + mDE * mDT );
273+ const double quantumweight = 1.0 + std::cos (-fDKOutLCMS * mRO - fDKSideLCMS * mRS - fDKLongLCMS * mRL + mDE * mDT );
275274 vect.push_back (quantumweight);
275+ } else {
276+ vect.push_back (1.0 );
276277 }
277278 return vect;
278279 }
You can’t perform that action at this time.
0 commit comments