Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // -*- C++ -*-
0002 #ifndef HERWIG_MEPP2ZH_H
0003 #define HERWIG_MEPP2ZH_H
0004 //
0005 // This is the declaration of the MEPP2ZH class.
0006 //
0007 
0008 #include "Herwig/MatrixElement/MEfftoVH.h"
0009 
0010 namespace Herwig {
0011 
0012 using namespace ThePEG;
0013 
0014 /**
0015  * The MEPP2ZH class implements the matrix element
0016  * for \f$q\bar{q}\to Z^0h^0\f$.
0017  *
0018  * @see \ref MEPP2ZHInterfaces "The interfaces"
0019  * defined for MEPP2ZH.
0020  */
0021 class MEPP2ZH: public MEfftoVH {
0022 
0023 public:
0024 
0025   /**
0026    * The default constructor.
0027    */
0028   MEPP2ZH();
0029 
0030   /** @name Virtual functions required by the MEBase class. */
0031   //@{
0032   /**
0033    * Add all possible diagrams with the add() function.
0034    */
0035   virtual void getDiagrams() const;
0036   //@}
0037 
0038 public:
0039 
0040   /** @name Functions used by the persistent I/O system. */
0041   //@{
0042   /**
0043    * Function used to write out object persistently.
0044    * @param os the persistent output stream written to.
0045    */
0046   void persistentOutput(PersistentOStream & os) const;
0047 
0048   /**
0049    * Function used to read in object persistently.
0050    * @param is the persistent input stream read from.
0051    * @param version the version number of the object when written.
0052    */
0053   void persistentInput(PersistentIStream & is, int version);
0054   //@}
0055 
0056   /**
0057    * The standard Init function used to initialize the interfaces.
0058    * Called exactly once for each class by the class description system
0059    * before the main function starts or
0060    * when this class is dynamically loaded.
0061    */
0062   static void Init();
0063 
0064 protected:
0065 
0066   /** @name Clone Methods. */
0067   //@{
0068   /**
0069    * Make a simple clone of this object.
0070    * @return a pointer to the new object.
0071    */
0072   virtual IBPtr clone() const { return new_ptr(*this); }
0073 
0074   /** Make a clone of this object, possibly modifying the cloned object
0075    * to make it sane.
0076    * @return a pointer to the new object.
0077    */
0078   virtual IBPtr fullclone() const { return new_ptr(*this); }
0079   //@}
0080 
0081 protected:
0082 
0083   /** @name Standard Interfaced functions. */
0084   //@{
0085   /**
0086    * Initialize this object after the setup phase before saving an
0087    * EventGenerator to disk.
0088    * @throws InitException if object could not be initialized properly.
0089    */
0090   virtual void doinit();
0091   //@}
0092 
0093 private:
0094 
0095   /**
0096    * The assignment operator is private and must never be called.
0097    * In fact, it should not even be implemented.
0098    */
0099   MEPP2ZH & operator=(const MEPP2ZH &) = delete;
0100 
0101 };
0102 
0103 }
0104 
0105 #endif /* HERWIG_MEPP2ZH_H */