Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // -*- C++ -*-
0002 #ifndef Herwig_DalitzGS_H
0003 #define Herwig_DalitzGS_H
0004 //
0005 // This is the declaration of the DalitzGS class.
0006 //
0007 
0008 #include "DalitzResonance.h"
0009 
0010 namespace Herwig {
0011 
0012 using namespace ThePEG;
0013 
0014 /**
0015  * The DalitzGS class implements the  Gounaris-Sakurai form of the propagator
0016  *
0017  */
0018 class DalitzGS: public DalitzResonance {
0019 
0020 public:
0021 
0022   /** @name Standard constructors and destructors. */
0023   //@{
0024   /**
0025    * The default constructor.
0026    */
0027   DalitzGS() {}
0028 
0029   /**
0030    *  Constructor with parameters
0031    */
0032   DalitzGS(long pid, ResonanceType::Type rtype, Energy m, Energy w,
0033        unsigned int d1, unsigned int d2, unsigned int s,
0034        double mag, double phi, InvEnergy rr, Energy mpi);
0035 
0036 public:
0037 
0038   /**
0039    *  Return the Breit-Wigner times the form factor
0040    */
0041   virtual Complex BreitWigner(const Energy & mAB, const Energy & mA, const Energy & mB) const;
0042 
0043   /**
0044    *  Output the parameters
0045    */
0046   virtual void dataBaseOutput(ofstream & output);
0047 
0048 public:
0049 
0050   /** @name Functions used by the persistent I/O system. */
0051   //@{
0052   /**
0053    * Function used to write out object persistently.
0054    * @param os the persistent output stream written to.
0055    */
0056   void persistentOutput(PersistentOStream & os) const;
0057 
0058   /**
0059    * Function used to read in object persistently.
0060    * @param is the persistent input stream read from.
0061    * @param version the version number of the object when written.
0062    */
0063   void persistentInput(PersistentIStream & is, int version);
0064   //@}
0065 
0066   /**
0067    * The standard Init function used to initialize the interfaces.
0068    * Called exactly once for each class by the class description system
0069    * before the main function starts or
0070    * when this class is dynamically loaded.
0071    */
0072   static void Init();
0073 
0074 private:
0075 
0076   /**
0077    * The assignment operator is private and must never be called.
0078    * In fact, it should not even be implemented.
0079    */
0080   DalitzGS & operator=(const DalitzGS &) = delete;
0081 
0082 private:
0083   
0084   /**
0085    *  Pion mass
0086    */
0087   Energy mpi_;
0088 
0089   /**
0090    * The function \f$\frac{\\hat{H}}{dq^2}\f$ at \f$q^2=m^2\f$ for the GS form of the
0091    *  Breit-Wigner
0092    */
0093   double dh_;
0094 
0095   /**
0096    * The function \f$\\hat{H}\f$ at \f$q^2=m^2\f$ for the GS form of the
0097    *  Breit-Wigner
0098    */
0099   Energy2 hres_;
0100 
0101   /**
0102    * The \f$H(0)\f$ parameter  for the GS form of the
0103    *  Breit-Wigner
0104    */
0105   Energy2 h0_;
0106 };
0107 
0108 }
0109 
0110 #endif /* Herwig_DalitzGS_H */