StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
StGlauberUtilities Class Reference

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 StGlauberUtilitiesinstance ()
 

Detailed Description

Definition at line 20 of file StGlauberUtilities.h.

Member Function Documentation

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().


The documentation for this class was generated from the following files: