Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // -*- C++ -*-
0002 #ifndef HERWIG_ChengHeavyBaryonFormFactor_H
0003 #define HERWIG_ChengHeavyBaryonFormFactor_H
0004 //
0005 // This is the declaration of the ChengHeavyBaryonFormFactor class.
0006 //
0007 
0008 #include "BaryonFormFactor.h"
0009 #include "ThePEG/PDT/ParticleData.h"
0010 
0011 namespace Herwig {
0012 using namespace ThePEG;
0013 
0014   /** \ingroup Decay
0015    *
0016    *  The ChengHeavyBaryonFormFactor class implements the form-factors
0017    *  from PRD53, 1457 and PRD56, 2799 for the semi-leptonic decay of bottom
0018    *  and charm hadrons. It is also intended for use with the results in PRD56, 2799
0019    *  for non-leptonic decays using the factorization approximation.
0020    *
0021    * @see BaryonFormFactor
0022    */
0023 
0024 class ChengHeavyBaryonFormFactor: public BaryonFormFactor {
0025 
0026 public:
0027 
0028   /**
0029    * Default constructor
0030    */
0031   ChengHeavyBaryonFormFactor();
0032 
0033   /** @name Functions used by the persistent I/O system. */
0034   //@{
0035   /**
0036    * Function used to write out object persistently.
0037    * @param os the persistent output stream written to.
0038    */
0039   void persistentOutput(PersistentOStream & os) const;
0040 
0041   /**
0042    * Function used to read in object persistently.
0043    * @param is the persistent input stream read from.
0044    * @param version the version number of the object when written.
0045    */
0046   void persistentInput(PersistentIStream & is, int version);
0047   //@}
0048 
0049   /**
0050    * Standard Init function used to initialize the interfaces.
0051    */
0052   static void Init();
0053 
0054 public:
0055 
0056   /** @name Form Factors */
0057   //@{
0058   /**
0059    * The form factor for the weak decay of a spin \f$\frac12\f$ baryon to a 
0060    * spin \f$\frac12\f$ baryon.  
0061    * @param q2 The scale \f$q^2\f$.
0062    * @param iloc The location in the form factor list.
0063    * @param id0 The PDG code of the incoming baryon.
0064    * @param id1 The PDG code of the outgoing baryon.
0065    * @param m0 The mass of the incoming baryon.
0066    * @param m1 The mass of the outgoing baryon.
0067    * @param f1v The form factor \f$F^V_1\f$.
0068    * @param f2v The form factor \f$F^V_2\f$.
0069    * @param f3v The form factor \f$F^V_3\f$.
0070    * @param f1a The form factor \f$F^A_1\f$.
0071    * @param f2a The form factor \f$F^A_2\f$.
0072    * @param f3a The form factor \f$F^A_3\f$.
0073    * @param virt Whether the q2 is space or timelike
0074    */
0075   virtual void SpinHalfSpinHalfFormFactor(Energy2 q2,int iloc, int id0, int id1,
0076                       Energy m0, Energy m1,
0077                       Complex & f1v,Complex & f2v,Complex & f3v,
0078                       Complex & f1a,Complex & f2a,Complex & f3a,
0079                       FlavourInfo flavour,
0080                       Virtuality virt=SpaceLike);
0081 
0082   /**
0083    * The form factor for the weak decay of a spin \f$\frac12\f$ baryon to a 
0084    * spin \f$\frac32\f$ baryon.
0085    * @param q2 The scale \f$q^2\f$.
0086    * @param iloc The location in the form factor list.
0087    * @param id0 The PDG code of the incoming baryon.
0088    * @param id1 The PDG code of the outgoing baryon.
0089    * @param m0 The mass of the incoming baryon.
0090    * @param m1 The mass of the outgoing baryon.
0091    * @param g1v The form factor \f$G^V_1\f$.
0092    * @param g2v The form factor \f$G^V_2\f$.
0093    * @param g3v The form factor \f$G^V_3\f$.
0094    * @param g4v The form factor \f$G^V_4\f$.
0095    * @param g1a The form factor \f$G^A_1\f$.
0096    * @param g2a The form factor \f$G^A_2\f$.
0097    * @param g3a The form factor \f$G^A_3\f$.
0098    * @param g4a The form factor \f$G^A_4\f$.
0099    * @param virt Whether the q2 is space or timelike
0100    */
0101   virtual void SpinHalfSpinThreeHalfFormFactor(Energy2 q2,int iloc, int id0, int id1,
0102                            Energy m0, Energy m1,
0103                            Complex & g1v,Complex & g2v,Complex & g3v,
0104                            Complex & g4v,Complex & g1a,Complex & g2a,
0105                            Complex & g3a,Complex & g4a,
0106                            FlavourInfo flavour,
0107                            Virtuality virt=SpaceLike);
0108   //@}
0109 
0110   /**
0111    * Output the setup information for the particle database
0112    * @param os The stream to output the information to
0113    * @param header Whether or not to output the information for MySQL
0114    * @param create Whether or not to add a statement creating the object
0115    */
0116   virtual void dataBaseOutput(ofstream & os,bool header,bool create) const;
0117 
0118 protected:
0119 
0120   /** @name Clone Methods. */
0121   //@{
0122   /**
0123    * Make a simple clone of this object.
0124    * @return a pointer to the new object.
0125    */
0126   virtual IBPtr clone() const {return new_ptr(*this);}
0127 
0128   /** Make a clone of this object, possibly modifying the cloned object
0129    * to make it sane.
0130    * @return a pointer to the new object.
0131    */
0132   virtual IBPtr fullclone() const {return new_ptr(*this);}
0133   //@}
0134 
0135 protected:
0136 
0137 
0138   /** @name Standard Interfaced functions. */
0139   //@{
0140 
0141   /**
0142    * Initialize this object after the setup phase before saving and
0143    * EventGenerator to disk.
0144    * @throws InitException if object could not be initialized properly.
0145    */
0146   virtual void doinit();
0147   //@}
0148 
0149 private:
0150 
0151   /**
0152    * Private and non-existent assignment operator.
0153    */
0154   ChengHeavyBaryonFormFactor & operator=(const ChengHeavyBaryonFormFactor &) = delete;
0155 
0156 private:
0157 
0158   /** @name The quark masses. */
0159   //@{
0160   /**
0161    *  The mass of the up quark.
0162    */
0163   Energy _mu;
0164 
0165   /**
0166    *  The mass of the down quark.
0167    */
0168   Energy _md;
0169 
0170   /**
0171    *  The mass of the strange quark.
0172    */
0173   Energy _ms;
0174 
0175   /**
0176    *  The mass of the charm quark.
0177    */
0178   Energy _mc;
0179 
0180   /**
0181    *  The mass of the bottom quark.
0182    */
0183   Energy _mb;
0184   //@}
0185 
0186   /**
0187    *  The normalization parameter \f$N_{fi}\f$ is the flavour and spin overlap
0188    *  from PRD56, 2799.
0189    */
0190   vector<double> _Nfi;
0191 
0192   /**
0193    * The ratio of the flavour and spin overlap for the outgoing over incoming
0194    * baryon, \f$\eta\f$ from PRD56, 2799.
0195    */
0196   vector<double> _eta;
0197 
0198   /**
0199    *  the form factor \f$f_1\f$ evaluated at the maximum value of \f$q^2\f$.
0200    */
0201   vector<double> _f1;
0202 
0203   /**
0204    *  the form factor \f$f_2\f$ evaluated at the maximum value of \f$q^2\f$.
0205    */
0206   vector<double> _f2;
0207 
0208   /**
0209    *  the form factor \f$f_3\f$ evaluated at the maximum value of \f$q^2\f$.
0210    */
0211   vector<double> _f3;
0212 
0213   /**
0214    *  the form factor \f$g_1\f$ evaluated at the maximum value of \f$q^2\f$.
0215    */
0216   vector<double> _g1;
0217 
0218   /**
0219    *  the form factor \f$g_2\f$ evaluated at the maximum value of \f$q^2\f$.
0220    */
0221   vector<double> _g2;
0222 
0223   /**
0224    *  the form factor \f$g_3\f$ evaluated at the maximum value of \f$q^2\f$.
0225    */
0226   vector<double> _g3;
0227 
0228   /**
0229    *  The pole mass for the vector form factors for the \f$b\to c\f$ transitiion.
0230    */
0231   Energy _mVbc;
0232 
0233   /**
0234    *  The pole mass for the vector form factors for the \f$b\to s\f$ transitiion.
0235    */
0236   Energy _mVbs;
0237 
0238   /**
0239    *  The pole mass for the vector form factors for the \f$c\to s\f$ transitiion.
0240    */
0241   Energy _mVcs;
0242 
0243   /**
0244    *  The pole mass for the vector form factors for the \f$b\to d\f$ transitiion.
0245    */
0246   Energy _mVbd;
0247 
0248   /**
0249    *  The pole mass for the vector form factors for the \f$c\to u\f$ transitiion.
0250    */
0251   Energy _mVcu;
0252 
0253   /**
0254    *  The pole mass for the axial-vector form factors for the \f$b\to c\f$ transitiion.
0255    */
0256   Energy _mAbc;
0257 
0258   /**
0259    *  The pole mass for the axial-vector form factors for the \f$b\to s\f$ transitiion.
0260    */
0261   Energy _mAbs;
0262 
0263   /**
0264    *  The pole mass for the axial-vector form factors for the \f$c\to s\f$ transitiion.
0265    */
0266   Energy _mAcs;
0267 
0268   /**
0269    *  The pole mass for the axial-vector form factors for the \f$b\to d\f$ transitiion.
0270    */
0271   Energy _mAbd;
0272 
0273   /**
0274    *  The pole mass for the axial-vector form factors for the \f$c\to u\f$ transitiion.
0275    */
0276   Energy _mAcu;
0277 
0278 };
0279 
0280 }
0281 
0282 #endif /* HERWIG_ChengHeavyBaryonFormFactor_H */