Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-19 09:10:14

0001 #ifndef SHERPA_Single_Events_Hadronization_H
0002 #define SHERPA_Single_Events_Hadronization_H
0003 
0004 #include "SHERPA/Single_Events/Event_Phase_Handler.H"
0005 #include "SHERPA/SoftPhysics/Colour_Reconnection_Handler.H"
0006 #include "ATOOLS/Phys/Fragmentation_Base.H"
0007 #include "SHERPA/SoftPhysics/Singlet_Sorter.H"
0008 
0009 namespace SHERPA {
0010   class Hadronization : public Event_Phase_Handler {
0011   private :
0012     bool m_on;
0013     Colour_Reconnection_Handler * p_reconnectionhandler;
0014     ATOOLS::Fragmentation_Base  * p_fragmentationhandler;
0015     Singlet_Sorter                m_singlets;
0016   public :
0017     Hadronization(Colour_Reconnection_Handler *,
0018           ATOOLS::Fragmentation_Base *);
0019     ~Hadronization();
0020     ATOOLS::Return_Value::code Treat(ATOOLS::Blob_List*);
0021     void                       CleanUp(const size_t & mode=0);
0022     void                       Finish(const std::string &);
0023   };
0024 
0025 
0026   /*!
0027     \file 
0028     \brief Contains the class SHERPA::Hadronization
0029   */
0030 
0031   /*!
0032     \class Hadronization
0033     \brief The specific Event_Phase_Handler responsible for the translation of partons
0034            into hadrons.
0035 
0036     This is the single event phase that manages the hadronization stage, i.e. the translation
0037     of partons into hadrons. For this, it needs some idea on how to treat the remanants of
0038     eventually coloured incoming beams (like protons) and a fragmentation handler.
0039   */
0040   /*!
0041     \var Fragmentation_Handler * Hadronization::p_fragmentationhandler
0042     A pointer to the Fragmentation_Handler, filled by the constructor.
0043   */
0044   /*!
0045     \fn Hadronization::Hadronization(Fragmentation_Handler *)
0046     Copies the pointer to the fragmentation handler and sets the
0047     name and the type of this event phase. The name is given by 
0048     "Hadronization : " plus the name of the fragmentation model, the type is "Hadronization".
0049   */
0050   /*!
0051     \fn Hadronization::~Hadronization()
0052     Nothing to be done in the destructor so far.
0053   */
0054   /*!
0055     \fn bool Hadronization::Treat(ATOOLS::Blob_List*)
0056     This method basically passes the blob list to the method Hadronize of the fragmentation handler.
0057   */
0058   /*!
0059     \fn void Hadronization::CleanUp()
0060     Nothing has to be done here.
0061   */
0062 }
0063 #endif
0064