| 
    PYTHIA
    8.316
    
   | 
 
#include <HINucleusModel.h>
  
 Public Member Functions | |
| ExternalNucleusModel () | |
| Default constructor.  | |
| bool | init () override | 
| Initialize class. Read in file to buffer.  More... | |
| vector< Nucleon > | generate () const override | 
| Generate a vector of nucleons.  More... | |
  Public Member Functions inherited from NucleusModel | |
| 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 Public Member Functions inherited from NucleusModel | |
| static shared_ptr< NucleusModel > | create (int model) | 
| NucleusModel base class.  | |
  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 | 
A nucleus model defined by an external file to be read in, containing x,y,z coordinates of the nucleons.
      
  | 
  overridevirtual | 
Generate a vector of nucleons.
Generate a vector of nucleons according to the implemented model for a nucleus given by the PDG number.
Get the next nucleon
Update position in list of nucleons.
Implements NucleusModel.
      
  | 
  overridevirtual | 
Initialize class. Read in file to buffer.
ExternalNucleusModel reads in the configuration from a file.
Initialize, read in the file, shuffle the configurations.
Read settings.
File to read.
Do shuffling.
Read the file.
Remove comment lines.
Check malformed line.
Reimplemented from NucleusModel.
 1.8.11