#include <decaytype.h>
DecayType is the abstract base class for all decay types. 
Definition at line 23 of file decaytype.h.
 
◆ DecayType()
  
  
      
        
          | smash::DecayType::DecayType  | 
          ( | 
          ParticleTypePtrList  | 
          part_types,  | 
         
        
           | 
           | 
          int  | 
          l  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Construct a DecayType. 
- Parameters
 - 
  
    | [in] | part_types | Final-state particles of the decay.  | 
    | [in] | l | Angular momentum of the decay.  | 
  
   
- Returns
 - The constructed object. 
 
Definition at line 32 of file decaytype.h.
ParticleTypePtrList particle_types_
final-state particles of the decay 
 
int L_
angular momentum of the decay 
 
 
 
 
◆ ~DecayType()
  
  
      
        
          | virtual smash::DecayType::~DecayType  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtualdefault   | 
  
 
Virtual Destructor. 
The declaration of the destructor is necessary to make it virtual. 
 
 
◆ particle_number()
  
  
      
        
          | virtual unsigned int smash::DecayType::particle_number  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ has_particles()
  
  
      
        
          | virtual bool smash::DecayType::has_particles  | 
          ( | 
          ParticleTypePtrList  | 
          list | ) | 
           const | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ has_mother()
- Returns
 - if this decay type has the right mother (most decays do not depend on the mother type).
 
- Parameters
 - 
  
    | [in] | mother | Particle type to be checked.  | 
  
   
Reimplemented in smash::ThreeBodyDecayDilepton.
Definition at line 54 of file decaytype.h.
#define SMASH_UNUSED(x)
Mark as unused, silencing compiler warnings. 
 
 
 
 
◆ particle_types()
  
  
      
        
          | const ParticleTypePtrList& smash::DecayType::particle_types  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
- Returns
 - the particle types associated with this branch. 
 
Definition at line 59 of file decaytype.h.
ParticleTypePtrList particle_types_
final-state particles of the decay 
 
 
 
 
◆ angular_momentum()
  
  
      
        
          | int smash::DecayType::angular_momentum  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
- Returns
 - the angular momentum of this branch. 
 
Definition at line 61 of file decaytype.h.
int L_
angular momentum of the decay 
 
 
 
 
◆ width()
  
  
      
        
          | virtual double smash::DecayType::width  | 
          ( | 
          double  | 
          m0,  | 
         
        
           | 
           | 
          double  | 
          G0,  | 
         
        
           | 
           | 
          double  | 
          m  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ in_width()
  
  
      
        
          | virtual double smash::DecayType::in_width  | 
          ( | 
          double  | 
          m0,  | 
         
        
           | 
           | 
          double  | 
          G0,  | 
         
        
           | 
           | 
          double  | 
          m,  | 
         
        
           | 
           | 
          double  | 
          m1,  | 
         
        
           | 
           | 
          double  | 
          m2  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ particle_types_
  
  
      
        
          | ParticleTypePtrList smash::DecayType::particle_types_ | 
         
       
   | 
  
protected   | 
  
 
final-state particles of the decay 
Definition at line 84 of file decaytype.h.
 
 
◆ L_
angular momentum of the decay 
Definition at line 86 of file decaytype.h.
 
 
The documentation for this class was generated from the following file: