|
PYTHIA
8.316
|
#include <HINucleusModel.h>
Public Member Functions | |
| NucleusModel () | |
| virtual | ~NucleusModel () |
| Virtual destructor. | |
| void | initPtr (int idIn, bool isProjIn, Info &infoIn) |
| Init method. More... | |
| virtual bool | init () |
| virtual bool | initGeometry () |
| void | setParticle (int idIn) |
| Set the particle id of the produced nucleus. More... | |
| virtual void | setPN (const Vec4 &pNIn) |
| Set (new) nucleon momentum. | |
| virtual void | setMN (double mNIn) |
| Set (new) effective nucleon mass. | |
| virtual Particle | produceIon () |
| Produce an instance of the incoming nucleon. More... | |
| virtual vector< Nucleon > | generate () const =0 |
| int | id () const |
| Accessor functions. | |
| int | I () const |
| int | A () const |
| int | Z () const |
| int | L () const |
| double | R () const |
| int | idN () const |
| const Vec4 & | pN () const |
| double | mN () const |
Static Public Member Functions | |
| static shared_ptr< NucleusModel > | create (int model) |
| NucleusModel base class. | |
Protected Attributes | |
| bool | isProj |
| Projectile or target. | |
| int | idSave |
| The nucleus. | |
| int | ISave |
| Cache information about the nucleus. | |
| int | ASave |
| int | ZSave |
| int | LSave |
| double | RSave |
| The estimate of the nucleus radius. | |
| double | mSave {} |
| The mass of the nucleus and its nucleons. | |
| Vec4 | pNSave {} |
| The nucleon beam momentum. | |
| double | mNSave {} |
| The effective nucleon mass. | |
| int | idNSave = 2212 |
| Info * | infoPtr |
| Pointers to useful objects. | |
| Settings * | settingsPtr |
| Rndm * | rndmPtr |
| Logger * | loggerPtr |
This class generates the impact parameter distribution of nucleons in a nucleus.
|
inline |
Default constructor giving the nucleus id and an optional radius (in femtometer).
|
pure virtual |
Generate a vector of nucleons according to the implemented model for a nucleus given by the PDG number.
Implemented in ClusterModel, GaussianModel, HulthenModel, HOShellModel, WoodsSaxonModel, and ExternalNucleusModel.
| void initPtr | ( | int | idIn, |
| bool | isProjIn, | ||
| Info & | infoIn | ||
| ) |
Init method.
Initialise base class, passing pointers to important objects.
|
virtual |
Produce an instance of the incoming nucleon.
Produce a proper particle corresponding to the nucleus handled by this NucleusModel.
| void setParticle | ( | int | idIn | ) |
Set the particle id of the produced nucleus.
Set the id of the produced particle.
1.8.11