PYTHIA
8.313
|
A model for nuclei clustered in smaller nuclei. More...
#include <HINucleusModel.h>
Public Member Functions | |
ClusterModel () | |
Contructor. | |
virtual | ~ClusterModel () |
Virtual destructor. | |
virtual bool | init () override |
Initialize parameters. More... | |
virtual vector< Nucleon > | generate () const override |
Generate the nucleons. More... | |
![]() | |
HardCoreModel () | |
Default constructor. | |
virtual | ~HardCoreModel () |
Virtual destructor. | |
void | initHardCore () |
HardCoreModel is a base class for models implementing a hard core. More... | |
double | rSample () const |
![]() | |
NucleusModel () | |
virtual | ~NucleusModel () |
Virtual destructor. | |
void | initPtr (int idIn, bool isProjIn, Info &infoIn) |
Init method. More... | |
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... | |
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 |
Additional Inherited Members | |
![]() | |
static shared_ptr< NucleusModel > | create (int model) |
NucleusModel base class. | |
![]() | |
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. | |
![]() | |
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 |
A model for nuclei clustered in smaller nuclei.
|
overridevirtual |
Generate the nucleons.
Generate a vector of nucleons. Note that this model is only implemented for XX, YY ZZ.
Implements NucleusModel.
|
overridevirtual |
Initialize parameters.
ClusterModel generates nucleons clustered in smaller nucleons.
Initialize. Check if this nucleon is implemented
Initialize hard core.
So far only use this model for 4He
Set up the internal nucleus model for clusters. Hulthen
Reimplemented from NucleusModel.