PYTHIA
8.312
|
#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 | |
Info * | infoPtr |
Pointers from the controlling HeavyIons object. | |
SubCollisionModel * | collPtr |
NucleusModel * | projPtr |
NucleusModel * | targPtr |
Settings * | settingsPtr |
Rndm * | rndmPtr |
Logger * | loggerPtr |
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).
|
inline |
The default constructor takes a general width (in femtometers) as argument.
|
virtual |
Return a new impact parameter and set the corresponding weight provided.
Generate an impact parameter according to a gaussian distribution.
|
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.