PYTHIA  8.312
Public Member Functions | List of all members
DecayChannel Class Reference

This class holds info on a single decay channel. More...

#include <ParticleData.h>

Public Member Functions

 DecayChannel (int onModeIn=0, double bRatioIn=0., int meModeIn=0, int prod0=0, int prod1=0, int prod2=0, int prod3=0, int prod4=0, int prod5=0, int prod6=0, int prod7=0)
 Constructor.
 
 DecayChannel (const DecayChannel &oldDC)
 Copy constructor.
 
DecayChanneloperator= (const DecayChannel &oldDC)
 Assignment operator.
 
void onMode (int onModeIn)
 Member functions for input.
 
void bRatio (double bRatioIn, bool countAsChanged=true)
 
void rescaleBR (double fac)
 
void meMode (int meModeIn)
 
void multiplicity (int multIn)
 
void product (int i, int prodIn)
 
void setHasChanged (bool hasChangedIn)
 
int onMode () const
 Member functions for output.
 
double bRatio () const
 
int meMode () const
 
int multiplicity () const
 
int product (int i) const
 
bool hasChanged () const
 
bool contains (int id1) const
 Check for presence of particles anywhere in decay list. More...
 
bool contains (int id1, int id2) const
 
bool contains (int id1, int id2, int id3) const
 
void currentBR (double currentBRIn)
 
double currentBR () const
 
void onShellWidth (double onShellWidthIn)
 Input/output for nominal partial width; used by resonances.
 
double onShellWidth () const
 
void onShellWidthFactor (double factor)
 
void openSec (int idSgn, double openSecIn)
 Input/output for fraction of secondary open widths; used by resonances.
 
double openSec (int idSgn) const
 

Detailed Description

This class holds info on a single decay channel.

Member Function Documentation

bool contains ( int  id1) const

Check for presence of particles anywhere in decay list.

Check whether id1 occurs anywhere in product list.

DecayChannel class. This class holds info on a single decay channel.

bool contains ( int  id1,
int  id2 
) const

Check whether id1 and id2 occur anywhere in product list. iF ID1 == ID2 then two copies of this particle must be present.

bool contains ( int  id1,
int  id2,
int  id3 
) const

Check whether id1, id2 and id3 occur anywhere in product list. iF ID1 == ID2 then two copies of this particle must be present, etc.

void currentBR ( double  currentBRIn)
inline

Input/output for current selection of decay modes. Takes into account on/off switches and dynamic width for resonances.


The documentation for this class was generated from the following files: