herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
Herwig::ScalarMassGenerator Class Reference

The ScalarMassGenerator class is designed for the generation of the masses of the \(a_0\) and \(f_0\) mesons which have \(K\bar{K}\) modes close to the on-shell mass of the particle. More...

#include <ScalarMassGenerator.h>

Inheritance diagram for Herwig::ScalarMassGenerator:

Protected Member Functions

Clone Methods.
virtual IBPtr clone () const
 Make a simple clone of this object.
 
virtual IBPtr fullclone () const
 Make a clone of this object, possibly modifying the cloned object to make it sane.
 
- Protected Member Functions inherited from Herwig::GenericMassGenerator
virtual void dofinish ()
 Finalize this object.
 
virtual void rebind (const TranslationMap &trans)
 Rebind pointer to other Interfaced objects.
 
virtual IVector getReferences ()
 Return a vector of all pointers to Interfaced objects used in this object.
 
virtual Energy mass (double &wgt, const ParticleData &, const Energy low, const Energy upp, int shape, double r=UseRandom::rnd()) const
 Return a mass with the weight using the specified limits.
 
Energy mass (double &wgt, const ParticleData &part, int shape, double r=UseRandom::rnd()) const
 Return a mass with the weight using the default limits.
 
tcPDPtr particle () const
 Accesss to the particle.
 
void particle (tPDPtr in)
 Set the particle.
 
- Protected Member Functions inherited from ThePEG::Interfaced
void reporeg (IBPtr object, string name) const
 
bool setDefaultReference (PtrT &ptr, string classname, string objectname)
 
 Interfaced (const string &newName)
 
 Interfaced (const Interfaced &i)
 
void setGenerator (tEGPtr generator)
 
- Protected Member Functions inherited from ThePEG::InterfacedBase
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual void doinit ()
 
virtual void doinitrun ()
 
virtual void dofinish ()
 
virtual IVector getReferences ()
 
virtual void rebind (const TranslationMap &)
 
virtual IBPtr clone () const=0
 
 InterfacedBase (string newName)
 
 InterfacedBase (const InterfacedBase &i)
 
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual void doinit ()
 
virtual void doinitrun ()
 
virtual void dofinish ()
 
virtual IVector getReferences ()
 
virtual void rebind (const TranslationMap &)
 
- Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
- Protected Member Functions inherited from ThePEG::Named
const Namedoperator= (const Named &other)
 
const string & name (const string &newName)
 

Standard Interfaced functions.

vector< Energy > _coupling
 couplings for the decay channels
 
vector< Energy > _mass1
 The first outgoing mass for the channels.
 
vector< Energy > _mass2
 The second outgoing mass for the channels.
 
vector< Energy2 > _m2plus
 calculated values to speed things up
 
vector< Energy2 > _m2minus
 Minimum mass squared.
 
virtual void doinit ()
 Initialize this object after the setup phase before saving and EventGenerator to disk.
 
ScalarMassGeneratoroperator= (const ScalarMassGenerator &)=delete
 Private and non-existent assignment operator.
 

Functions used by the persistent I/O system.

void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently.
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently.
 
virtual double weight (Energy mass, int shape) const
 Weight for the factor for an off-shell mass.
 
virtual void dataBaseOutput (ofstream &, bool)
 output for the database
 
static void Init ()
 Standard Init function used to initialize the interfaces.
 
virtual InvEnergy2 BreitWignerWeight (Energy q, int shape) const
 Return the full weight.
 

Additional Inherited Members

- Public Types inherited from ThePEG::InterfacedBase
enum  InitState
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 
- Public Member Functions inherited from Herwig::GenericMassGenerator
 GenericMassGenerator ()
 Default constructor.
 
virtual ~GenericMassGenerator ()
 Destructor.
 
Energy mass (const ParticleData &part) const
 Generate a mass using the default limits.
 
Energy mass (const ParticleData &part, const Energy low, const Energy upp) const
 Generate a mass using specified limits.
 
Energy mass (double &wgt, const ParticleData &part, double r=UseRandom::rnd()) const
 Return a mass with the weight using the default limits.
 
Energy mass (double &wgt, const ParticleData &part, const Energy low, const Energy upp, double r=UseRandom::rnd()) const
 Return a mass with the weight using the specified limits.
 
virtual double weight (Energy q) const
 Weight for the factor.
 
virtual InvEnergy2 BreitWignerWeight (Energy q)
 Return the full weight.
 
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently.
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently.
 
bool accept (const ParticleData &part) const
 Return true if this mass generator can handle the given particle type.
 
pair< Energy, Energy > width (Energy q, int shape) const
 The running width.
 
Energy lowerLimit () const
 Lower limit on the mass.
 
Energy upperLimit () const
 Upper limit on the mass.
 
Energy nominalMass () const
 Default mass.
 
Energy nominalWidth () const
 Default Width.
 
virtual bool accept (const ParticleData &) const=0
 
virtual Energy mass (const ParticleData &) const=0
 
- Public Member Functions inherited from ThePEG::Interfaced
virtual bool defaultInit ()
 
PPtr getParticle (PID) const
 
PDPtr getParticleData (PID) const
 
bool used () const
 
void useMe () const
 
tEGPtr generator () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
PPtr getParticle (PID) const
 
PDPtr getParticleData (PID) const
 
bool used () const
 
void useMe () const
 
tEGPtr generator () const
 
- Public Member Functions inherited from ThePEG::InterfacedBase
string fullName () const
 
string name () const
 
string path () const
 
string comment () const
 
void setup (istream &is)
 
void update ()
 
void init ()
 
virtual bool preInitialize () const
 
void initrun ()
 
void finish ()
 
void touch ()
 
void reset ()
 
void clear ()
 
InitState state () const
 
bool locked () const
 
bool touched () const
 
virtual IBPtr fullclone () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
virtual void debugme () const
 
void update ()
 
void init ()
 
virtual bool preInitialize () const
 
void initrun ()
 
void finish ()
 
void touch ()
 
void reset ()
 
void clear ()
 
InitState state () const
 
bool locked () const
 
bool touched () const
 
virtual IBPtr fullclone () const
 
- Public Member Functions inherited from ThePEG::Base
void debug () const
 
virtual void debugme () const
 
- Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted
CounterType referenceCount () const
 
- Public Member Functions inherited from ThePEG::Named
 Named (const string &newName=string())
 
 Named (const Named &)=default
 
const string & name () const
 
bool operator== (const Named &other) const
 
bool operator< (const Named &other) const
 
- Static Public Member Functions inherited from Herwig::GenericMassGenerator
static void Init ()
 Standard Init function used to initialize the interfaces.
 
- Static Public Member Functions inherited from ThePEG::MassGenerator
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::Interfaced
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::InterfacedBase
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::Base
static void Init ()
 
- Public Attributes inherited from ThePEG::InterfacedBase
 initializing
 
 uninitialized
 
 initialized
 
 runready
 
- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 
- Static Protected Member Functions inherited from ThePEG::Interfaced
static void registerRepository (IBPtr)
 
static void registerRepository (IBPtr, string newName)
 

Detailed Description

The ScalarMassGenerator class is designed for the generation of the masses of the \(a_0\) and \(f_0\) mesons which have \(K\bar{K}\) modes close to the on-shell mass of the particle.

The form based on the Flatte parameterisation of PLB63, 224, we use a weight

\[\frac{1}{\pi}\frac{m\Gamma(m)}{|M^2-m^2-i\sum_ig^2_i\rho_i|^2}\]

, where

  • \(g_i\) is the coupling for a given decay mode
  • \(\rho_i=2p_i/m\) is Lorentz-invariant phase-space where \(p_i\) is the momentum release in the decay, this analytically continued below the threshold. In this case the running width given by the sum of the running partial widths

    \[\Gamma_i(m) = 2g^2_i\frac{p_i}{m^2}\]

    , and we differ from the Flatte approach in not analytically continuing below the threshold for the numerator.
See also
MassGenerator
GenericMassGenerator

Definition at line 42 of file ScalarMassGenerator.h.

Member Function Documentation

◆ BreitWignerWeight()

virtual InvEnergy2 Herwig::ScalarMassGenerator::BreitWignerWeight ( Energy  q,
int  shape 
) const
protectedvirtual

Return the full weight.

Reimplemented from Herwig::GenericMassGenerator.

◆ clone()

virtual IBPtr Herwig::ScalarMassGenerator::clone ( ) const
inlineprotectedvirtual

Make a simple clone of this object.

Returns
a pointer to the new object.

Reimplemented from Herwig::GenericMassGenerator.

Definition at line 97 of file ScalarMassGenerator.h.

◆ dataBaseOutput()

virtual void Herwig::ScalarMassGenerator::dataBaseOutput ( ofstream &  ,
bool   
)
virtual

output for the database

Reimplemented from Herwig::GenericMassGenerator.

◆ doinit()

virtual void Herwig::ScalarMassGenerator::doinit ( )
protectedvirtual

Initialize this object after the setup phase before saving and EventGenerator to disk.

Exceptions
InitExceptionif object could not be initialized properly.

Reimplemented from Herwig::GenericMassGenerator.

◆ fullclone()

virtual IBPtr Herwig::ScalarMassGenerator::fullclone ( ) const
inlineprotectedvirtual

Make a clone of this object, possibly modifying the cloned object to make it sane.

Returns
a pointer to the new object.

Reimplemented from Herwig::GenericMassGenerator.

Definition at line 103 of file ScalarMassGenerator.h.

◆ persistentInput()

void Herwig::ScalarMassGenerator::persistentInput ( PersistentIStream is,
int  version 
)

Function used to read in object persistently.

Parameters
isthe persistent input stream read from.
versionthe version number of the object when written.

◆ persistentOutput()

void Herwig::ScalarMassGenerator::persistentOutput ( PersistentOStream os) const

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

◆ weight()

virtual double Herwig::ScalarMassGenerator::weight ( Energy  mass,
int  shape 
) const
virtual

Weight for the factor for an off-shell mass.

Parameters
massThe off-shell mass
shapeThe type of shape to use as for the BreitWignerShape interface
Returns
The weight.

Reimplemented from Herwig::GenericMassGenerator.

Member Data Documentation

◆ _coupling

vector<Energy> Herwig::ScalarMassGenerator::_coupling
private

couplings for the decay channels

Definition at line 130 of file ScalarMassGenerator.h.

◆ _m2minus

vector<Energy2> Herwig::ScalarMassGenerator::_m2minus
private

Minimum mass squared.

Definition at line 154 of file ScalarMassGenerator.h.

◆ _m2plus

vector<Energy2> Herwig::ScalarMassGenerator::_m2plus
private

calculated values to speed things up

Maximum mass squared

Definition at line 149 of file ScalarMassGenerator.h.

◆ _mass1

vector<Energy> Herwig::ScalarMassGenerator::_mass1
private

The first outgoing mass for the channels.

Definition at line 135 of file ScalarMassGenerator.h.

◆ _mass2

vector<Energy> Herwig::ScalarMassGenerator::_mass2
private

The second outgoing mass for the channels.

Definition at line 140 of file ScalarMassGenerator.h.


The documentation for this class was generated from the following file: