ROOT logo
AliRoot » PWGCF » FEMTOSCOPY » ALIFEMTOUSER » AliFemtoYlm

class AliFemtoYlm


AliFemtoYlm - the class to calculate varous components of spherical
harmonics

Authors: Adam Kisiel kisiel@mps.ohio-state.edu


Function Members (Methods)

public:
AliFemtoYlm()
AliFemtoYlm(const AliFemtoYlm& aYlm)
~AliFemtoYlm()
static doubleImYlm(int ell, int m, double theta, double phi)
static doubleImYlm(int ell, int m, double x, double y, double z)
static voidInitializeYlms()
static doubleLegendre(int ell, int emm, double ctheta)
static voidLegendreUpToYlm(int lmax, double ctheta, double* lbuf)
AliFemtoYlm&operator=(const AliFemtoYlm& aYlm)
static doubleReYlm(int ell, int m, double theta, double phi)
static doubleReYlm(int ell, int m, double x, double y, double z)
static complex<double>Ylm(int ell, int m, double theta, double phi)
static complex<double>Ylm(int ell, int m, double x, double y, double z)
static voidYlmUpToL(int lmax, double ctheta, double phi, complex<double>* ylms)
static voidYlmUpToL(int lmax, double x, double y, double z, complex<double>* ylms)
private:
static complex<double>Ceiphi(double phi)

Data Members

private:
static int*fgPlmshift
static double*fgPrefactors
static int*fgPrefshift

Class Charts

Inheritance Chart:
AliFemtoYlm

Function documentation

AliFemtoYlm()
~AliFemtoYlm()
AliFemtoYlm(const AliFemtoYlm& aYlm)
AliFemtoYlm& operator=(const AliFemtoYlm& aYlm)
std::complex<double> Ceiphi(double phi)
double Legendre(int ell, int emm, double ctheta)
 Calculate a single Legendre value
 *** Warning - NOT optimal - calculated all Plms up to L !!!
std::complex<double> Ylm(int ell, int m, double theta, double phi)
 Calculate Ylm spherical input
std::complex<double> Ylm(int ell, int m, double x, double y, double z)
 Calculate Ylm cartesian input
double ReYlm(int ell, int m, double theta, double phi)
double ImYlm(int ell, int m, double theta, double phi)
double ReYlm(int ell, int m, double x, double y, double z)
double ImYlm(int ell, int m, double x, double y, double z)
void InitializeYlms()
 Calculate prefactors for fast Ylm calculation
void LegendreUpToYlm(int lmax, double ctheta, double* lbuf)
 Calculate a set of legendre polynomials up to a given l
 with spherical input
void YlmUpToL(int lmax, double x, double y, double z, complex<double>* ylms)
 Calculate a set of Ylms up to a given l
 with cartesian input
void YlmUpToL(int lmax, double ctheta, double phi, complex<double>* ylms)
 Calculate a set of Ylms up to a given l
 with spherical input