CAngleDist Class Reference

angular distributions More...

#include <CAngleDist.h>

List of all members.

Public Member Functions

 CAngleDist ()
 ~CAngleDist ()
float getTheta (int l)
 returns a random polar angle associated with a specified angular momentum

Protected Attributes

float ** dist
 array containing sampled distributions

Static Protected Attributes

static CRandom ran
 random number generator
static int const maxL = 20
static int const nAngle = 90
static float const pi = acos(-1.)
 the mathematical constant


Detailed Description

angular distributions

!

class to randomly selects a polar angle theta of an emitted fragment


Constructor & Destructor Documentation

CAngleDist::CAngleDist (  ) 

Constructor

CAngleDist::~CAngleDist (  ) 

Destructor


Member Function Documentation

float CAngleDist::getTheta ( int  l  ) 

returns a random polar angle associated with a specified angular momentum

The angle is chosen from the distribution $P_l^l[cos(\theta)]^2 sin(\theta)$. This angle is expressed in radians. If the angular momentum is above maxL, an angle of 90 degrees is returned

Parameters:
l is the orbital angular-momentum quantum number


Member Data Documentation

int const CAngleDist::maxL = 20 [static, protected]

maximum angular distribution for which distributions are made

int const CAngleDist::nAngle = 90 [static, protected]

number of angular bins used to sample distributions


The documentation for this class was generated from the following files:
Generated on Mon Aug 6 14:13:09 2012 by  doxygen 1.4.7