Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-06 09:24:25

0001 // -*- C++ -*-
0002 #ifndef HERWIG_Branching_H
0003 #define HERWIG_Branching_H
0004 //
0005 // This is the declaration of the Branching struct.
0006 //
0007 #include "Herwig/Shower/QTilde/ShowerConfig.h"
0008 #include "Herwig/Shower/QTilde/Kinematics/ShowerKinematics.h"
0009 
0010 namespace Herwig {
0011 
0012 using namespace ThePEG;
0013 
0014   /** \ingroup Shower
0015    *  The branching struct is used to store information on the branching.
0016    *  The kinematics variable is a pointer to the ShowerKinematics for the branching
0017    *  The sudakov variable is a pointer to the SudakovFormFactor for the branching
0018    *  The ids  variable is the list of particles in the branching
0019    */
0020   struct Branching {
0021     
0022     /**
0023      *  Pointer to the ShowerKinematics object for the branching
0024      */
0025     ShoKinPtr kinematics;
0026     
0027     /**
0028      *  PDG codes of the particles in the branching
0029      */
0030     IdList ids; 
0031     
0032     /**
0033      *  The SudakovFormFactor for the branching
0034      */
0035     tSudakovPtr sudakov;
0036 
0037     /**
0038      *  The type of radiation line
0039      */
0040     ShowerPartnerType type;
0041 
0042     /**
0043      *  Whether or not it keep from forced hard emisson
0044      */
0045     bool hard;
0046 
0047     /**
0048      *  Which of the children is same as incoming
0049      */
0050     unsigned int iout;
0051     
0052     /**
0053      *  Constructor for the struct
0054      * @param a pointer to the ShowerKinematics object for the branching
0055      * @param c PDG codes of the particles in the branching
0056      * @param d The SudakovFormFactor for the branching
0057      */
0058     Branching(ShoKinPtr a, IdList c,tSudakovPtr d,ShowerPartnerType t) 
0059       : kinematics(a), ids(c), sudakov(d), type(t), hard(false), iout(0) {}
0060     
0061     /**
0062      *  Default constructor
0063      */
0064     Branching() : type(ShowerPartnerType::Undefined), hard(false), iout(0) {}
0065   };
0066 
0067 }
0068 
0069 #endif /* HERWIG_Branching_H */