StRoot
1
|
Public Member Functions | |
Double_t | GetImpactParameter () const |
Default destructor. More... | |
Double_t | GetMaximumImpactParameter () const |
Get maximum impact parameter. | |
Double_t | GetTheta () const |
Get theta (polar angle) More... | |
Double_t | GetPhi () const |
Get phi (azimuthal angle) More... | |
Double_t | GetUniform () const |
Get uniform distribution in 0 < x < 1. More... | |
Double_t | GetUniform2 () const |
void | SetDebug (const UInt_t debug) |
Set debug level. | |
Static Public Member Functions | |
static StGlauberUtilities * | instance () |
Definition at line 20 of file StGlauberUtilities.h.
Double_t StGlauberUtilities::GetImpactParameter | ( | ) | const |
Default destructor.
Get impact parameter
Generate random impact parameter in 0 < r < 20 fm according to the dN/db = b
Definition at line 145 of file StGlauberUtilities.cxx.
Referenced by StFastGlauberMcMaker::Make().
Double_t StGlauberUtilities::GetPhi | ( | ) | const |
Get phi (azimuthal angle)
Generate flat phi angle in -pi < phi < pi
Definition at line 185 of file StGlauberUtilities.cxx.
Referenced by StFastGlauberMcMaker::Make().
Double_t StGlauberUtilities::GetTheta | ( | ) | const |
Get theta (polar angle)
Generate random polar angle in 0 < theta < pi according to the dN/dtheta = cos(theta)
Definition at line 171 of file StGlauberUtilities.cxx.
Referenced by StFastGlauberMcMaker::Make().
Double_t StGlauberUtilities::GetUniform | ( | ) | const |
Get uniform distribution in 0 < x < 1.
Uniform distribution in 0 < x < 1
Definition at line 198 of file StGlauberUtilities.cxx.
Referenced by StNegativeBinomial::GetMultiplicity().
Double_t StGlauberUtilities::GetUniform2 | ( | ) | const |
Uniform distribution in 0 < x < 2
Definition at line 204 of file StGlauberUtilities.cxx.
Referenced by StNegativeBinomial::GetMultiplicity().