Thermal-FIST  1.3
Package for hadron resonance gas model applications
Public Member Functions | Protected Attributes | List of all members
thermalfist::MomentumDistributionBase Class Referenceabstract

Class implementing the primordial 3-momentum distribution function of certain particle species. More...

#include <MomentumDistribution.h>

Inheritance diagram for thermalfist::MomentumDistributionBase:
thermalfist::BoostInvariantMomentumDistribution thermalfist::SiemensRasmussenDistribution thermalfist::SSHDistribution

Public Member Functions

 MomentumDistributionBase (int pdgid=0, double mass=0.)
 
virtual ~MomentumDistributionBase ()
 Destructor. More...
 
virtual void Normalize ()=0
 Normalizes the momentum distribution to unity. More...
 
virtual double dndp (double p) const =0
 Distribution density over the absolute value of the 3-momentum. More...
 
virtual double dndy (double y) const =0
 Distribution density over the longitudinal rapidity. More...
 
virtual double dnmtdmt (double mt) const =0
 Transverse mass distribution. More...
 
virtual double d2ndptdy (double pt, double y) const =0
 2D distribution density in rapidity and transverse momentum More...
 
bool isNormalized () const
 Whether the distribution has been normalized to unity. More...
 
void SetAcceptance (Acceptance::AcceptanceFunction *acc_, double ycm_=0.)
 

Protected Attributes

int m_PDGID
 PDG code of a particle. More...
 
double m_Mass
 Mass of a particle. More...
 
bool m_Normalized
 Whether the distribution has been normalized to unity. More...
 
Acceptance::AcceptanceFunctionm_acc
 Pointer to acceptance function. More...
 
double m_ycm
 Center-of-mass rapidity for the acceptance function. More...
 
bool m_useacc
 Whether the acceptance functions are used. More...
 

Detailed Description

Class implementing the primordial 3-momentum distribution function of certain particle species.

Assumes that the distribution is azimuthally symmetric

Definition at line 24 of file MomentumDistribution.h.

Constructor & Destructor Documentation

thermalfist::MomentumDistributionBase::MomentumDistributionBase ( int  pdgid = 0,
double  mass = 0. 
)
inline
Parameters
pdgidPDG code of particle
massMass of particle (in GeV)

Definition at line 30 of file MomentumDistribution.h.

virtual thermalfist::MomentumDistributionBase::~MomentumDistributionBase ( )
inlinevirtual

Destructor.

Definition at line 33 of file MomentumDistribution.h.

Member Function Documentation

virtual double thermalfist::MomentumDistributionBase::d2ndptdy ( double  pt,
double  y 
) const
pure virtual

2D distribution density in rapidity and transverse momentum

Implemented in thermalfist::SSHDistribution, thermalfist::BoostInvariantMomentumDistribution, and thermalfist::SiemensRasmussenDistribution.

virtual double thermalfist::MomentumDistributionBase::dndp ( double  p) const
pure virtual

Distribution density over the absolute value of the 3-momentum.

Implemented in thermalfist::SSHDistribution, thermalfist::BoostInvariantMomentumDistribution, and thermalfist::SiemensRasmussenDistribution.

virtual double thermalfist::MomentumDistributionBase::dndy ( double  y) const
pure virtual

Distribution density over the longitudinal rapidity.

Implemented in thermalfist::SSHDistribution, thermalfist::BoostInvariantMomentumDistribution, and thermalfist::SiemensRasmussenDistribution.

virtual double thermalfist::MomentumDistributionBase::dnmtdmt ( double  mt) const
pure virtual
bool thermalfist::MomentumDistributionBase::isNormalized ( ) const
inline

Whether the distribution has been normalized to unity.

Definition at line 51 of file MomentumDistribution.h.

virtual void thermalfist::MomentumDistributionBase::Normalize ( )
pure virtual
void thermalfist::MomentumDistributionBase::SetAcceptance ( Acceptance::AcceptanceFunction acc_,
double  ycm_ = 0. 
)
inline

Acceptance function in y-pT. If set, the y-pT distribution is multiplied by the acceptance

Definition at line 55 of file MomentumDistribution.h.

Member Data Documentation

Acceptance::AcceptanceFunction* thermalfist::MomentumDistributionBase::m_acc
protected

Pointer to acceptance function.

Definition at line 65 of file MomentumDistribution.h.

double thermalfist::MomentumDistributionBase::m_Mass
protected

Mass of a particle.

Definition at line 63 of file MomentumDistribution.h.

bool thermalfist::MomentumDistributionBase::m_Normalized
protected

Whether the distribution has been normalized to unity.

Definition at line 64 of file MomentumDistribution.h.

int thermalfist::MomentumDistributionBase::m_PDGID
protected

PDG code of a particle.

Definition at line 62 of file MomentumDistribution.h.

bool thermalfist::MomentumDistributionBase::m_useacc
protected

Whether the acceptance functions are used.

Definition at line 67 of file MomentumDistribution.h.

double thermalfist::MomentumDistributionBase::m_ycm
protected

Center-of-mass rapidity for the acceptance function.

Definition at line 66 of file MomentumDistribution.h.


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