Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // -*- C++ -*-
0002 //
0003 // SSCFSVertex.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_SSCFSVertex_H
0010 #define HERWIG_SSCFSVertex_H
0011 //
0012 // This is the declaration of the SSCFSVertex class.
0013 //
0014 
0015 #include "ThePEG/Helicity/Vertex/Scalar/FFSVertex.h"
0016 #include "MSSM.h"
0017 
0018 namespace Herwig {
0019 using namespace ThePEG;
0020 
0021 /**
0022  * This is the implementation of the coupling of the charginos to fermion-
0023  * sfermions. It inherits from FFSVertex and implements the virtual 
0024  * setCoupling member
0025  *
0026  * @see FFSVertex
0027  */
0028 class SSCFSVertex: public FFSVertex {
0029 
0030 public:
0031 
0032   /**
0033    * The default constructor.
0034    */
0035   SSCFSVertex();
0036 
0037 public:
0038 
0039   /** @name Functions used by the persistent I/O system. */
0040   //@{
0041   /**
0042    * Function used to write out object persistently.
0043    * @param os the persistent output stream written to.
0044    */
0045   void persistentOutput(PersistentOStream & os) const;
0046 
0047   /**
0048    * Function used to read in object persistently.
0049    * @param is the persistent input stream read from.
0050    * @param version the version number of the object when written.
0051    */
0052   void persistentInput(PersistentIStream & is, int version);
0053   //@}
0054 
0055   /**
0056    * The standard Init function used to initialize the interfaces.
0057    * Called exactly once for each class by the class description system
0058    * before the main function starts or
0059    * when this class is dynamically loaded.
0060    */
0061   static void Init();
0062 
0063   /**
0064    * Calculate the couplings.
0065    * @param q2 The scale \f$q^2\f$ for the coupling at the vertex.
0066    * @param part1 The ParticleData pointer for the first  particle.
0067    * @param part2 The ParticleData pointer for the second particle.
0068    * @param part3 The ParticleData pointer for the third  particle.
0069    */
0070   virtual void setCoupling(Energy2 q2,tcPDPtr part1,
0071                            tcPDPtr part2,tcPDPtr part3);
0072   
0073 protected:
0074 
0075   /** @name Clone Methods. */
0076   //@{
0077   /**
0078    * Make a simple clone of this object.
0079    * @return a pointer to the new object.
0080    */
0081   virtual IBPtr clone() const {return new_ptr(*this);}
0082 
0083   /** Make a clone of this object, possibly modifying the cloned object
0084    * to make it sane.
0085    * @return a pointer to the new object.
0086    */
0087   virtual IBPtr fullclone() const {return new_ptr(*this);}
0088   //@}
0089 
0090 
0091 protected:
0092 
0093   /** @name Standard Interfaced functions. */
0094   //@{
0095   /**
0096    * Initialize this object after the setup phase before saving an
0097    * EventGenerator to disk.
0098    * @throws InitException if object could not be initialized properly.
0099    */
0100   virtual void doinit();
0101   //@}
0102 
0103 private:
0104 
0105   /**
0106    * The assignment operator is private and must never be called.
0107    * In fact, it should not even be implemented.
0108    */
0109   SSCFSVertex & operator=(const SSCFSVertex &) = delete;
0110 
0111   /**
0112    * Pointer to the MSSM object
0113    */
0114   tMSSMPtr _theSS;
0115 
0116   /**
0117    * \f$\sin(\beta)\f$
0118    */
0119   double _sb;
0120 
0121   /**
0122    * \f$\cos(\beta)\f$
0123    */
0124   double _cb;
0125 
0126   /**
0127    * Mass of the W
0128    */
0129   Energy _mw;
0130   
0131   /**
0132    * Pointer to stop mixing matrix
0133    */
0134   tMixingMatrixPtr _stop;
0135   
0136   /**
0137    * Pointer to sbottom mixing matrix
0138    */
0139   tMixingMatrixPtr _sbot;
0140 
0141   /**
0142    * Pointer to stau mixing matrix 
0143    */
0144   tMixingMatrixPtr _stau;
0145 
0146   /**
0147    * Pointer to U chargino mixing matrix 
0148    */
0149   tMixingMatrixPtr _umix;
0150 
0151   /**
0152    * Pointer to V chargino mixing matrix
0153    */
0154   tMixingMatrixPtr _vmix;
0155 
0156   /**
0157    * The energy scale at which the coupling 
0158    * was last evaluated 
0159    */
0160   Energy2 _q2last;
0161 
0162   /**
0163    * The value of the coupling at the scale last evaluated
0164    */
0165   Complex _couplast;
0166 
0167   /**
0168    * The value of the left coupling when last evaluated
0169    */
0170   Complex _leftlast;
0171 
0172   /**
0173    * The value of the right coupling when last evaluated
0174    */
0175   Complex _rightlast;
0176 
0177   /**
0178    * Id of the last sm fermion that the coupling was evaluated for 
0179    */
0180   long _id1last; 
0181 
0182   /**
0183    * Id of the last scalar that the coupling was evaluated for 
0184    */
0185   long _id2last; 
0186   
0187   /**
0188    * Id of the last chargino that the coupling was evaluated for 
0189    */
0190   long _id3last; 
0191 
0192   /**
0193    *  Include Yukawa's ?
0194    */
0195   unsigned int yukawa_;
0196 };
0197 }
0198 
0199 #endif /* HERWIG_SSCFSVertex_H */