Thermal-FIST 1.5
Package for hadron resonance gas model applications
Loading...
Searching...
No Matches
thermalfist::SimpleParticle Struct Reference

Structure holding information about a single particle in the event generator. More...

#include <SimpleParticle.h>

Public Member Functions

 SimpleParticle (double inPx=0., double inPy=0., double inPz=0., double inM=0., long long inPDGID=0., long long inMotherPDGID=0, double inR0=0., double inRx=0., double inRy=0., double inRz=0.)
 Constructs a particle from provided three-momentum, mass, and PDG code.
 
double GetP () const
 Absolute value of the 3-momentum (in GeV)
 
double GetPt () const
 Transverse momentum (in GeV)
 
double GetMt () const
 Transverse mass (in GeV)
 
double GetY () const
 The longitudinal rapidity.
 
double GetEta () const
 The longitudinal pseudorapidity.
 
double GetTau () const
 The longitudinal proper time.
 
double GetEtaS () const
 The longitudinal space-time rapidity.
 
void RapidityBoost (double dY)
 Rapidity boost.
 

Public Attributes

double px
 
double py
 
double pz
 3-momentum components (in GeV)
 
double m
 Mass (in GeV)
 
double p0
 Energy (in GeV)
 
long long PDGID
 PDG code.
 
long long MotherPDGID
 PDG code of a mother particle, if applicable.
 
int epoch
 0 - primary particle, 1 - after decay of primary particles, 2 - after a cascade of two decays and so on...
 
bool processed
 Used in event generator.
 
double r0
 
double rx
 
double ry
 
double rz
 Space-time coordinates.
 

Detailed Description

Structure holding information about a single particle in the event generator.

Definition at line 15 of file SimpleParticle.h.

Constructor & Destructor Documentation

◆ SimpleParticle()

thermalfist::SimpleParticle::SimpleParticle ( double inPx = 0.,
double inPy = 0.,
double inPz = 0.,
double inM = 0.,
long long inPDGID = 0.,
long long inMotherPDGID = 0,
double inR0 = 0.,
double inRx = 0.,
double inRy = 0.,
double inRz = 0. )
inline

Constructs a particle from provided three-momentum, mass, and PDG code.

Definition at line 27 of file SimpleParticle.h.

Member Function Documentation

◆ GetEta()

double thermalfist::SimpleParticle::GetEta ( ) const
inline

The longitudinal pseudorapidity.

Definition at line 60 of file SimpleParticle.h.

◆ GetEtaS()

double thermalfist::SimpleParticle::GetEtaS ( ) const
inline

The longitudinal space-time rapidity.

Definition at line 71 of file SimpleParticle.h.

◆ GetMt()

double thermalfist::SimpleParticle::GetMt ( ) const
inline

Transverse mass (in GeV)

Definition at line 50 of file SimpleParticle.h.

◆ GetP()

double thermalfist::SimpleParticle::GetP ( ) const
inline

Absolute value of the 3-momentum (in GeV)

Definition at line 40 of file SimpleParticle.h.

◆ GetPt()

double thermalfist::SimpleParticle::GetPt ( ) const
inline

Transverse momentum (in GeV)

Definition at line 45 of file SimpleParticle.h.

◆ GetTau()

double thermalfist::SimpleParticle::GetTau ( ) const
inline

The longitudinal proper time.

Definition at line 66 of file SimpleParticle.h.

◆ GetY()

double thermalfist::SimpleParticle::GetY ( ) const
inline

The longitudinal rapidity.

Definition at line 55 of file SimpleParticle.h.

◆ RapidityBoost()

void thermalfist::SimpleParticle::RapidityBoost ( double dY)
inline

Rapidity boost.

Definition at line 76 of file SimpleParticle.h.

Member Data Documentation

◆ epoch

int thermalfist::SimpleParticle::epoch

0 - primary particle, 1 - after decay of primary particles, 2 - after a cascade of two decays and so on...

Definition at line 21 of file SimpleParticle.h.

◆ m

double thermalfist::SimpleParticle::m

Mass (in GeV)

Definition at line 17 of file SimpleParticle.h.

◆ MotherPDGID

long long thermalfist::SimpleParticle::MotherPDGID

PDG code of a mother particle, if applicable.

Definition at line 20 of file SimpleParticle.h.

◆ p0

double thermalfist::SimpleParticle::p0

Energy (in GeV)

Definition at line 18 of file SimpleParticle.h.

◆ PDGID

long long thermalfist::SimpleParticle::PDGID

PDG code.

Definition at line 19 of file SimpleParticle.h.

◆ processed

bool thermalfist::SimpleParticle::processed

Used in event generator.

Definition at line 22 of file SimpleParticle.h.

◆ px

double thermalfist::SimpleParticle::px

Definition at line 16 of file SimpleParticle.h.

◆ py

double thermalfist::SimpleParticle::py

Definition at line 16 of file SimpleParticle.h.

◆ pz

double thermalfist::SimpleParticle::pz

3-momentum components (in GeV)

Definition at line 16 of file SimpleParticle.h.

◆ r0

double thermalfist::SimpleParticle::r0

Definition at line 24 of file SimpleParticle.h.

◆ rx

double thermalfist::SimpleParticle::rx

Definition at line 24 of file SimpleParticle.h.

◆ ry

double thermalfist::SimpleParticle::ry

Definition at line 24 of file SimpleParticle.h.

◆ rz

double thermalfist::SimpleParticle::rz

Space-time coordinates.

Definition at line 24 of file SimpleParticle.h.


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