Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // -*- C++ -*-
0002 #ifndef Herwig_DMMediatorQuarksVertex_H
0003 #define Herwig_DMMediatorQuarksVertex_H
0004 //
0005 // This is the declaration of the DMMediatorQuarksVertex class.
0006 //
0007 
0008 #include "ThePEG/Helicity/Vertex/Vector/FFVVertex.h"
0009 
0010 namespace Herwig {
0011 
0012 using namespace ThePEG;
0013 
0014 /**
0015  * The DMMediatorQuarksVertex class implements the couplings of the quarks to the mediator 
0016  *
0017  * @see \ref DMMediatorQuarksVertexInterfaces "The interfaces"
0018  * defined for DMMediatorQuarksVertex.
0019  */
0020 class DMMediatorQuarksVertex: public FFVVertex {
0021 
0022 public:
0023 
0024   /**
0025    * The default constructor.
0026    */
0027   DMMediatorQuarksVertex();
0028   
0029   /**
0030    * Calculate the couplings. 
0031    * @param q2 The scale \f$q^2\f$ for the coupling at the vertex.
0032    * @param part1 The ParticleData pointer for the first  particle.
0033    * @param part2 The ParticleData pointer for the second particle.
0034    * @param part3 The ParticleData pointer for the third  particle.
0035    */
0036   virtual void setCoupling(Energy2 q2,tcPDPtr part1,tcPDPtr part2,tcPDPtr part3);
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 Standard Interfaced functions. */
0067   //@{
0068   /**
0069    * Initialize this object after the setup phase before saving an
0070    * EventGenerator to disk.
0071    * @throws InitException if object could not be initialized properly.
0072    */
0073   virtual void doinit();
0074   //@}
0075 
0076 protected:
0077 
0078   /** @name Clone Methods. */
0079   //@{
0080   /**
0081    * Make a simple clone of this object.
0082    * @return a pointer to the new object.
0083    */
0084   virtual IBPtr clone() const;
0085 
0086   /** Make a clone of this object, possibly modifying the cloned object
0087    * to make it sane.
0088    * @return a pointer to the new object.
0089    */
0090   virtual IBPtr fullclone() const;
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   DMMediatorQuarksVertex & operator=(const DMMediatorQuarksVertex &) = delete;
0100 
0101   /**                           
0102    * SM couplings to the dark mediator
0103    */
0104   vector<double> cSMmed_;
0105   //@}
0106   
0107 };
0108 
0109 }
0110 
0111 #endif /* Herwig_DMMediatorQuarksVertex_H */