Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // -*- C++ -*-
0002 //
0003 // MatchboxXCombGroup.h is a part of Herwig - A multi-purpose Monte Carlo event generator
0004 // Copyright (C) 2002-2019 The Herwig Collaboration
0005 //
0006 // Herwig is licenced under version 3 of the GPL, see COPYING for details.
0007 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
0008 //
0009 #ifndef Herwig_MatchboxXCombGroup_H
0010 #define Herwig_MatchboxXCombGroup_H
0011 //
0012 // This is the declaration of the MatchboxXCombGroup class.
0013 //
0014 
0015 #include "ThePEG/Handlers/StdXCombGroup.h"
0016 #include "ThePEG/MatrixElement/MEGroup.h"
0017 #include "Herwig/MatrixElement/Matchbox/Utility/MatchboxXCombData.h"
0018 
0019 namespace Herwig {
0020 
0021 using namespace ThePEG;
0022 
0023 /**
0024  * \ingroup Matchbox
0025  * \author Simon Platzer
0026  *
0027  * \brief Matchbox extensions to StandardXComb
0028  */
0029 class MatchboxXCombGroup: public StdXCombGroup, public MatchboxXCombData {
0030 
0031 public:
0032 
0033   /** @name Standard constructors and destructors. */
0034   //@{
0035   /**
0036    * Standard constructor.
0037    */
0038   MatchboxXCombGroup(Energy newMaxEnergy, const cPDPair & inc,
0039              tEHPtr newEventHandler,tSubHdlPtr newSubProcessHandler,
0040              tPExtrPtr newExtractor,    tCascHdlPtr newCKKW,
0041              const PBPair & newPartonBins, tCutsPtr newCuts, tMEGroupPtr newME,
0042              const DiagramVector & newDiagrams, bool mir,
0043              tStdXCombPtr newHead = tStdXCombPtr());
0044 
0045   /**
0046    * Default constructor.
0047    */
0048   MatchboxXCombGroup();
0049   //@}
0050 
0051 public:
0052 
0053   /**
0054    * Reset all saved data about last generated phasespace point;
0055    */
0056   virtual void clean();
0057 
0058 public:
0059 
0060   /** @name Functions used by the persistent I/O system. */
0061   //@{
0062   /**
0063    * Function used to write out object persistently.
0064    * @param os the persistent output stream written to.
0065    */
0066   void persistentOutput(PersistentOStream & os) const;
0067 
0068   /**
0069    * Function used to read in object persistently.
0070    * @param is the persistent input stream read from.
0071    * @param version the version number of the object when written.
0072    */
0073   void persistentInput(PersistentIStream & is, int version);
0074   //@}
0075 
0076   /**
0077    * The standard Init function used to initialize the interfaces.
0078    * Called exactly once for each class by the class description system
0079    * before the main function starts or
0080    * when this class is dynamically loaded.
0081    */
0082   static void Init();
0083 
0084 private:
0085 
0086   /**
0087    * The assignment operator is private and must never be called.
0088    * In fact, it should not even be implemented.
0089    */
0090   MatchboxXCombGroup & operator=(const MatchboxXCombGroup &) = delete;
0091 
0092 };
0093 
0094 }
0095 
0096 #endif /* Herwig_MatchboxXCombGroup_H */