StRoot
1
|
#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 | |
SubCollisionModel * | collPtr |
Info from the controlling HeavyIons object. | |
NucleusModel * | projPtr |
NucleusModel * | targPtr |
Settings * | settingsPtr |
Rndm * | rndPtr |
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.
|
inline |
The default constructor takes a gneral width (in femtometers) as argument.
Definition at line 401 of file HIUserHooks.h.
|
inline |
The default constructor takes a gneral width (in femtometers) as argument.
Definition at line 400 of file HIUserHooks.h.
|
virtual |
Return a new impact parameter and set the corresponding weight provided.
|
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().