|
PYTHIA
8.316
|
#include <HINucleusModel.h>
Public Member Functions | |
| HardCoreModel () | |
| Default constructor. | |
| virtual | ~HardCoreModel () |
| Virtual destructor. | |
| void | initHardCore () |
| HardCoreModel is a base class for models implementing a hard core. More... | |
| double | rSample () const |
Public Member Functions inherited from NucleusModel | |
| 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 |
Protected Attributes | |
| bool | useHardCore |
| Use the hard core or not. | |
| bool | gaussHardCore |
| Use a Gaussian hard core. | |
| double | hardCoreRadius |
| The radius or width of the hard core. | |
Protected Attributes inherited from NucleusModel | |
| 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 |
Additional Inherited Members | |
Static Public Member Functions inherited from NucleusModel | |
| static shared_ptr< NucleusModel > | create (int model) |
| NucleusModel base class. | |
A NucleusModel which allows for a hard core, optionally a Gaussian hard core. This is an abstract class intended as a base class for models with this functionality.
| void initHardCore | ( | ) |
HardCoreModel is a base class for models implementing a hard core.
Initialize the parameters for hard core generation. To be called in init() in derived classes.
Init the hard core parameters. To be called in init() in derived classes.
|
inline |
Get the radius of the hard core. If using a Gaussian hard core, the radius is distributed according to a 1D Gaussian.
1.8.11