Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // -*- C++ -*-
0002 //
0003 // GenericVVVVertex.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_GenericVVVVertex_H
0010 #define HERWIG_GenericVVVVertex_H
0011 //
0012 // This is the declaration of the GenericSVVVertex class.
0013 //
0014 
0015 #include "ThePEG/Helicity/Vertex/Vector/VVVVertex.h"
0016 
0017 
0018 
0019 namespace Herwig {
0020 using namespace ThePEG;
0021 
0022 /**
0023  * The <code>GenericVVVVertex</code> class implements the 
0024  * setCoupling member for the Standard Model effective 
0025  * vertex EWVector-gluon-gluon. 
0026  */
0027 class GenericVVVVertex: public Helicity::VVVVertex {
0028   
0029 public:
0030 
0031   /**
0032    * The default constructor.
0033    */
0034   GenericVVVVertex();
0035 
0036   /** @name Functions used by the persistent I/O system. */
0037   //@{
0038   /**
0039    * Function used to write out object persistently.
0040    * @param os the persistent output stream written to.
0041    */
0042   void persistentOutput(PersistentOStream & os) const;
0043 
0044   /**
0045    * Function used to read in object persistently.
0046    * @param is the persistent input stream read from.
0047    * @param version the version number of the object when written.
0048    */
0049   void persistentInput(PersistentIStream & is, int version);
0050   //@}
0051 
0052   /**
0053    * The standard Init function used to initialize the interfaces.
0054    * Called exactly once for each class by the class description system
0055    * before the main function starts or
0056    * when this class is dynamically loaded.
0057    */
0058   static void Init();
0059 
0060   /** 
0061    * Calculate couplings
0062    *@param q2 Scale at which to evaluate coupling
0063    *@param part1 ParticleData pointer to first particle
0064    *@param part2 ParticleData pointer to first particle
0065    *@param part3 ParticleData pointer to first particle
0066    */
0067   virtual void setCoupling (Energy2 q2, tcPDPtr part1, tcPDPtr part2, tcPDPtr part3);
0068 
0069 protected:
0070 
0071   /** @name Clone Methods. */
0072   //@{
0073   /**
0074    * Make a simple clone of this object.
0075    * @return a pointer to the new object.
0076    */
0077   virtual IBPtr clone() const {return new_ptr(*this);}
0078 
0079   /** Make a clone of this object, possibly modifying the cloned object
0080    * to make it sane.
0081    * @return a pointer to the new object.
0082    */
0083   virtual IBPtr fullclone() const {return new_ptr(*this);}
0084   //@}
0085 
0086   /**
0087    * Initialize this object after the setup phase before saving and
0088    * EventGenerator to disk.
0089    * @throws InitException if object could not be initialized properly.
0090    */
0091   virtual void doinit();
0092   
0093   
0094   string dopids(string in);
0095 
0096 private:
0097   /**
0098    * The assignment operator is private and must never be called.
0099    * In fact, it should not even be implemented.
0100    */
0101   GenericVVVVertex & operator=(const GenericVVVVertex &) = delete;
0102 
0103   /**
0104    * Storage of couplings
0105    */
0106   //@{
0107 
0108   
0109   /**
0110    * The particle ids 
0111    */
0112   vector <int> pids;
0113 
0114   /**
0115    * The particle ids 
0116    */
0117   int oas,oaew;
0118 
0119 
0120 };
0121 
0122 }
0123 
0124 // CLASSDOC OFF
0125 
0126 #endif /* HERWIG_GenericVVVVertex_H */