64 inline double N(
int l,
int m=0) {
83 , _phi(
"phi",
"phi", this, phi)
85 , _sgn1( m==0 ? 0 : m<0 ? -1 : +1 )
93 :
RooLegendre(name, title,ctheta,l1, m1<0?-m1:m1,l2,m2<0?-m2:m2)
94 , _phi(
"phi",
"phi", this, phi)
96 , _sgn1( m1==0 ? 0 : m1<0 ? -1 : +1 )
97 , _sgn2( m2==0 ? 0 : m2<0 ? -1 : +1 )
105 , _phi(
"phi", this,other._phi)
107 , _sgn1( other._sgn1 )
108 , _sgn2( other._sgn2 )
128 return range == 0 || strlen(range) == 0
133 return range == 0 || strlen(range) == 0
159 }
else if (code == 2) {
virtual Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Interface function getAnalyticalIntergral advertises the analytical integrals that are supported...
constexpr Double_t Sqrt2()
constexpr Double_t TwoPi()
virtual Int_t getMaxVal(const RooArgSet &vars) const
Advertise capability to determine maximum value of function for given set of observables.
virtual Double_t analyticalIntegral(Int_t code, const char *rangeName=0) const
this was verified to match mathematica for l1 in [0,2], m1 in [0,l1], l2 in [l1,4], m2 in [0,l2]
virtual Double_t maxVal(Int_t code) const
Return maximum value for set of observables identified by code assigned in getMaxVal.
virtual Double_t maxVal(Int_t code) const
Return maximum value for set of observables identified by code assigned in getMaxVal.
Double_t evaluate() const
TODO: check that 0<=m_i<=l_i; on the other hand, assoc_legendre already does that ;-) Note: P_0^0 = 1...
VecExpr< UnaryOp< Fabs< T >, VecExpr< A, T, D >, T >, T, D > fabs(const VecExpr< A, T, D > &rhs)
virtual Double_t analyticalIntegral(Int_t code, const char *rangeName=0) const
this was verified to match mathematica for l1 in [0,2], m1 in [0,l1], l2 in [l1,4], m2 in [0,l2]
Implementation of the so-called real spherical harmonics, using the orthonormal normalization, which are related to spherical harmonics as: .
virtual Int_t getMaxVal(const RooArgSet &vars) const
Advertise capability to determine maximum value of function for given set of observables.
double Pi()
Mathematical constants.
static constexpr double m2
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
Double_t min(const char *rname=0) const
Double_t evaluate() const
TODO: check that 0<=m_i<=l_i; on the other hand, assoc_legendre already does that ;-) Note: P_0^0 = 1...
Double_t Factorial(Int_t i)
Compute factorial(n).
RooRealProxy is the concrete proxy for RooAbsReal objects A RooRealProxy is the general mechanism to ...
Bool_t matchArgs(const RooArgSet &allDeps, RooArgSet &numDeps, const RooArgProxy &a) const
Utility function for use in getAnalyticalIntegral().
virtual Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
TODO: check that phi.max - phi.min = 2 pi...
Double_t max(const char *rname=0) const