32 double time_last_coll,
33 const ParticleList &plist) {
72 double time_of_interest =
position_.
x0() + delta_time;
74 double scaling_factor;
104 return scaling_factor;
110 <<
")" << std::right <<
"{id:" << field<6> << p.
id()
118 std::ostream &
operator<<(std::ostream &out,
const ParticleList &particle_list) {
119 auto column = out.tellp();
121 for (
const auto &
p : particle_list) {
122 if (out.tellp() - column >= 201) {
124 column = out.tellp();
127 out << std::setw(5) << std::setprecision(3) <<
p.momentum().abs3()
137 for (
const auto &
p : particle_list.
list) {
double formation_time() const
Get the absolute formation time of the particle.
uint32_t id_process() const
Get the id of the last action.
double begin_formation_time_
time when the cross section scaling factor starts to increase to 1
double diffractive. Two strings are formed, one from A and one from B.
constexpr double really_small
Numerical error tolerance.
const ParticleList & list
Particle list.
const FourVector & position() const
Get the particle's position in Minkowski space.
ProcessType
Process Types are used to identify the type of the process.
Collection of useful constants that are known at compile time.
a special case of baryon-antibaryon annihilation.
double abs() const
calculate the lorentz invariant absolute value
PdgCode p2
PdgCode of the second parent particles.
2->2 inelastic scattering
forced thermalization, many particles are replaced by a thermalized ensemble
HistoryData history_
history information
PdgCode p1
PdgCode of the first parent particles.
double effective_mass() const
Get the particle's effective mass.
FourVector position_
position in space: x0, x1, x2, x3 as t, x, y, z
elastic scattering: particles remain the same, only momenta change
int32_t id_process
id of the last action
double formation_time_
Formation time at which the particle is fully formed given as an absolute value in the computational ...
const std::string & name() const
double time_last_collision
Time of the last action (excluding walls), time of kinetic freeze_out for HBT analysis this time shou...
double xsec_scaling_factor(double delta_time=0.) const
Return the cross section scaling factor at a given time.
double initial_xsec_scaling_factor_
Initial cross section scaling factor.
hard string process involving 2->2 QCD process by PYTHIA.
static double formation_power_
Power with which the cross section scaling factor grows in time.
ProcessType process_type
type of the last action
const ParticleType & type() const
Get the type of the particle.
double pole_mass() const
Get the particle's pole mass ("on-shell").
resonance formation (2->1)
single diffractive AB->XB.
std::ostream & operator<<(std::ostream &out, const ActionPtr &action)
Convenience: dereferences the ActionPtr to Action.
non-diffractive. Two strings are formed both have ends in A and B.
int32_t id() const
Get the id of the particle.
void set_history(int ncoll, uint32_t pid, ProcessType pt, double time_of_or, const ParticleList &plist)
Store history information.
ParticleData contains the dynamic information of a certain particle.
(41-45) soft string excitations.
int32_t collisions_per_particle
Collision counter per particle, zero only for initially present particles.
const FourVector & momentum() const
Get the particle's 4-momentum.