Thermal-FIST  1.3
Package for hadron resonance gas model applications
Public Member Functions | Public Attributes | List of all members
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)
 Constructs a particle from provided three-momentum, mass, and PDG code. More...
 
double GetP () const
 Absolute value of the 3-momentum (in GeV) More...
 
double GetPt () const
 Transverse momentum (in GeV) More...
 
double GetMt () const
 Transverse mass (in GeV) More...
 
double GetY () const
 The longitudinal rapidity. More...
 
double GetEta () const
 The longitudinal pseudorapidity. More...
 
void RapidityBoost (double dY)
 Rapidity boost. More...
 

Public Attributes

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

Detailed Description

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

Definition at line 15 of file SimpleParticle.h.

Constructor & Destructor Documentation

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

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

Definition at line 25 of file SimpleParticle.h.

Member Function Documentation

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

The longitudinal pseudorapidity.

Definition at line 54 of file SimpleParticle.h.

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

Transverse mass (in GeV)

Definition at line 44 of file SimpleParticle.h.

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

Absolute value of the 3-momentum (in GeV)

Definition at line 34 of file SimpleParticle.h.

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

Transverse momentum (in GeV)

Definition at line 39 of file SimpleParticle.h.

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

The longitudinal rapidity.

Definition at line 49 of file SimpleParticle.h.

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

Rapidity boost.

Definition at line 60 of file SimpleParticle.h.

Member Data Documentation

int thermalfist::SimpleParticle::epoch

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

Definition at line 21 of file SimpleParticle.h.

double thermalfist::SimpleParticle::m

Mass (in GeV)

Definition at line 17 of file SimpleParticle.h.

long long thermalfist::SimpleParticle::MotherPDGID

PDG code of a mother particle, if applicable.

Definition at line 20 of file SimpleParticle.h.

double thermalfist::SimpleParticle::p0

Energy (in GeV)

Definition at line 18 of file SimpleParticle.h.

long long thermalfist::SimpleParticle::PDGID

PDG code.

Definition at line 19 of file SimpleParticle.h.

bool thermalfist::SimpleParticle::processed

Used in event generator.

Definition at line 22 of file SimpleParticle.h.

double thermalfist::SimpleParticle::px

Definition at line 16 of file SimpleParticle.h.

double thermalfist::SimpleParticle::py

Definition at line 16 of file SimpleParticle.h.

double thermalfist::SimpleParticle::pz

3-momentum components (in GeV)

Definition at line 16 of file SimpleParticle.h.


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