Constructor.
Constructor Set Vavilov parameters kappa and beta2 and define whether to calculate density fcn or distribution fcn
- Parameters
-
kappa | - (input) Vavilov kappa parameter [0.01 (Landau-like) < kappa < 10. (Gaussian-like)] |
beta2 | - (input) Vavilov beta2 parameter (square of particle speed in v/c units) |
mode | - (input) set to 0 to calculate the density function and to 1 to calculate the distribution function |
Definition at line 41 of file VVIObjF.cc.
42 const float xp[9] = {9.29, 2.47, .89, .36, .15, .07, .03, .02, 0.0};
43 const float xq[7] = {.012, .03, .08, .26, .87, 3.83, 11.0};
45 float q, u,
x,
c1, c2, c3, c4,
d1, h4, h5, h6,
q2,
x1,
d, ll, ul, xf1, xf2, rv;
59 float invKappa = 1.f /
kappa;
60 h_[4] = 1.f - beta2 * 0.42278433999999998f + (7.6f * invKappa);
63 h4 = -(7.6f * invKappa) - (beta2 * .57721566
f + 1.
f);
72 for (lp = 0; lp < 9; ++lp) {
76 ll = -
float(lp) - 1.5f;
77 for (lq = 0; lq < 7; ++lq) {
82 auto f2 = [h_](
float x) {
91 h_[0] =
kappa * (beta2 * .57721566f + 2.f) + 9.9166128600000008
f;
95 h_[1] = beta2 *
kappa;
97 h_[3] =
omega_ * 1.5707963250000001f;
104 a_[
n - 1] =
omega_ * .31830988654751274f;
108 for (
k = 1;
k <
n; ++
k) {
114 vdt::fast_sincosf(
x1, c3, c4);
115 xf1 =
kappa * (beta2 *
c1 - c4) -
x * c2;
118 vdt::fast_sincosf(xf2,
s,
c);
References a_, funct::abs(), b_, HltBtagPostValidation_cff::c, alignmentValidation::c1, ztail::d, d1, VVIObjFDetails::dzero(), MillePedeFileConverter_cfg::e, VVIObjFDetails::expint(), f, DeadROC_duringRun::f1, DeadROC_duringRun::f2, myMath::fast_expf(), myMath::fast_logf(), dqmMemoryStats::float, dqmdumpme::k, kappa, cmsLHEtoEOSManager::l, mode_, dqmiodumpmetadata::n, omega_, data-class-funcs::q, q2, alignCSCRings::s, VVIObjFDetails::sincosint(), t0_, t1_, t_, x, x0_, and testProducerWithPsetDescEmpty_cfi::x1.