Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-06 09:23:58

0001 // -*- C++ -*-
0002 #ifndef HERWIG_OmegaXiStarPionDecayer_H
0003 #define HERWIG_OmegaXiStarPionDecayer_H
0004 // This is the declaration of the OmegaXiStarPionDecayer class.
0005 
0006 #include "Baryon1MesonDecayerBase.h"
0007 
0008 namespace Herwig {
0009 using namespace ThePEG;
0010 
0011 /** \ingroup Decay
0012  *
0013  *  The OmegaXiStarPionDecayer class implements the results of
0014  *  hep-ph/0405162 for the weak decay of the \f$\Omega\f$ to the \f$\Xi^*\f$ and a pion.
0015  *
0016  * @see Baryon1MesonDecayerBase
0017  * 
0018  */
0019 class OmegaXiStarPionDecayer: public Baryon1MesonDecayerBase {
0020 
0021 public:
0022 
0023   /**
0024    * Default constructor.
0025    */
0026   OmegaXiStarPionDecayer();
0027 
0028   /**
0029    * Which of the possible decays is required
0030    * @param cc Is this mode the charge conjugate
0031    * @param parent The decaying particle
0032    * @param children The decay products
0033    */
0034   virtual int modeNumber(bool & cc, tcPDPtr parent, 
0035              const tPDVector & children) const;
0036 
0037   /**
0038    * Output the setup information for the particle database
0039    * @param os The stream to output the information to
0040    * @param header Whether or not to output the information for MySQL
0041    */
0042   virtual void dataBaseOutput(ofstream & os,bool header) const;
0043 
0044 public:
0045 
0046   /** @name Functions used by the persistent I/O system. */
0047   //@{
0048   /**
0049    * Function used to write out object persistently.
0050    * @param os the persistent output stream written to.
0051    */
0052   void persistentOutput(PersistentOStream & os) const;
0053 
0054   /**
0055    * Function used to read in object persistently.
0056    * @param is the persistent input stream read from.
0057    * @param version the version number of the object when written.
0058    */
0059   void persistentInput(PersistentIStream & is, int version);
0060   //@}
0061 
0062   /**
0063    * Standard Init function used to initialize the interfaces.
0064    */
0065   static void Init();
0066 
0067 protected:
0068 
0069   /**
0070    *  Coupling Members.
0071    */
0072   //@{
0073   /**
0074    * Couplings for spin-\f$\frac32\f$ to spin-\f$\frac32\f$ and a scalar.
0075    * @param imode The mode
0076    * @param m0 The mass of the decaying particle.
0077    * @param m1 The mass of the outgoing baryon.
0078    * @param m2 The mass of the outgoing meson.
0079    * @param A1 The coupling \f$A_1\f$ described above.
0080    * @param A2 The coupling \f$A_2\f$ described above.
0081    * @param B1 The coupling \f$B_1\f$ described above.
0082    * @param B2 The coupling \f$B_2\f$ described above.
0083    */
0084   virtual void threeHalfThreeHalfScalarCoupling(int imode,Energy m0,Energy m1,Energy m2,
0085                         Complex& A1,Complex& A2,
0086                         Complex& B1,Complex& B2) const;
0087   //@}
0088 
0089 public:
0090 
0091   /** @name Clone Methods. */
0092   //@{
0093   /**
0094    * Make a simple clone of this object.
0095    * @return a pointer to the new object.
0096    */
0097   virtual IBPtr clone() const {return new_ptr(*this);}
0098 
0099   /** Make a clone of this object, possibly modifying the cloned object
0100    * to make it sane.
0101    * @return a pointer to the new object.
0102    */
0103   virtual IBPtr fullclone() const {return new_ptr(*this);}
0104   //@}
0105 
0106 protected:
0107 
0108   /** @name Standard Interfaced functions. */
0109   //@{
0110   /**
0111    * Initialize this object after the setup phase before saving and
0112    * EventGenerator to disk.
0113    * @throws InitException if object could not be initialized properly.
0114    */
0115   virtual void doinit();
0116 
0117   /**
0118    * Initialize this object to the begining of the run phase.
0119    */
0120   virtual void doinitrun();
0121   //@}
0122 
0123 private:
0124 
0125   /**
0126    * Private and non-existent assignment operator.
0127    */
0128   OmegaXiStarPionDecayer & operator=(const OmegaXiStarPionDecayer &) = delete;
0129 
0130 private:
0131 
0132   /**
0133    * The \f$A_{\rm Comm}\f$ amplitude from hep-ph/0405162
0134    */
0135   double Acomm_;
0136 
0137   /**
0138    * The \f$A_P\f$ amplitude from hep-ph/0405162
0139    */
0140   double AP_;
0141 
0142   /**
0143    * The \f$A_S\f$ amplitude from hep-ph/0405162
0144    */
0145   double AS_;
0146 
0147   /**
0148    * The \f$B_P\f$ amplitude from hep-ph/0405162
0149    */
0150   double BP_;
0151 
0152   /**
0153    * The \f$B_S\f$ amplitude from hep-ph/0405162
0154    */
0155   double BS_;
0156   
0157   /**
0158    * PDG code of the incoming baryon
0159    */
0160   int idin_;
0161 
0162   /**
0163    * PDG code of the outgoing baryon
0164    */
0165   int idout_;
0166 
0167   /**
0168    * maximum weight for the decay
0169    */
0170   double wgtmax_;
0171 
0172 };
0173 
0174 }
0175 
0176 
0177 #endif /* HERWIG_OmegaXiStarPionDecayer_H */