Back to home page

EIC code displayed by LXR

 
 

    


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

0001 #ifndef SHERPA_PerturbativePhysics_Shower_Handler_H
0002 #define SHERPA_PerturbativePhysics_Shower_Handler_H
0003 
0004 #include "ATOOLS/Phys/Blob_List.H"
0005 #include "PDF/Main/ISR_Handler.H"
0006 #include "PDF/Main/Shower_Base.H"
0007 
0008 namespace MODEL    { class Model_Base; }
0009 namespace REMNANTS { class Remnants_Handler; }
0010 
0011 namespace SHERPA {
0012 
0013   class Shower_Handler {
0014   private:
0015     PDF::Shower_Base *p_shower;
0016     PDF::ISR_Handler *p_isr;       
0017     std::string m_name;
0018   public:
0019     //constructor
0020     Shower_Handler(MODEL::Model_Base *const,
0021                    PDF::ISR_Handler *const,
0022                    const int isrtype);
0023 
0024     // destructor
0025     ~Shower_Handler();
0026 
0027     // member functions
0028     void  SetRemnants(REMNANTS::Remnant_Handler*);
0029     void  FillBlobs(ATOOLS::Blob_List *const bl);
0030     void  FillDecayBlobs(ATOOLS::Blob_List *const bl);
0031     void  CleanUp();
0032 
0033     // inline functions
0034     inline PDF::Shower_Base  * GetShower()     { return p_shower; }
0035     inline PDF::ISR_Handler  * GetISRHandler() { return p_isr;    }
0036     inline std::string ShowerGenerator()       { return m_name; }
0037     inline bool On()                           { return p_shower!=NULL; }
0038 
0039   };
0040   typedef std::map<PDF::isr::id, Shower_Handler*> Shower_Handler_Map;
0041 
0042 }
0043 
0044 #endif