Version: SMASH-3.1
particletype.cc File Reference
#include "smash/particletype.h"
#include <assert.h>
#include <algorithm>
#include <map>
#include <vector>
#include "smash/constants.h"
#include "smash/decaymodes.h"
#include "smash/distributions.h"
#include "smash/formfactors.h"
#include "smash/inputfunctions.h"
#include "smash/integrate.h"
#include "smash/iomanipulators.h"
#include "smash/isoparticletype.h"
#include "smash/logging.h"
#include "smash/potential_globals.h"
#include "smash/stringfunctions.h"

Go to the source code of this file.

Namespaces

 smash
 
 smash::anonymous_namespace{particletype.cc}
 

Functions

static std::string smash::antiname (const std::string &name, PdgCode code)
 Construct an antiparticle name-string from the given name-string for the particle and its PDG code. More...
 
static std::string smash::chargestr (int charge)
 Construct a charge string, given the charge as integer. More...
 
std::ostream & smash::operator<< (std::ostream &out, const ParticleType &type)
 
ParticleTypePtrList smash::list_possible_resonances (const ParticleTypePtr type_a, const ParticleTypePtr type_b)
 Lists the possible resonances that decay into two particles. More...
 

Variables

static constexpr int smash::LParticleType = LogArea::ParticleType::id
 
static constexpr int smash::LResonances = LogArea::Resonances::id
 
const ParticleTypeList * smash::anonymous_namespace{particletype.cc}::all_particle_types = nullptr
 Global pointer to the Particle Type list. More...
 
ParticleTypePtrList smash::anonymous_namespace{particletype.cc}::nucleons_list
 Global pointer to the Particle Type list of nucleons. More...
 
ParticleTypePtrList smash::anonymous_namespace{particletype.cc}::anti_nucs_list
 Global pointer to the Particle Type list of anti-nucleons. More...
 
ParticleTypePtrList smash::anonymous_namespace{particletype.cc}::deltas_list
 Global pointer to the Particle Type list of deltas. More...
 
ParticleTypePtrList smash::anonymous_namespace{particletype.cc}::anti_deltas_list
 Global pointer to the Particle Type list of anti-deltas. More...
 
ParticleTypePtrList smash::anonymous_namespace{particletype.cc}::baryon_resonances_list
 Global pointer to the Particle Type list of baryon resonances. More...
 
ParticleTypePtrList smash::anonymous_namespace{particletype.cc}::light_nuclei_list
 Global pointer to the Particle Type list of light nuclei. More...