PYTHIA  8.312
Public Member Functions | Protected Attributes | List of all members
ImpactParameterGenerator Class Reference

#include <HISubCollisionModel.h>

Public Member Functions

 ImpactParameterGenerator ()
 
virtual ~ImpactParameterGenerator ()
 Virtual destructor.
 
virtual bool init ()
 Virtual init method. More...
 
void initPtr (Info &infoIn, SubCollisionModel &collIn, NucleusModel &projIn, NucleusModel &targIn)
 ImpactParameterGenerator samples the impact parameter space. More...
 
virtual Vec4 generate (double &weight) const
 Return a new impact parameter and set the corresponding weight provided. More...
 
void width (double widthIn)
 Set the width (in femtometers).
 
double width () const
 Get the width.
 
void updateWidth ()
 Update width based on the associated subcollision and nucleus models. More...
 

Protected Attributes

InfoinfoPtr
 Pointers from the controlling HeavyIons object.
 
SubCollisionModelcollPtr
 
NucleusModelprojPtr
 
NucleusModeltargPtr
 
SettingssettingsPtr
 
RndmrndmPtr
 
LoggerloggerPtr
 

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

Constructor & Destructor Documentation

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

Member Function Documentation

Vec4 generate ( double &  weight) const
virtual

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

Generate an impact parameter according to a gaussian distribution.

bool init ( )
virtual

Virtual init method.

Initialise base class, bay be overridden by subclasses.

void initPtr ( Info infoIn,
SubCollisionModel collIn,
NucleusModel projIn,
NucleusModel targIn 
)

ImpactParameterGenerator samples the impact parameter space.

Initialise base class, passing pointers to important objects.

void updateWidth ( )

Update width based on the associated subcollision and nucleus models.

Set width based on the associated subcollision and nucleus models.


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