7 #ifndef SRC_INCLUDE_SMASH_DECAYMODES_H_ 
    8 #define SRC_INCLUDE_SMASH_DECAYMODES_H_ 
   40                 ParticleTypePtrList particle_types);
 
   98                                    ParticleTypePtrList particle_types, 
int L);
 
  102     using std::invalid_argument::invalid_argument;
 
  106     using std::runtime_error::runtime_error;
 
  110     using LoadFailure::LoadFailure;
 
  114     using LoadFailure::LoadFailure;
 
The DecayModes class is used to store and update information about decay branches (i....
 
const DecayBranchList & decay_mode_list() const
 
void add_mode(DecayBranchPtr branch)
Add a decay mode from an already existing decay branch.
 
void add_mode(ParticleTypePtr mother, double ratio, int L, ParticleTypePtrList particle_types)
Add a decay mode using all necessary information.
 
bool renormalize(const std::string &name)
Renormalize the branching ratios to add up to 1.
 
static std::vector< DecayModes > * all_decay_modes
A list of all DecayModes objects using the same indexing as all_particle_types.
 
DecayBranchList decay_modes_
Vector of decay modes.
 
static DecayType * get_decay_type(ParticleTypePtr mother, ParticleTypePtrList particle_types, int L)
Retrieve a decay type.
 
static void load_decaymodes(const std::string &input)
Loads the DecayModes map as described in the input string.
 
DecayType is the abstract base class for all decay types.
 
A pointer-like interface to global references to ParticleType objects.
 
const DecayModes & decay_modes() const