12 __device__ fptype
twoBodyCMmom(
double rMassSq, fptype d1m, fptype d2m);
14 __device__ fptype
dampingFactorSquare(
const fptype &cmmom,
const int &spin,
const fptype &mRadius);
16 __device__ fptype
spinFactor(
unsigned int spin,
24 unsigned int cyclic_index);
66 namespace Resonances {
78 ~
RBW()
override =
default;
85 ~
LASS()
override =
default;
92 ~
GS()
override =
default;
106 ~
FLATTE()
override =
default;
113 ~
Gauss()
override =
default;
120 ~
NonRes()
override =
default;
129 std::vector<fptype> &HH_bin_limits,
130 std::vector<Variable> &pwa_coefs_reals,
131 std::vector<Variable> &pwa_coefs_imags,
133 bool symmDP =
false);
134 ~
Spline()
override =
default;
Cubic spline constructor.
unsigned int host_indices[maxParams]
void setConstantIndex(unsigned int idx)
__device__ fptype spinFactor(unsigned int spin, fptype motherMass, fptype daug1Mass, fptype daug2Mass, fptype daug3Mass, fptype m12, fptype m13, fptype m23, unsigned int cyclic_index)
__device__ fptype dampingFactorSquare(const fptype &cmmom, const int &spin, const fptype &mRadius)
std::vector< unsigned int > pindices
thrust::complex< fptype > fpcomplex
ResonancePdf(std::string name, Variable ar, Variable ai)
Special constructor that subclasses use.
__host__ Variable get_amp_img() const
~ResonancePdf() override=default
__host__ Variable get_amp_real() const
__device__ fptype twoBodyCMmom(double rMassSq, fptype d1m, fptype d2m)
std::vector< fptype > host_constants
Relativistic Breit-Wigner.
fpcomplex(* resonance_function_ptr)(fptype, fptype, fptype, unsigned int *)
virtual __host__ void recalculateCache() const