Thermal-FIST 1.5
Package for hadron resonance gas model applications
Loading...
Searching...
No Matches
thermalfist::RandomGenerators::ParticleMomentumGenerator Class Referenceabstract

Base class for Monte Carlo sampling of particle momenta. More...

#include <RandomGenerators.h>

Inheritance diagram for thermalfist::RandomGenerators::ParticleMomentumGenerator:
thermalfist::RandomGenerators::BoostInvariantHypersurfaceMomentumGenerator thermalfist::RandomGenerators::BoostInvariantMomentumGenerator thermalfist::RandomGenerators::HypersurfaceMomentumGenerator thermalfist::RandomGenerators::SSHMomentumGenerator thermalfist::RandomGenerators::SiemensRasmussenMomentumGenerator thermalfist::RandomGenerators::SiemensRasmussenMomentumGeneratorGeneralized

Public Member Functions

 ParticleMomentumGenerator ()
 Default constructor.
 
virtual ~ParticleMomentumGenerator ()
 Destructor.
 
virtual std::vector< double > GetMomentum (double mass=-1.) const =0
 

Detailed Description

Base class for Monte Carlo sampling of particle momenta.

Definition at line 99 of file RandomGenerators.h.

Constructor & Destructor Documentation

◆ ParticleMomentumGenerator()

thermalfist::RandomGenerators::ParticleMomentumGenerator::ParticleMomentumGenerator ( )
inline

Default constructor.

Definition at line 103 of file RandomGenerators.h.

◆ ~ParticleMomentumGenerator()

virtual thermalfist::RandomGenerators::ParticleMomentumGenerator::~ParticleMomentumGenerator ( )
inlinevirtual

Destructor.

Definition at line 106 of file RandomGenerators.h.

Member Function Documentation

◆ GetMomentum()

virtual std::vector< double > thermalfist::RandomGenerators::ParticleMomentumGenerator::GetMomentum ( double mass = -1.) const
pure virtual

Samples the 3-momentum of a particle

Parameters
massThe mass of a particle. If negative value provided, defaults to the pole/vacuum mass
Returns
std::vector<double> A vector containing the sampled \(p_x\), \(p_y\), \(p_z\) components of the three-momentum, and, additionally, the space-time Cartesian coordinates \(r_0\), \(r_x\), \(r_y\), \(r_z\) in the collision center-of-mass frame

Implemented in thermalfist::RandomGenerators::BoostInvariantHypersurfaceMomentumGenerator, thermalfist::RandomGenerators::BoostInvariantMomentumGenerator, thermalfist::RandomGenerators::HypersurfaceMomentumGenerator, thermalfist::RandomGenerators::SiemensRasmussenMomentumGenerator, thermalfist::RandomGenerators::SiemensRasmussenMomentumGeneratorGeneralized, and thermalfist::RandomGenerators::SSHMomentumGenerator.


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