herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
Herwig::WSBFormFactor Class Reference

The WSBFormFactor class is the implementation of the form factor model of Z.Phys. More...

#include <WSBFormFactor.h>

Inheritance diagram for Herwig::WSBFormFactor:

Public Member Functions

 WSBFormFactor ()
 Default constructor.
 
virtual void dataBaseOutput (ofstream &os, bool header, bool create) const
 Output the setup information for the particle database. More...
 
Form-Factors
virtual void ScalarScalarFormFactor (Energy2 q2, unsigned int iloc, int id0, int id1, Energy m0, Energy m1, Complex &f0, Complex &fp) const
 The form factor for the weak decay of a scalar to a scalar. More...
 
virtual void ScalarVectorFormFactor (Energy2 q2, unsigned int iloc, int id0, int id1, Energy m0, Energy m1, Complex &V, Complex &A0, Complex &A1, Complex &A2) const
 The form factor for the weak decay of a scalar to a vector. More...
 
Functions used by the persistent I/O system.
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently. More...
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently. More...
 
- Public Member Functions inherited from Herwig::ScalarFormFactor
 ScalarFormFactor ()
 Default constructor.
 
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently. More...
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently. More...
 
int formFactorNumber (int in, int out, bool &cc) const
 Find the location for a given pair of particle. More...
 
void particleID (unsigned int iloc, int &id0, int &id1) const
 Get the particle ids for an entry. More...
 
void formFactorInfo (unsigned int &iloc, int &ispin, int &spect, int &inquark, int &outquark) const
 Information on the form factor. More...
 
void formFactorInfo (int in, int out, int &ispin, int &spect, int &inquark, int &outquark) const
 Information on the form factor. More...
 
unsigned int numberOfFactors () const
 number of form factors
 
virtual void ScalarTensorFormFactor (Energy2 q2, unsigned int iloc, int id0, int id1, Energy m0, Energy m1, complex< InvEnergy2 > &h, Complex &k, complex< InvEnergy2 > &bp, complex< InvEnergy2 > &bm) const
 The form factor for the weak decay of a scalar to a tensor. More...
 
virtual void ScalarScalarSigmaFormFactor (Energy2 q2, unsigned int iloc, int id0, int id1, Energy m0, Energy m1, Complex &fT) const
 The form factor for the weak penguin decay of a scalar meson to a scalar meson. More...
 
virtual void ScalarVectorSigmaFormFactor (Energy2 q2, unsigned int iloc, int id0, int id1, Energy m0, Energy m1, Complex &T1, Complex &T2, Complex &T3) const
 The form factor for the weak penguin decay of a scalar meson to a vector meson. More...
 
- 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
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
- Public Member Functions inherited from ThePEG::InterfacedBase
string fullName () const
 
string name () const
 
string path () const
 
string comment () const
 
void setup (istream &is)
 
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
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
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
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
- Public Member Functions inherited from ThePEG::Base
void debug () 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

static void Init ()
 Standard Init function used to initialize the interfaces.
 
- Static Public Member Functions inherited from Herwig::ScalarFormFactor
static void Init ()
 Standard Init function used to initialize the interfaces.
 
- 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 ()
 

Protected Member Functions

Clone Methods.
virtual IBPtr clone () const
 Make a simple clone of this object. More...
 
virtual IBPtr fullclone () const
 Make a clone of this object, possibly modifying the cloned object to make it sane. More...
 
Standard Interfaced functions.
virtual void doinit ()
 Initialize this object after the setup phase before saving and EventGenerator to disk. More...
 
- Protected Member Functions inherited from Herwig::ScalarFormFactor
void addFormFactor (int in, int out, int spin, int spect, int inquark, int outquark)
 Add a form factor to the list. More...
 
void initialModes (unsigned int nmodes)
 Set initial number of modes. More...
 
unsigned int initialModes () const
 Get the initial number of modes.
 
- 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
 InterfacedBase (string newName)
 
 InterfacedBase (const InterfacedBase &i)
 
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual void doinitrun ()
 
virtual void dofinish ()
 
virtual IVector getReferences ()
 
virtual void rebind (const TranslationMap &)
 
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
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 &)
 
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
- Protected Member Functions inherited from ThePEG::Named
const Namedoperator= (const Named &other)
 
const string & name (const string &newName)
 

Private Member Functions

WSBFormFactoroperator= (const WSBFormFactor &)=delete
 Private and non-existent assignment operator.
 

Private Attributes

double _thetaeta
 The $\eta-\eta'$ mixing angle.
 
Parameters for the form factors
vector< double > _F0
 The form factor at $q^2=0$ for scalar decays.
 
vector< double > _V
 the form factor $V$ at $q^2=0$ for vector decays.
 
vector< double > _A0
 the form factor $A_0$ at $q^2=0$ for vector decays.
 
vector< double > _A1
 the form factor $A_1$ at $q^2=0$ for vector decays.
 
vector< double > _A2
 the form factor $A_2$ at $q^2=0$ for vector decays.
 
vector< Energy > _mS0
 Spin-0 mass for the scalar form factors.
 
vector< Energy > _mS1
 Spin-1 mass for the scalar form factors.
 
vector< Energy > _mV0
 Spin-0 mass for the vector form factors.
 
vector< Energy > _mV1
 Spin-1 mass for the vector form factors.
 

Additional Inherited Members

- Public Types inherited from ThePEG::InterfacedBase
enum  InitState
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 
- 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 WSBFormFactor class is the implementation of the form factor model of Z.Phys.

C29, 637 for the semi-leptonic form factors. It includes form factors for a number of $D$, $B$ and $D_s$ decays. In practice the parameters of the model were taken from Z.Phys. C34, 103 which includes a number of decay modes which were not considered in the original paper.

This form factor model is included both to give an alternative for many modes to the ISGW models and for use in the factorisation approxmation for hadronic decays.

See also
ScalarFormFactor
ISGWFormFactor
ISGW2FormFactor

Definition at line 38 of file WSBFormFactor.h.

Member Function Documentation

◆ clone()

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

Make a simple clone of this object.

Returns
a pointer to the new object.

Reimplemented from Herwig::ScalarFormFactor.

Definition at line 121 of file WSBFormFactor.h.

◆ dataBaseOutput()

virtual void Herwig::WSBFormFactor::dataBaseOutput ( ofstream &  os,
bool  header,
bool  create 
) const
virtual

Output the setup information for the particle database.

Parameters
osThe stream to output the information to
headerWhether or not to output the information for MySQL
createWhether or not to add a statement creating the object

Reimplemented from Herwig::ScalarFormFactor.

◆ doinit()

virtual void Herwig::WSBFormFactor::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::ScalarFormFactor.

◆ fullclone()

virtual IBPtr Herwig::WSBFormFactor::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::ScalarFormFactor.

Definition at line 127 of file WSBFormFactor.h.

◆ persistentInput()

void Herwig::WSBFormFactor::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::WSBFormFactor::persistentOutput ( PersistentOStream os) const

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

◆ ScalarScalarFormFactor()

virtual void Herwig::WSBFormFactor::ScalarScalarFormFactor ( Energy2  q2,
unsigned int  iloc,
int  id0,
int  id1,
Energy  m0,
Energy  m1,
Complex f0,
Complex fp 
) const
virtual

The form factor for the weak decay of a scalar to a scalar.

Parameters
q2The scale $q^2$.
ilocThe location in the form-factor list.
id0The PDG code of the incoming meson.
id1The PDG code of the outgoing meson.
m0The mass of the incoming meson.
m1The mass of the outgoing meson.
f0The form-factor $f_0$.
fpThe form-factor $f_+$.

Reimplemented from Herwig::ScalarFormFactor.

◆ ScalarVectorFormFactor()

virtual void Herwig::WSBFormFactor::ScalarVectorFormFactor ( Energy2  q2,
unsigned int  iloc,
int  id0,
int  id1,
Energy  m0,
Energy  m1,
Complex V,
Complex A0,
Complex A1,
Complex A2 
) const
virtual

The form factor for the weak decay of a scalar to a vector.

Parameters
q2The scale $q^2$.
ilocThe location in the form-factor list.
id0The PDG code of the incoming meson.
id1The PDG code of the outgoing meson.
m0The mass of the incoming meson.
m1The mass of the outgoing meson.
VThe form-factor $V$
A0The form-factor $A_0$
A1The form-factor $A_1$
A2The form-factor $A_2$

Reimplemented from Herwig::ScalarFormFactor.


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