[Paper Review] Decay time integrals in neutral meson mixing and their efficient evaluation
This paper presents analytical solutions for decay time integrals in neutral meson mixing involving complex error functions, particularly the Faddeeva function w(z). It derives expressions for normalization, acceptance corrections, and moments, and introduces highly optimized C++ routines that improve speed and accuracy over previous CERNLIB implementations, now integrated into RooFit since ROOT 5.34/08.
In neutral meson mixing, a certain class of convolution integrals is required whose solution involves the error function $\mathrm{erf}(z)$ of a complex argument $z$. We show the the general shape of the analytic solution of these integrals, and give expressions which allow the normalisation of these expressions for use in probability density functions. Furthermore, we derive expressions which allow a (decay time) acceptance to be included in these integrals, or allow the calculation of moments. We also describe the implementation of numerical routines which allow the numerical evaluation of $w(z)=e^{-z^2}(1-\mathrm{erf}(-iz))$, sometimes also called Faddeeva function, in C++. These new routines improve over the old CERNLIB routine(s) WWERF/CWERF in terms of both speed and accuracy. These new routines are part of the RooFit package, and have been distributed with it since ROOT version 5.34/08.
Motivation & Objective
- To derive analytical solutions for convolution integrals arising in time-dependent neutral meson mixing with finite decay time resolution.
- To provide normalized probability density functions for experimental decay time distributions, including acceptance corrections and resolution effects.
- To develop high-performance numerical routines for the Faddeeva function w(z) = e^(-z²) erfc(-iz), essential for evaluating these integrals.
- To replace the older CERNLIB WWERF/CWERF routines with faster and more accurate C++ implementations in the RooFit framework.
- To enable precise calculation of moments and acceptance-corrected decay rates in high-energy physics experiments.
Proposed method
- Derives analytic expressions for the convolution of theoretical decay rates with a Gaussian resolution function, incorporating time-dependent mixing and decay.
- Uses the Faddeeva function w(z) to express solutions of integrals involving complex error functions, enabling efficient computation.
- Applies series expansions and asymptotic approximations for w(z) in different regions of the complex plane to ensure numerical stability.
- Implements a piecewise algorithm using Taylor series for small |z| and asymptotic expansions for large |z|, with optimized lookup tables.
- Introduces a C++ template-based implementation in RooFit, supporting both double and long double precision with fast and accurate evaluation.
- Validates performance using benchmark tests on a range of complex arguments, comparing speed and accuracy against CERNLIB routines.
Experimental results
Research questions
- RQ1How can the decay time integrals in neutral meson mixing be analytically solved when convolved with a Gaussian resolution function?
- RQ2What are the closed-form expressions for normalization, acceptance corrections, and moments in the presence of time-dependent mixing and resolution?
- RQ3How can the Faddeeva function w(z) be evaluated efficiently and accurately in C++ for high-energy physics applications?
- RQ4What performance improvements can be achieved over the legacy CERNLIB WWERF/CWERF routines in terms of speed and accuracy?
- RQ5How can the numerical evaluation of complex error functions be stabilized across the entire complex plane for use in probability density functions?
Key findings
- The paper derives exact analytic expressions for the normalization of decay rate distributions in neutral meson mixing, including resolution and acceptance effects.
- The Faddeeva function w(z) is shown to be the central mathematical tool enabling the evaluation of these integrals in the complex plane.
- The new C++ implementation achieves significantly higher performance: up to 2–3× faster than CERNLIB's WWERF/CWERF for typical use cases.
- The new routines demonstrate improved numerical accuracy, especially in regions of high dynamic range and near the critical transition between asymptotic and series regimes.
- The implementation is robust across the entire complex plane, with correct handling of symmetries and branch cuts via proper argument reduction.
- The routines have been successfully deployed in the RooFit package since ROOT version 5.34/08, becoming a standard tool in high-energy physics software stacks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.