Version: SMASH-3.1
particledata.h File Reference
#include <limits>
#include "forwarddeclarations.h"
#include "fourvector.h"
#include "particletype.h"
#include "pdgcode.h"
#include "processbranch.h"

Go to the source code of this file.

Classes

struct  smash::HistoryData
 A structure to hold information about the history of the particle, e.g. More...
 
class  smash::ParticleData
 ParticleData contains the dynamic information of a certain particle. More...
 
struct  smash::PrintParticleListDetailed
 

Namespaces

 smash
 

Enumerations

enum class  smash::BelongsTo : uint8_t { smash::Nothing = 0 , smash::Projectile = 1 , smash::Target = 2 }
 

Functions

std::ostream & smash::operator<< (std::ostream &s, const ParticleData &p)
 Writes the state of the particle to the output stream. More...
 
std::ostream & smash::operator<< (std::ostream &out, const ParticleList &particle_list)
 Writes a compact overview over the particles in the particle_list argument to the stream. More...
 
PrintParticleListDetailed smash::detailed (const ParticleList &list)
 Request the ParticleList to be printed in full detail (i.e. More...
 
std::ostream & smash::operator<< (std::ostream &out, const PrintParticleListDetailed &particle_list)
 Writes a detailed overview over the particles in the particle_list argument to the stream. More...
 
ParticleData smash::create_valid_smash_particle_matching_provided_quantities (PdgCode pdgcode, double mass, const FourVector &four_position, const FourVector &four_momentum, int log_area, bool &mass_warning, bool &on_shell_warning)
 This function creates a SMASH particle validating the provided information. More...
 
bool smash::are_particles_identical_at_given_time (const ParticleData &p1, const ParticleData &p2, double time)
 Utility function to compare two ParticleData instances with respect to their PDG code, 4-position and 4-momenta. More...