Version: SMASH-3.1
particledata.cc File Reference
#include "smash/particledata.h"
#include <iomanip>
#include <iostream>
#include <optional>
#include <vector>
#include "smash/constants.h"
#include "smash/iomanipulators.h"
#include "smash/logging.h"
#include "smash/numerics.h"

Go to the source code of this file.

Namespaces

 smash
 

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...
 
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...