CbmRoot
ThermalParticleSystem Class Reference

#include <ThermalParticleSystem.h>

Public Member Functions

 ThermalParticleSystem (std::string InputFile="")
 
 ~ThermalParticleSystem (void)
 
std::vector< ParticleDecayGetDecaysFromAntiParticle (const std::vector< ParticleDecay > &Decays)
 
void FillResonanceDecays ()
 
void GoResonance (int ind, int startPDG, double BR)
 
void LoadTHERMUSDatabase (std::string InputFile="")
 
void LoadDatabase (std::string InputFile="")
 
void NormalizeBranchingRatios ()
 
void RestoreBranchingRatios ()
 
std::string GetNameFromPDG (int pdgid)
 

Public Attributes

std::vector< ThermalParticlefParticles
 
std::map< int, int > PDGtoID
 
std::vector< int > IDtoPDG
 
int NumberOfParticles
 

Detailed Description

Definition at line 7 of file ThermalParticleSystem.h.

Constructor & Destructor Documentation

◆ ThermalParticleSystem()

ThermalParticleSystem::ThermalParticleSystem ( std::string  InputFile = "")

◆ ~ThermalParticleSystem()

ThermalParticleSystem::~ThermalParticleSystem ( void  )

Definition at line 30 of file ThermalParticleSystem.cxx.

Member Function Documentation

◆ FillResonanceDecays()

void ThermalParticleSystem::FillResonanceDecays ( )

◆ GetDecaysFromAntiParticle()

std::vector<ParticleDecay> ThermalParticleSystem::GetDecaysFromAntiParticle ( const std::vector< ParticleDecay > &  Decays)
inline

Definition at line 15 of file ThermalParticleSystem.h.

References i, and PDGtoID.

Referenced by LoadDatabase(), and LoadTHERMUSDatabase().

◆ GetNameFromPDG()

std::string ThermalParticleSystem::GetNameFromPDG ( int  pdgid)

Definition at line 316 of file ThermalParticleSystem.cxx.

References fParticles, and PDGtoID.

◆ GoResonance()

void ThermalParticleSystem::GoResonance ( int  ind,
int  startPDG,
double  BR 
)

Definition at line 40 of file ThermalParticleSystem.cxx.

References fParticles, i, and PDGtoID.

Referenced by FillResonanceDecays().

◆ LoadDatabase()

◆ LoadTHERMUSDatabase()

void ThermalParticleSystem::LoadTHERMUSDatabase ( std::string  InputFile = "")

◆ NormalizeBranchingRatios()

void ThermalParticleSystem::NormalizeBranchingRatios ( )
inline

Definition at line 30 of file ThermalParticleSystem.h.

References FillResonanceDecays(), fParticles, and i.

Referenced by ThermalModelBase::SetNormBratio().

◆ RestoreBranchingRatios()

void ThermalParticleSystem::RestoreBranchingRatios ( )
inline

Definition at line 35 of file ThermalParticleSystem.h.

References FillResonanceDecays(), fParticles, and i.

Referenced by ThermalModelBase::SetNormBratio().

Member Data Documentation

◆ fParticles

◆ IDtoPDG

std::vector<int> ThermalParticleSystem::IDtoPDG

◆ NumberOfParticles

int ThermalParticleSystem::NumberOfParticles

Definition at line 27 of file ThermalParticleSystem.h.

Referenced by LoadDatabase(), and LoadTHERMUSDatabase().

◆ PDGtoID

std::map<int, int> ThermalParticleSystem::PDGtoID

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