5 #ifndef COMPWA_PHYSICS_HELICITY_FORMALISM_WIGNERD_HPP_ 6 #define COMPWA_PHYSICS_HELICITY_FORMALISM_WIGNERD_HPP_ 11 #include "ThirdParty/qft++/include/qft++/WignerD.h" 18 namespace HelicityFormalism {
31 assert(!std::isnan(beta));
32 assert(std::cos(beta) <= 1 && std::cos(beta) >= -1);
34 double result = QFT::Wigner_d(J, muPrime, mu, beta);
35 assert(!std::isnan(result));
37 double pi4 = M_PI * 4.0;
38 double norm = std::sqrt((2.0 * J + 1) / pi4);
44 double mu,
double alpha,
45 double beta,
double gamma) {
47 return std::complex<double>(1.0, 0);
49 assert(!std::isnan(alpha));
50 assert(!std::isnan(beta));
51 assert(!std::isnan(gamma));
53 std::complex<double> i(0, 1);
56 std::complex<double> result =
57 tmp * std::exp(-i * (muPrime * alpha + mu * gamma));
59 assert(!std::isnan(result.real()));
60 assert(!std::isnan(result.imag()));
66 double J,
double MuPrime,
double Mu,
77 std::shared_ptr<ComPWA::FunctionTree::Parameter> &out);
This file contains Functions implementing the Strategy interface so they can be used inside a node of...
ParType
Enums for the type of the parameter, should be extended if an new parameter type is added...
Virtual base class for operations of FunctionTree nodes.
This class provides a list of parameters and values of different types.