Back to home page

EIC code displayed by LXR

 
 

    


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

0001 namespace Herwig {
0002 using namespace ThePEG;
0003 
0004   /** \ingroup Hadronization
0005    *  \class Kupco
0006    *  \brief Class designed to make STL routines easy to use.
0007    *  \author Philip Stephens
0008    *
0009    *  This class is used to generate a list of the hadron pairs which can
0010    *  be produced that allows easy traversal and quick access.
0011    */
0012   class Kupco {
0013 
0014   public:
0015 
0016     /**
0017      *  Constructor
0018      * @param inidQ PDG code of the quark drawn from the vacuum.
0019      * @param inhad1 ParticleData for the first hadron produced.
0020      * @param inhad2 ParticleData for the second hadron produced.
0021      * @param inwgt  The weight for the hadron pair
0022      */
0023      Kupco(tcPDPtr inidQ,tcPDPtr inhad1,tcPDPtr inhad2, Energy inwgt)
0024       : idQ(inidQ),hadron1(inhad1),hadron2(inhad2),weight(inwgt)
0025     {}
0026 
0027     /**
0028      * id of the quark drawn from the vacuum.
0029      */
0030     tcPDPtr idQ;
0031 
0032     /**
0033      * The ParticleData object for the first hadron produced.
0034      */
0035     tcPDPtr hadron1;
0036 
0037     /**
0038      * The ParticleData object for the second hadron produced.
0039      */
0040     tcPDPtr hadron2;
0041 
0042     /**
0043      * Weight factor of this componation.
0044      */
0045     Energy weight;
0046   };
0047 }