PYTHIA  8.303
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
WoodsSaxonModel Class Reference

A general Woods-Saxon distributed nucleus. More...

#include <HIUserHooks.h>

Inheritance diagram for WoodsSaxonModel:
NucleusModel GLISSANDOModel

Public Member Functions

 WoodsSaxonModel ()
 
double a () const
 Accessor functions:
 
- Public Member Functions inherited from NucleusModel
 NucleusModel ()
 
virtual ~NucleusModel ()
 Virtual destructor.
 
void initPtr (int idIn, Settings &settingsIn, ParticleData &particleDataIn, Rndm &rndIn)
 Init method. More...
 
virtual Particle produceIon (bool istarg)
 
virtual vector< Nucleongenerate () const =0
 
int id () const
 Accessor functions.
 
int I () const
 
int A () const
 
int Z () const
 
int L () const
 
double R () const
 

Protected Member Functions

Vec4 generateNucleon () const
 Place a nucleon inside a nucleus. More...
 
virtual ~WoodsSaxonModel ()
 Virtual destructor.
 
virtual bool init ()
 

Protected Attributes

double aSave
 
- Protected Attributes inherited from NucleusModel
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.
 
SettingssettingsPtr
 Pointers to useful objects.
 
ParticleDataparticleDataPtr
 
RndmrndPtr
 

Detailed Description

A general Woods-Saxon distributed nucleus.

Constructor & Destructor Documentation

WoodsSaxonModel ( )
inline

The default constructor needs a nucleus id, a radius, R, and a "skin width", a (both length in femtometers).

Member Function Documentation

Vec4 generateNucleon ( ) const
protected

Place a nucleon inside a nucleus.

Generate the position of a single nucleon. (The time component is always zero).

WoodsSaxonModel is a subclass of NucleusModel and implements a general Wood-Saxon distributed nucleus.

virtual bool init ( )
inlineprotectedvirtual

Setup the generation with a given nucleus radius, R, and a "skin width", a (both length in femtometers).

Reimplemented from NucleusModel.

Reimplemented in GLISSANDOModel.

Member Data Documentation

double aSave
protected

The nucleus radius, skin depth parameter, and hard core nucleon radius..


The documentation for this class was generated from the following files: