 |
Version: SMASH-1.8
|
|
Go to the documentation of this file.
7 #ifndef SRC_INCLUDE_PROCESSBRANCH_H_
8 #define SRC_INCLUDE_PROCESSBRANCH_H_
148 inline void set_weight(
double process_weight);
163 inline double weight()
const;
194 template <
typename Branch>
197 for (
const auto &
p : l) {
353 #endif // SRC_INCLUDE_PROCESSBRANCH_H_
const DecayType & type() const
ParticleList particle_list() const
unsigned int particle_number() const override
virtual unsigned int particle_number() const =0
virtual ~ProcessBranch()=default
Virtual Destructor.
hard string process involving 2->2 QCD process by PYTHIA.
DecayType is the abstract base class for all decay types.
CollisionBranch(double w, ProcessType p_type)
Construct collision branch with empty final state.
double diffractive. Two strings are formed, one from A and one from B.
non-diffractive. Two strings are formed both have ends in A and B.
bool is_string_soft_process(ProcessType p)
Check if a given process type is a soft string excitation.
std::ostream & operator<<(std::ostream &out, const ActionPtr &action)
CollisionBranch(ParticleTypePtrList new_types, double w, ProcessType p_type)
Construct collision branch with a list of particles in final state.
int angular_momentum() const
2->2 inelastic scattering
virtual ProcessType get_type() const =0
const DecayType & type_
Decay type (including final-state particles and angular momentum)
ProcessType get_type() const override
single diffractive AB->XB.
const ParticleTypePtrList & particle_types() const override
int angular_momentum() const
forced thermalization, many particles are replaced by a thermalized ensemble
ProcessBranch(double w)
Create a ProcessBranch with with weight but without final states.
double threshold_
Threshold of the branch.
virtual unsigned int particle_number() const =0
ProcessType get_type() const override
ProcessType process_type_
Process type are used to distinguish different types of processes, e.g.
CollisionBranch(CollisionBranch &&rhs)
The move constructor efficiently moves the particle-type list member.
bremsstrahlung process: a + b -> a + b + photon
DecayBranch(const DecayType &t, double w)
Construct decay branch.
(41-45) soft string excitations.
CollisionBranch(const ParticleType &type_a, const ParticleType &type_b, double w, ProcessType p_type)
Construct collision branch with 2 particles in final state.
virtual const ParticleTypePtrList & particle_types() const =0
ProcessBranch()
Create a ProcessBranch without final states and weight.
a special case of baryon-antibaryon annihilation.
void set_type(ProcessType p_type)
Set the process type.
const ParticleTypePtrList & particle_types() const override
double total_weight(const ProcessBranchList< Branch > &l)
elastic scattering: particles remain the same, only momenta change
unsigned int particle_number() const override
Hypersurface crossing Particles are removed from the evolution and printed to a separate output to se...
CollisionBranch(const ParticleType &type_a, const ParticleType &type_b, const ParticleType &type_c, double w, ProcessType p_type)
Construct collision branch with 3 particles in final state.
void set_weight(double process_weight)
Set the weight of the branch.
DecayBranch(DecayBranch &&rhs)
The move constructor efficiently moves the particle-type list member.
resonance formation (2->1)
CollisionBranch(const ParticleType &type, double w, ProcessType p_type)
Construct collision branch with 1 particle in final state.
double branch_weight_
Weight of the branch, typically a cross section or a branching ratio.
const ParticleTypePtrList & particle_types() const
ParticleTypePtrList particle_types_
List of particles appearing in this process outcome.
ProcessType
Process Types are used to identify the type of the process.