StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
Pythia8::BlackSubCollisionModel Class Reference

#include <HIUserHooks.h>

Inheritance diagram for Pythia8::BlackSubCollisionModel:
Pythia8::SubCollisionModel

Public Member Functions

 BlackSubCollisionModel ()
 
virtual ~BlackSubCollisionModel ()
 Virtual destructor,.
 
virtual multiset< SubCollisiongetCollisions (vector< Nucleon > &proj, vector< Nucleon > &targ, const Vec4 &bvec, double &T)
 
- Public Member Functions inherited from Pythia8::SubCollisionModel
 SubCollisionModel ()
 The default constructor is empty.
 
virtual ~SubCollisionModel ()
 Virtual destructor,.
 
virtual bool init ()
 Virtual init method.
 
void initPtr (NucleusModel &projIn, NucleusModel &targIn, SigmaTotal &sigTotIn, Settings &settingsIn, Info &infoIn, Rndm &rndIn)
 
double sigTot () const
 The total cross section. More...
 
double sigEl () const
 The total cross section.
 
double sigCDE () const
 The central diffractive excitation cross section.
 
double sigSDE () const
 The single diffractive excitation cross section (both sides summed).
 
double sigSDEP () const
 The single diffractive excitation cross section (excited projectile).
 
double sigSDET () const
 The single diffractive excitation cross section (excited target).
 
double sigDDE () const
 The double diffractive excitation cross section.
 
double sigND () const
 The non-diffractive (absorptive) cross section.
 
double bSlope () const
 The elastic b-slope parameter.
 
virtual SigEst getSig () const
 Calculate the cross sections for the given set of parameters.
 
double avNDB () const
 Return the average non-diffractive impact parameter.
 
double Chi2 (const SigEst &sigs, int npar) const
 Calculate the Chi2 for the given cross section estimates.
 
virtual bool evolve ()
 Use a simlified genetic algorithm to fit the parameters.
 
virtual void setParm (const vector< double > &)
 Set the parameters of this model.
 
virtual vector< double > getParm () const
 
virtual vector< double > minParm () const
 
virtual vector< double > maxParm () const
 
 SubCollisionModel ()
 The default constructor is empty.
 
virtual ~SubCollisionModel ()
 Virtual destructor,.
 
virtual bool init ()
 Virtual init method.
 
void initPtr (NucleusModel &projIn, NucleusModel &targIn, SigmaTotal &sigTotIn, Settings &settingsIn, Info &infoIn, Rndm &rndIn)
 
double sigTot () const
 The total cross section. More...
 
double sigEl () const
 The total cross section.
 
double sigCDE () const
 The central diffractive excitation cross section.
 
double sigSDE () const
 The single diffractive excitation cross section (both sides summed).
 
double sigSDEP () const
 The single diffractive excitation cross section (excited projectile).
 
double sigSDET () const
 The single diffractive excitation cross section (excited target).
 
double sigDDE () const
 The double diffractive excitation cross section.
 
double sigND () const
 The non-diffractive (absorptive) cross section.
 
double bSlope () const
 The elastic b-slope parameter.
 
virtual SigEst getSig () const
 Calculate the cross sections for the given set of parameters.
 
double avNDB () const
 Return the average non-diffractive impact parameter.
 
double Chi2 (const SigEst &sigs, int npar) const
 Calculate the Chi2 for the given cross section estimates.
 
virtual bool evolve ()
 Use a simlified genetic algorithm to fit the parameters.
 
virtual void setParm (const vector< double > &)
 Set the parameters of this model.
 
virtual vector< double > getParm () const
 
virtual vector< double > minParm () const
 
virtual vector< double > maxParm () const
 

Additional Inherited Members

- Protected Attributes inherited from Pythia8::SubCollisionModel
int NInt
 
int NGen
 
int NPop
 
double sigFuzz
 
bool fitPrint
 
double avNDb
 
NucleusModelprojPtr
 Info from the controlling HeavyIons object.
 
NucleusModeltargPtr
 
SigmaTotalsigTotPtr
 
SettingssettingsPtr
 
InfoinfoPtr
 
RndmrndPtr
 

Detailed Description

The most naive sub-collision model, asuming static nucleons and the absorptive cross section equal to the total inelastic. No fluctuations, meaning no diffraction.

Definition at line 607 of file HIUserHooks.h.

Constructor & Destructor Documentation

Pythia8::BlackSubCollisionModel::BlackSubCollisionModel ( )
inline

The default constructor simply lists the nucleon-nucleon cross sections.

Definition at line 613 of file HIUserHooks.h.

Member Function Documentation

multiset< SubCollision > Pythia8::BlackSubCollisionModel::getCollisions ( vector< Nucleon > &  proj,
vector< Nucleon > &  targ,
const Vec4 bvec,
double &  T 
)
virtual

Take two vectors of Nucleons and an impact parameter vector and produce the corrsponding sub-collisions. Note that states of the nucleons may be changed.

Implements Pythia8::SubCollisionModel.

Definition at line 542 of file HIUserHooks.cc.

References Pythia8::SubCollision::ABS, Pythia8::SubCollisionModel::avNDb, Pythia8::Nucleon::bPos(), Pythia8::SubCollision::ELASTIC, Pythia8::SubCollisionModel::getCollisions(), Pythia8::SubCollisionModel::sigEl(), and Pythia8::SubCollisionModel::sigTot().


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