Page MenuHomeHEPForge

CAngleDist.h
No OneTemporary

CAngleDist.h

#include "CRandom.h"
#include <cmath>
/**
*!\brief angular distributions
*
* class to randomly selects a polar angle theta
* of an emitted fragment
*
*/
class CAngleDist
{
protected:
static CRandom ran; //!<random number generator
float ** dist; //!<array containing sampled distributions
static int const maxL; //!<maximum angular distribution for
//!<which distributions are made
static int const nAngle; //!< number of angular bins used
//!<to sample distributions
static float const pi; //!< the mathematical constant
public:
CAngleDist();
~CAngleDist();
float getTheta(int l);
};

File Metadata

Mime Type
text/x-c++
Expires
Sat, Dec 21, 3:31 PM (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4002641
Default Alt Text
CAngleDist.h (675 B)

Event Timeline