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

#include <HIUserHooks.h>

Inheritance diagram for Pythia8::MultiRadial:
Pythia8::SubCollisionModel Pythia8::SubCollisionModel

Public Member Functions

 MultiRadial (int NrIn=0)
 
virtual ~MultiRadial ()
 Virtual destructor,.
 
virtual multiset< SubCollisiongetCollisions (vector< Nucleon > &proj, vector< Nucleon > &targ, const Vec4 &bvec, double &T)
 
double Tpt (const Nucleon::State &p, const Nucleon::State &t, double b) const
 
SigEst getSig () const
 Calculate the cross sections for the given set of 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
 
 MultiRadial (int NrIn=0)
 
virtual ~MultiRadial ()
 Virtual destructor,.
 
virtual multiset< SubCollisiongetCollisions (vector< Nucleon > &proj, vector< Nucleon > &targ, const Vec4 &bvec, double &T)
 
double Tpt (const Nucleon::State &p, const Nucleon::State &t, double b) const
 
SigEst getSig () const
 Calculate the cross sections for the given set of 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
 
- 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.
 
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.
 
 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.
 
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.
 

Protected Member Functions

void setProbs ()
 
int choose () const
 Choose a radius.
 
void setProbs ()
 
int choose () const
 Choose a radius.
 

Protected Attributes

int Nr
 The number of radii.
 
vector< double > c
 The probability distribution.
 
vector< double > dR
 The difference between radii.
 
vector< double > T0
 The opacity for different radii.
 
vector< double > phi
 The angles defining the probability distribution for the radii.
 
- 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

A more complicated model where each nucleon has a fluctuating "radius" according to a Strikman-inspired distribution.

Definition at line 719 of file HIUserHooks.h.

Constructor & Destructor Documentation

Pythia8::MultiRadial::MultiRadial ( int  NrIn = 0)
inline

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

Definition at line 725 of file HIUserHooks.h.

Pythia8::MultiRadial::MultiRadial ( int  NrIn = 0)
inline

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

Definition at line 751 of file HIUserHooks.h.

Member Function Documentation

multiset< SubCollision > Pythia8::MultiRadial::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 1050 of file HIUserHooks.cc.

References Pythia8::SubCollisionModel::getCollisions().

virtual multiset<SubCollision> Pythia8::MultiRadial::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.

vector< double > Pythia8::MultiRadial::getParm ( ) const
virtual

Return the current parameters and the minimum and maximum allowed values for the parameters of this model.

Reimplemented from Pythia8::SubCollisionModel.

Definition at line 1007 of file HIUserHooks.cc.

References dR, Nr, phi, and T0.

virtual vector<double> Pythia8::MultiRadial::getParm ( ) const
virtual

Return the current parameters and the minimum and maximum allowed values for the parameters of this model.

Reimplemented from Pythia8::SubCollisionModel.

double Pythia8::MultiRadial::Tpt ( const Nucleon::State p,
const Nucleon::State t,
double  b 
) const
inline

Return the elastic amplitude for a projectile and target state and the impact parameter between the corresponding nucleons.

Definition at line 742 of file HIUserHooks.h.

double Pythia8::MultiRadial::Tpt ( const Nucleon::State p,
const Nucleon::State t,
double  b 
) const
inline

Return the elastic amplitude for a projectile and target state and the impact parameter between the corresponding nucleons.

Definition at line 768 of file HIUserHooks.h.


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