8#include <tracking/trackFindingCDC/numerics/SpecialFunctions.h>
10#include <boost/math/tools/precision.hpp>
11#include <boost/math/special_functions/sinc.hpp>
16using namespace TrackFindingCDC;
18double TrackFindingCDC::sinc(
double x)
20 return boost::math::sinc_pi(x);
23double TrackFindingCDC::asinc(
double x)
28 using namespace boost::math;
29 double const taylor_n_bound = tools::forth_root_epsilon<double>();
31 if (abs(x) >= taylor_n_bound) {
37 double const taylor_0_bound = tools::epsilon<double>();
38 if (abs(x) >= taylor_0_bound) {
43 double const taylor_2_bound = tools::root_epsilon<double>();
44 if (abs(x) >= taylor_2_bound) {
46 result += x2 * x2 * (3.0 / 40.0);
Abstract base class for different kinds of events.