Version: SMASH-3.4
action.h File Reference
#include <stdexcept>
#include <utility>
#include <vector>
#include "lattice.h"
#include "particles.h"
#include "pauliblocking.h"
#include "potentials.h"
#include "processbranch.h"
#include "random.h"

Go to the source code of this file.

Classes

class  smash::Action
 Action is the base class for a generic process that takes a number of incoming particles and transforms them into any number of outgoing particles. More...
 
class  smash::Action::InvalidResonanceFormation
 Thrown for example when ScatterAction is called to perform with a wrong number of final-state particles or when the energy is too low to produce the resonance. More...
 
class  smash::Action::StochasticBelowEnergyThreshold
 Exception for a temporary bugfix for when multiparticle interactions do not have the necessary energy to create the final state. More...
 

Namespaces

 smash
 
 smash::detail
 specialize a type for all of the STL containers.
 

Functions

std::vector< ActionPtr > & smash::operator+= (std::vector< ActionPtr > &lhs, std::vector< ActionPtr > &&rhs)
 Append vector of action pointers. More...
 
std::ostream & smash::operator<< (std::ostream &out, const ActionPtr &action)
 Convenience: dereferences the ActionPtr to Action. More...
 
std::ostream & smash::operator<< (std::ostream &out, const ActionList &actions)
 Writes multiple actions to the out stream. More...
 
void smash::detail::sample_manybody_phasespace_impl (double sqrts, const ParticleTypePtrList &types, std::vector< FourVector > &sampled_momenta)
 Implementation of the full n-body phase-space sampling (masses, momenta, angles) in the center-of-mass frame for the final state particles, using the M-method from CERN-68-15, paragraph 9.6. More...
 
void smash::detail::sample_manybody_phasespace_MCMC (const ParticleTypePtrList &types, std::vector< FourVector > &sampled_momenta)
 Metropolis–Hastings sampling of the many body phase space, starting from an initial guess in sampled_momenta that is assumed appropriate. More...
 

Variables

static constexpr int smash::LAction = LogArea::Action::id