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

Here is the documentation of the FivePionCurrent class. More...

#include <FivePionCurrent.h>

Inheritance diagram for Herwig::FivePionCurrent:

Public Member Functions

 FivePionCurrent ()
 The default constructor.
 
virtual vector< LorentzPolarizationVectorEcurrent (const int imode, const int ichan, Energy &scale, const ParticleVector &decay, DecayIntegrator::MEOption meopt) const
 Hadronic current. More...
 
virtual bool accept (vector< int > id)
 Accept the decay. More...
 
virtual unsigned int decayMode (vector< int > id)
 Return the decay mode number for a given set of particles in the current. More...
 
virtual void dataBaseOutput (ofstream &os, bool header, bool create) const
 Output the setup information for the particle database. More...
 
Methods for the construction of the phase space integrator.
virtual bool createMode (int icharge, unsigned int imode, DecayPhaseSpaceModePtr mode, unsigned int iloc, unsigned int ires, DecayPhaseSpaceChannelPtr phase, Energy upp)
 Complete the construction of the decay mode for integration.classes inheriting from this one. More...
 
virtual tPDVector particles (int icharge, unsigned int imode, int iq, int ia)
 The particles produced by the current. 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::WeakDecayCurrent
 WeakDecayCurrent ()
 Default constructor.
 
unsigned int numberOfModes () const
 Return the number of modes handled by this current.
 
void decayModeInfo (unsigned int imode, int &iq, int &ia) const
 Information on a decay mode. More...
 
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 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 ()
 The standard Init function used to initialize the interfaces. More...
 
- Static Public Member Functions inherited from Herwig::WeakDecayCurrent
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

Complex rhoBreitWigner (Energy2 scale) const
 Methods to calculate the Breit-Wigner distributions for the various mesons. More...
 
Complex a1BreitWigner (Energy2 scale) const
 Breit-Wigner for the $a_1$. More...
 
Complex omegaBreitWigner (Energy2 scale) const
 Breit-Wigner for the $\omega$. More...
 
Complex sigmaBreitWigner (Energy2 scale) const
 Breit-Wigner for the $\sigma$. More...
 
LorentzVector< complex< InvEnergy2 > > rhoOmegaCurrent (unsigned int iopt, const Lorentz5Momentum &Q, const Lorentz5Momentum &q1, const Lorentz5Momentum &q2, const Lorentz5Momentum &q3, const Lorentz5Momentum &q4, const Lorentz5Momentum &q5) const
 Currents for the different channels. More...
 
LorentzVector< complex< InvEnergy2 > > a1SigmaCurrent (unsigned int iopt, const Lorentz5Momentum &Q, const Lorentz5Momentum &q1, const Lorentz5Momentum &q2, const Lorentz5Momentum &q3, const Lorentz5Momentum &q4, const Lorentz5Momentum &q5) const
 The $a_1\sigma$ current. More...
 
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 an EventGenerator to disk. More...
 
- Protected Member Functions inherited from Herwig::WeakDecayCurrent
void addDecayMode (int iq, int ia)
 Add a decay mode to the list. More...
 
void setInitialModes (unsigned int nmodes)
 Set initial number of modes. More...
 
- 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

FivePionCurrentoperator= (const FivePionCurrent &)=delete
 The assignment operator is private and must never be called. More...
 

Private Attributes

bool _localparameters
 use local values of the particle masses
 
bool _rhoomega
 Option for the treatment of $\rho$ Breit-Wigners in $\omega$ decay.
 
Energy _rhomass
 The masses and widths of the intermediate particles. More...
 
Energy _a1mass
 The mass of the $a_1$ for the current.
 
Energy _omegamass
 The mass of the $\omega$ for the current.
 
Energy _sigmamass
 The mass of the $\sigma$ for the current.
 
Energy _rhowidth
 The width for the $\rho$.
 
Energy _a1width
 The $a_1$ width.
 
Energy _omegawidth
 The $\omega$ width.
 
Energy _sigmawidth
 The $\sigma$ width.
 
Energy2 _c
 Normalisation parameters for the different currents. More...
 
double _c0
 The $c_0$ parameter.
 
InvEnergy _fomegarhopi
 The $f_{\omega\rho\pi}$ parameter.
 
double _grhopipi
 The $g_{\rho\pi\pi}$ parameter.
 
Energy _garhopi
 The $G_{a\rho\pi}$ parameter.
 
Energy _faaf
 The $f_{aaf}$ parameter.
 
Energy _ffpipi
 The $f_{f\pi\pi}$ parameter.
 
InvEnergy7 _preomega
 Values cached to avoid unnessacary calculations. More...
 
InvEnergy3 _presigma
 Prefactor for the $a_1\sigma$ current.
 

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

Here is the documentation of the FivePionCurrent class.

See also
The interfaces defined for FivePionCurrent.

Definition at line 28 of file FivePionCurrent.h.

Member Function Documentation

◆ a1BreitWigner()

Complex Herwig::FivePionCurrent::a1BreitWigner ( Energy2  scale) const
inlineprotected

Breit-Wigner for the $a_1$.

Parameters
scaleThe virtual mass

Definition at line 150 of file FivePionCurrent.h.

References sqr().

◆ a1SigmaCurrent()

LorentzVector<complex<InvEnergy2> > Herwig::FivePionCurrent::a1SigmaCurrent ( unsigned int  iopt,
const Lorentz5Momentum &  Q,
const Lorentz5Momentum &  q1,
const Lorentz5Momentum &  q2,
const Lorentz5Momentum &  q3,
const Lorentz5Momentum &  q4,
const Lorentz5Momentum &  q5 
) const
inlineprotected

The $a_1\sigma$ current.

Parameters
ioptOption for the inclusion of $\rho$ Breit-Wigner terms in the $a_1$ decay piece
QThe total momentum for the current
q1The first momentum
q2The first momentum
q3The first momentum
q4The first momentum
q5The first momentum

Definition at line 229 of file FivePionCurrent.h.

References ThePEG::LorentzVector< Value >::m2().

◆ accept()

virtual bool Herwig::FivePionCurrent::accept ( vector< int >  id)
virtual

Accept the decay.

Parameters
idThe id's of the particles in the current.
Returns
Can this current have the external particles specified.

Implements Herwig::WeakDecayCurrent.

◆ clone()

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

Make a simple clone of this object.

Returns
a pointer to the new object.

Implements ThePEG::InterfacedBase.

Definition at line 264 of file FivePionCurrent.h.

◆ createMode()

virtual bool Herwig::FivePionCurrent::createMode ( int  icharge,
unsigned int  imode,
DecayPhaseSpaceModePtr  mode,
unsigned int  iloc,
unsigned int  ires,
DecayPhaseSpaceChannelPtr  phase,
Energy  upp 
)
virtual

Complete the construction of the decay mode for integration.classes inheriting from this one.

Parameters
ichargeThe total charge of the outgoing particles in the current.
imodeThe mode in the current being asked for.
modeThe phase space mode for the integration
ilocThe location of the of the first particle from the current in the list of outgoing particles.
iresThe location of the first intermediate for the current.
phaseThe prototype phase space channel for the integration.
uppThe maximum possible mass the particles in the current are allowed to have.
Returns
Whether the current was sucessfully constructed.

Implements Herwig::WeakDecayCurrent.

◆ current()

virtual vector<LorentzPolarizationVectorE> Herwig::FivePionCurrent::current ( const int  imode,
const int  ichan,
Energy &  scale,
const ParticleVector decay,
DecayIntegrator::MEOption  meopt 
) const
virtual

Hadronic current.

This method is purely virtual and must be implemented in all classes inheriting from this one.

Parameters
imodeThe mode
ichanThe phase-space channel the current is needed for.
scaleThe invariant mass of the particles in the current.
decayThe decay products
meoptOption for the calculation of the matrix element
Returns
The current.

Implements Herwig::WeakDecayCurrent.

◆ dataBaseOutput()

virtual void Herwig::FivePionCurrent::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::WeakDecayCurrent.

◆ decayMode()

virtual unsigned int Herwig::FivePionCurrent::decayMode ( vector< int >  id)
virtual

Return the decay mode number for a given set of particles in the current.

Parameters
idThe id's of the particles in the current.
Returns
The number of the mode

Implements Herwig::WeakDecayCurrent.

◆ doinit()

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

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

Exceptions
InitExceptionif object could not be initialized properly.

Reimplemented from ThePEG::InterfacedBase.

◆ fullclone()

virtual IBPtr Herwig::FivePionCurrent::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 ThePEG::InterfacedBase.

Definition at line 270 of file FivePionCurrent.h.

◆ Init()

static void Herwig::FivePionCurrent::Init ( )
static

The standard Init function used to initialize the interfaces.

Called exactly once for each class by the class description system before the main function starts or when this class is dynamically loaded.

◆ omegaBreitWigner()

Complex Herwig::FivePionCurrent::omegaBreitWigner ( Energy2  scale) const
inlineprotected

Breit-Wigner for the $\omega$.

Parameters
scaleThe virtual mass

Definition at line 159 of file FivePionCurrent.h.

References sqr().

◆ operator=()

FivePionCurrent& Herwig::FivePionCurrent::operator= ( const FivePionCurrent )
privatedelete

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ particles()

virtual tPDVector Herwig::FivePionCurrent::particles ( int  icharge,
unsigned int  imode,
int  iq,
int  ia 
)
virtual

The particles produced by the current.

Parameters
ichargeThe total charge of the particles in the current.
imodeThe mode for which the particles are being requested
iqThe PDG code for the quark
iaThe PDG code for the antiquark
Returns
The external particles for the current.

Implements Herwig::WeakDecayCurrent.

◆ persistentInput()

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

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

◆ rhoBreitWigner()

Complex Herwig::FivePionCurrent::rhoBreitWigner ( Energy2  scale) const
inlineprotected

Methods to calculate the Breit-Wigner distributions for the various mesons.

Breit-Wigner for the $\rho$.

Parameters
scaleThe virtual mass

Definition at line 141 of file FivePionCurrent.h.

References sqr().

◆ rhoOmegaCurrent()

LorentzVector<complex<InvEnergy2> > Herwig::FivePionCurrent::rhoOmegaCurrent ( unsigned int  iopt,
const Lorentz5Momentum &  Q,
const Lorentz5Momentum &  q1,
const Lorentz5Momentum &  q2,
const Lorentz5Momentum &  q3,
const Lorentz5Momentum &  q4,
const Lorentz5Momentum &  q5 
) const
inlineprotected

Currents for the different channels.

The $\rho\omega$ current

Parameters
ioptOption for the inclusion of $\rho$ Breit-Wigner terms in the $\omega$ decay piece
QThe total momentum for the current
q1The first momentum
q2The first momentum
q3The first momentum
q4The first momentum
q5The first momentum

Definition at line 190 of file FivePionCurrent.h.

◆ sigmaBreitWigner()

Complex Herwig::FivePionCurrent::sigmaBreitWigner ( Energy2  scale) const
inlineprotected

Breit-Wigner for the $\sigma$.

Parameters
scaleThe virtual mass

Definition at line 168 of file FivePionCurrent.h.

References sqr().

Member Data Documentation

◆ _c

Energy2 Herwig::FivePionCurrent::_c
private

Normalisation parameters for the different currents.

The $c$ parameter

Definition at line 357 of file FivePionCurrent.h.

◆ _preomega

InvEnergy7 Herwig::FivePionCurrent::_preomega
private

Values cached to avoid unnessacary calculations.

Prefactor for the $\rho\omega$ current

Definition at line 397 of file FivePionCurrent.h.

◆ _rhomass

Energy Herwig::FivePionCurrent::_rhomass
private

The masses and widths of the intermediate particles.

The mass of the $\rho$ for the current.

Definition at line 302 of file FivePionCurrent.h.


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