PYTHIA  8.317
Public Member Functions | List of all members
NaiveSubCollisionModel Class Reference

#include <HISubCollisionModel.h>

Inheritance diagram for NaiveSubCollisionModel:
SubCollisionModel

Public Member Functions

 NaiveSubCollisionModel ()
 The default constructor simply lists the nucleon-nucleon cross sections.
 
virtual ~NaiveSubCollisionModel () override
 Virtual destructor.
 
vector< double > minParm () const override
 Get the minimum and maximum allowed parameter values for this model.
 
vector< double > defParm () const override
 Get the default parameter values for this model.
 
vector< double > maxParm () const override
 Get the maximum allowed parameter values for this model.
 
virtual SigEst getSig () const override
 Get cross sections used by this model.
 
virtual SubCollisionSet getCollisions (Nucleus &proj, Nucleus &targ) override
 Take two nuclei and return the corresponding sub-collisions. More...
 
- Public Member Functions inherited from SubCollisionModel
 SubCollisionModel (int nParm)
 
virtual ~SubCollisionModel ()
 Virtual destructor.
 
virtual bool init (int idAIn, int idBIn, double eCMIn)
 Virtual init method. More...
 
void initPtr (NucleusModel &projIn, NucleusModel &targIn, SigmaTotal &sigTotIn, Settings &settingsIn, Info &infoIn, Rndm &rndmIn)
 Initialize the pointers.
 
void initLowEnergy (SigmaCombined *sigmaCombPtrIn)
 Initialize low energy treatment.
 
bool hasXSec () const
 
double sigTot () const
 The target total nucleon-nucleon cross section. More...
 
double sigEl () const
 The target elastic cross section.
 
double sigCDE () const
 The target central diffractive excitation cross section.
 
double sigSDE () const
 The target single diffractive excitation cross section (both sides).
 
double sigSDEP () const
 The target single diffractive excitation cross section (projectile).
 
double sigSDET () const
 The target single diffractive excitation cross section (target).
 
double sigDDE () const
 The target double diffractive excitation cross section.
 
double sigND () const
 The target non-diffractive (absorptive) cross section.
 
double sigLow () const
 The Low-energy cross sections.
 
double sigLExc () const
 The Low-energy excitation cross section (code 157).
 
double sigLAnn () const
 The Low-energy annihilation cross section (code 158).
 
double sigLRes () const
 The Low-energy resonant cross section (code 159).
 
double bSlope () const
 The target elastic b-slope parameter.
 
double avNDB () const
 Return the average non-diffractive impact parameter.
 
void updateSig (int idAIn, int idBIn, double eCMIn)
 Update internally stored cross sections. More...
 
double Chi2 (const SigEst &sigs, int npar) const
 Calculate the Chi2 for the given cross section estimates. More...
 
bool setKinematics (double eCMIn)
 Set beam kinematics. More...
 
bool setIDA (int idA)
 Set projectile particle.
 
bool evolve (int nGenerations, double eCM, int idANow)
 Use a genetic algorithm to fit the parameters. More...
 
int nParms () const
 Get the number of free parameters for the model.
 
void setParm (const vector< double > &parmIn)
 Set the parameters of this model.
 
vector< double > getParm () const
 Get the current parameters of this model.
 
virtual void generateNucleonStates (Nucleus &, Nucleus &)
 

Additional Inherited Members

- Static Public Member Functions inherited from SubCollisionModel
static shared_ptr< SubCollisionModelcreate (int model)
 Create a new SubCollisionModel of the given model. More...
 
- Protected Attributes inherited from SubCollisionModel
vector< double > sigTarg
 
vector< double > sigErr
 
vector< vector< double > > sigTargNN
 
vector< double > parmSave
 Saved parameters.
 
int NInt
 
int NPop
 
double sigFuzz
 
double impactFudge
 
bool fitPrint
 
double eCMlow
 
double avNDb
 
double avNDolap
 
NucleusModelprojPtr = {}
 Info from the controlling HeavyIons object.
 
NucleusModeltargPtr = {}
 
SigmaTotalsigTotPtr = {}
 
SigmaCombinedsigCmbPtr = {}
 
SettingssettingsPtr = {}
 
InfoinfoPtr = {}
 
RndmrndmPtr = {}
 
LoggerloggerPtr = {}
 
ParticleDataparticleDataPtr = {}
 
int idASave
 For variable energies.
 
int idBSave
 
bool doVarECM
 
bool doVarBeams
 
double eMin
 
double eMax
 
double eSave
 
int eCMPts
 
vector< int > idAList
 The list of particles that have been fitted.
 
vector< LogInterpolator > * subCollParmsPtr
 
map< int, vector< LogInterpolator > > subCollParmsMap
 Mapping id -> interpolator, one entry for each particle.
 
int elasticMode
 
double elasticFudge
 
SigmaCache lowEnergyCache
 

Detailed Description

A very simple sub-collision model, assuming static nucleons and just assuring that the individual nucleon-nucleon cross sections are preserved.

Member Function Documentation

SubCollisionSet getCollisions ( Nucleus proj,
Nucleus targ 
)
overridevirtual

Take two nuclei and return the corresponding sub-collisions.

The NaiveSubCollisionModel uses a fixed size, black-disk-like nucleon-nucleon cross section where. Central collisions will always be absorptive, less central will be doubly diffractive, more peripheral will be single diffractive and the most peripheral will be elastic.

Implements SubCollisionModel.


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