Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // -*- C++ -*-
0002 #ifndef HERWIG_LHTPFFHVertex_H
0003 #define HERWIG_LHTPFFHVertex_H
0004 //
0005 // This is the declaration of the LHTPFFHVertex class.
0006 //
0007 
0008 #include "LHTPModel.h"
0009 #include "ThePEG/Helicity/Vertex/Scalar/FFSVertex.h"
0010 
0011 namespace Herwig {
0012 
0013 using namespace ThePEG;
0014 
0015 /**
0016  * The LHTPFFHVertex class implements the couplings of the fermions to 
0017  * the Higgs bosons of the Little Higgs model with T-parity.
0018  */
0019 class LHTPFFHVertex: public Helicity::FFSVertex {
0020   
0021 public:
0022   
0023   /**
0024    * The default constructor.
0025    */
0026   LHTPFFHVertex();
0027   
0028   /**
0029    * Calculate the couplings. 
0030    * @param q2 The scale \f$q^2\f$ for the coupling at the vertex.
0031    * @param part1 The ParticleData pointer for the first  particle.
0032    * @param part2 The ParticleData pointer for the second particle.
0033    * @param part3 The ParticleData pointer for the third  particle.
0034    * @param ioff Which particle is off-shell
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 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   /**
0084    * Initialize this object after the setup phase before saving and
0085    * EventGenerator to disk.
0086    * @throws InitException if object could not be initialized properly.
0087    */
0088   virtual void doinit();
0089 
0090 private:
0091 
0092   /**
0093    * The assignment operator is private and must never be called.
0094    * In fact, it should not even be implemented.
0095    */
0096   LHTPFFHVertex & operator=(const LHTPFFHVertex &) = delete;
0097 
0098 private:
0099 
0100   /**
0101    * Pointer to the SM object.
0102    */
0103   tcLHTPModelPtr model_;
0104 
0105   /**
0106    * Storage of the couplings.
0107    */
0108   //@{
0109   /**
0110    *  The PDG code of the last fermion the coupling was evaluated for.
0111    */
0112   int idLast_[2];
0113 
0114   /**
0115    *  The last \f$q^2\f$ the coupling was evaluated at.
0116    */
0117   Energy2 q2Last_;
0118 
0119   /**
0120    * The mass of the last fermion for which the coupling was evaluated.
0121    */
0122   Energy massLast_[2];
0123 
0124   /**
0125    *  The factors for the individual interactions
0126    */
0127   vector<complex<InvEnergy> > coup_;
0128 
0129   /**
0130    *  Left coupling
0131    */
0132   vector<complex<InvEnergy> > cL_;
0133 
0134   /**
0135    *  Right coupling
0136    */
0137   vector<complex<InvEnergy> > cR_;
0138   //@}
0139 };
0140 
0141 }
0142 
0143 #endif /* HERWIG_LHTPFFHVertex_H */