StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
Pythia8::ImpactParameterGenerator Class Reference

#include <HIUserHooks.h>

Public Member Functions

 ImpactParameterGenerator ()
 
virtual ~ImpactParameterGenerator ()
 Virtual destructor.
 
virtual bool init ()
 Virtual init method.
 
void initPtr (SubCollisionModel &collIn, NucleusModel &projIn, NucleusModel &targIn, Settings &settingsIn, Rndm &rndIn)
 
virtual Vec4 generate (double &weight) const
 
void width (double widthIn)
 Set the width (in femtometers).
 
double width () const
 Get the width.
 
 ImpactParameterGenerator ()
 
virtual ~ImpactParameterGenerator ()
 Virtual destructor.
 
virtual bool init ()
 Virtual init method.
 
void initPtr (SubCollisionModel &collIn, NucleusModel &projIn, NucleusModel &targIn, Settings &settingsIn, Rndm &rndIn)
 
virtual Vec4 generate (double &weight) const
 
void width (double widthIn)
 Set the width (in femtometers).
 
double width () const
 Get the width.
 

Protected Attributes

SubCollisionModelcollPtr
 Info from the controlling HeavyIons object.
 
NucleusModelprojPtr
 
NucleusModeltargPtr
 
SettingssettingsPtr
 
RndmrndPtr
 

Detailed Description

ImpactParameterGenerator is able to generate a specific impact parameter together with a weight such that aweighted average over any quantity X(b) corresponds to the infinite integral over d^2b X(b). This base class gives a Gaussian profile, d^2b exp(-b^2/2w^2).

Definition at line 395 of file HIUserHooks.h.

Constructor & Destructor Documentation

Pythia8::ImpactParameterGenerator::ImpactParameterGenerator ( )
inline

The default constructor takes a gneral width (in femtometers) as argument.

Definition at line 401 of file HIUserHooks.h.

Pythia8::ImpactParameterGenerator::ImpactParameterGenerator ( )
inline

The default constructor takes a gneral width (in femtometers) as argument.

Definition at line 400 of file HIUserHooks.h.

Member Function Documentation

virtual Vec4 Pythia8::ImpactParameterGenerator::generate ( double &  weight) const
virtual

Return a new impact parameter and set the corresponding weight provided.

Vec4 Pythia8::ImpactParameterGenerator::generate ( double &  weight) const
virtual

Return a new impact parameter and set the corresponding weight provided.

Definition at line 260 of file HIUserHooks.cc.

References width().

Referenced by Pythia8::Angantyr::next().


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