Thermal-FIST 1.5
Package for hadron resonance gas model applications
Loading...
Searching...
No Matches
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::SSHDistribution thermalfist::SiemensRasmussenDistribution

Public Member Functions

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

Protected Attributes

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

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

◆ MomentumDistributionBase()

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.

◆ ~MomentumDistributionBase()

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

Destructor.

Definition at line 33 of file MomentumDistribution.h.

Member Function Documentation

◆ d2ndptdy()

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

2D distribution density in rapidity and transverse momentum

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

◆ dndp()

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

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

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

◆ dndy()

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

Distribution density over the longitudinal rapidity.

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

◆ dnmtdmt()

virtual double thermalfist::MomentumDistributionBase::dnmtdmt ( double mt) const
pure virtual

◆ isNormalized()

bool thermalfist::MomentumDistributionBase::isNormalized ( ) const
inline

Whether the distribution has been normalized to unity.

Definition at line 51 of file MomentumDistribution.h.

◆ Normalize()

virtual void thermalfist::MomentumDistributionBase::Normalize ( )
pure virtual

◆ SetAcceptance()

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

◆ m_acc

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

Pointer to acceptance function.

Definition at line 65 of file MomentumDistribution.h.

◆ m_Mass

double thermalfist::MomentumDistributionBase::m_Mass
protected

Mass of a particle.

Definition at line 63 of file MomentumDistribution.h.

◆ m_Normalized

bool thermalfist::MomentumDistributionBase::m_Normalized
protected

Whether the distribution has been normalized to unity.

Definition at line 64 of file MomentumDistribution.h.

◆ m_PDGID

int thermalfist::MomentumDistributionBase::m_PDGID
protected

PDG code of a particle.

Definition at line 62 of file MomentumDistribution.h.

◆ m_useacc

bool thermalfist::MomentumDistributionBase::m_useacc
protected

Whether the acceptance functions are used.

Definition at line 67 of file MomentumDistribution.h.

◆ m_ycm

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: