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

The TwoPionCzyzCurrent class implements the current of PRD 81 094014 for two pions. More...

#include <TwoPionCzyzCurrent.h>

Inheritance diagram for Herwig::TwoPionCzyzCurrent:

Public Member Functions

 TwoPionCzyzCurrent ()
 The default constructor.
 
Methods for the construction of the phase space integrator.
virtual bool createMode (int icharge, tcPDPtr resonance, FlavourInfo flavour, unsigned int imode, PhaseSpaceModePtr mode, unsigned int iloc, int ires, PhaseSpaceChannel phase, Energy upp)
 Complete the construction of the decay mode for integration.classes inheriting from this one.
 
virtual tPDVector particles (int icharge, unsigned int imode, int iq, int ia)
 The particles produced by the current.
 
virtual vector< LorentzPolarizationVectorEcurrent (tcPDPtr resonance, FlavourInfo flavour, const int imode, const int ichan, Energy &scale, const tPDVector &outgoing, const vector< Lorentz5Momentum > &momenta, DecayIntegrator::MEOption meopt) const
 Hadronic current.
 
virtual bool accept (vector< int > id)
 Accept the decay.
 
virtual unsigned int decayMode (vector< int > id)
 Return the decay mode number for a given set of particles in the current.
 
virtual void dataBaseOutput (ofstream &os, bool header, bool create) const
 Output the setup information for the particle database.
 
Complex Fpi (Energy2 q2, const int imode, const int ichan, tcPDPtr resonance, Energy ma, Energy mb) const
 Calculation of the pion form factor.
 
Complex FpiRemainder (Energy2 q2, Energy ma, Energy mb) const
 Calculation of the pion form factor.
 
- Public Member Functions inherited from Herwig::WeakCurrent
 WeakCurrent ()
 Default constructor.
 
unsigned int numberOfModes () const
 Return the number of modes handled by this current.
 
virtual void constructSpinInfo (ParticleVector decay) const
 Construct the SpinInfo for the decay products.
 
void decayModeInfo (unsigned int imode, int &iq, int &ia) const
 Information on a decay mode.
 
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.
 
- 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
 

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::WeakCurrent
void addDecayMode (int iq, int ia)
 Add a decay mode to the list.
 
void setInitialModes (unsigned int nmodes)
 Set 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
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< ComplexrhoWgt_
 Weights for the different \(\rho\) resonances in the current, \(\alpha_k\).
 
vector< double > rhoMag_
 The magnitude for input.
 
vector< double > rhoPhase_
 The phase for input.
 
Complex omegaWgt_
 Weight for the omega resonance.
 
double omegaMag_
 The magnitude for input.
 
double omegaPhase_
 The phase for input.
 
vector< Energy > rhoMasses_
 The masses of the \(\rho\) resonances.
 
vector< Energy > rhoWidths_
 The widths of the \(\rho\) resonances.
 
Energy omegaMass_
 The mass of the \(\omega\) resonance.
 
Energy omegaWidth_
 The width of the \(\omega\) resonance.
 
double beta_
 Regge \(\beta\) parameter.
 
unsigned int nMax_
 Number of resonaces at which to trucated the series.
 
vector< Energy > mass_
 Masses of the resonances.
 
vector< Energy > width_
 Widths of the resonances.
 
vector< Complexcoup_
 Couplings of the resonaces.
 
vector< double > dh_
 The function \(\frac{\\hat{H}}{dq^2}\) at \(q^2=m^2\) for the GS form of the Breit-Wigner.
 
vector< Energy2 > hres_
 The function \(\\hat{H}\) at \(q^2=m^2\) for the GS form of the Breit-Wigner.
 
vector< Energy2 > h0_
 The \(H(0)\) parameter for the GS form of the Breit-Wigner.
 
Energy eMax_
 The maximum energy.
 
Interpolator< double, Energy2 >::Ptr fpiRe_
 Interpolators for the higher resonance components for speed.
 
Interpolator< double, Energy2 >::Ptr fpiIm_
 
virtual void doinit ()
 Initialize this object after the setup phase before saving and EventGenerator to disk.
 
void constructInterpolators () const
 Construct the interpolators.
 
TwoPionCzyzCurrentoperator= (const TwoPionCzyzCurrent &)=delete
 The assignment operator is private and must never be called.
 

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.
 
static void Init ()
 The standard Init function used to initialize the interfaces.
 

Additional Inherited Members

- Public Types inherited from ThePEG::InterfacedBase
enum  InitState
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 
- Static Public Member Functions inherited from Herwig::WeakCurrent
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 ()
 
- 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 TwoPionCzyzCurrent class implements the current of PRD 81 094014 for two pions.

See also
The interfaces defined for TwoPionCzyzCurrent.

Definition at line 22 of file TwoPionCzyzCurrent.h.

Member Function Documentation

◆ accept()

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

Accept the decay.

Checks the particles are the allowed mode.

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

Implements Herwig::WeakCurrent.

◆ clone()

virtual IBPtr Herwig::TwoPionCzyzCurrent::clone ( ) const
protectedvirtual

Make a simple clone of this object.

Returns
a pointer to the new object.

Implements ThePEG::InterfacedBase.

◆ createMode()

virtual bool Herwig::TwoPionCzyzCurrent::createMode ( int  icharge,
tcPDPtr  resonance,
FlavourInfo  flavour,
unsigned int  imode,
PhaseSpaceModePtr  mode,
unsigned int  iloc,
int  ires,
PhaseSpaceChannel  phase,
Energy  upp 
)
virtual

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

This method is purely virtual and must be implemented in the classes inheriting from WeakCurrent.

Parameters
ichargeThe total charge of the outgoing particles in the current.
resonanceIf specified only include terms with this particle
flavourInformation on the required flavours of the quarks
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::WeakCurrent.

◆ current()

virtual vector< LorentzPolarizationVectorE > Herwig::TwoPionCzyzCurrent::current ( tcPDPtr  resonance,
FlavourInfo  flavour,
const int  imode,
const int  ichan,
Energy &  scale,
const tPDVector outgoing,
const vector< Lorentz5Momentum > &  momenta,
DecayIntegrator::MEOption  meopt 
) const
virtual

Hadronic current.

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

Parameters
resonanceIf specified only include terms with this particle
flavourInformation on the required flavours of the quarks
imodeThe mode
ichanThe phase-space channel the current is needed for.
scaleThe invariant mass of the particles in the current.
outgoingThe particles produced in the decay
momentaThe momenta of the particles produced in the decay
meoptOption for the calculation of the matrix element
Returns
The current.

Implements Herwig::WeakCurrent.

◆ dataBaseOutput()

virtual void Herwig::TwoPionCzyzCurrent::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::WeakCurrent.

◆ decayMode()

virtual unsigned int Herwig::TwoPionCzyzCurrent::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::WeakCurrent.

◆ doinit()

virtual void Herwig::TwoPionCzyzCurrent::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 ThePEG::InterfacedBase.

◆ fullclone()

virtual IBPtr Herwig::TwoPionCzyzCurrent::fullclone ( ) const
protectedvirtual

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.

◆ Init()

static void Herwig::TwoPionCzyzCurrent::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.

◆ operator=()

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

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ particles()

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

The particles produced by the current.

This just returns the two pseudoscalar mesons and the photon.

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::WeakCurrent.

◆ persistentInput()

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

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

Member Data Documentation

◆ beta_

double Herwig::TwoPionCzyzCurrent::beta_
private

Regge \(\beta\) parameter.

Definition at line 252 of file TwoPionCzyzCurrent.h.

◆ coup_

vector<Complex> Herwig::TwoPionCzyzCurrent::coup_
private

Couplings of the resonaces.

Definition at line 272 of file TwoPionCzyzCurrent.h.

◆ dh_

vector<double> Herwig::TwoPionCzyzCurrent::dh_
private

The function \(\frac{\\hat{H}}{dq^2}\) at \(q^2=m^2\) for the GS form of the Breit-Wigner.

Definition at line 278 of file TwoPionCzyzCurrent.h.

◆ eMax_

Energy Herwig::TwoPionCzyzCurrent::eMax_
private

The maximum energy.

Definition at line 295 of file TwoPionCzyzCurrent.h.

◆ fpiIm_

Interpolator<double,Energy2>::Ptr Herwig::TwoPionCzyzCurrent::fpiIm_
private

Definition at line 300 of file TwoPionCzyzCurrent.h.

◆ fpiRe_

Interpolator<double,Energy2>::Ptr Herwig::TwoPionCzyzCurrent::fpiRe_
mutableprivate

Interpolators for the higher resonance components for speed.

Definition at line 300 of file TwoPionCzyzCurrent.h.

◆ h0_

vector<Energy2> Herwig::TwoPionCzyzCurrent::h0_
private

The \(H(0)\) parameter for the GS form of the Breit-Wigner.

Definition at line 290 of file TwoPionCzyzCurrent.h.

◆ hres_

vector<Energy2> Herwig::TwoPionCzyzCurrent::hres_
private

The function \(\\hat{H}\) at \(q^2=m^2\) for the GS form of the Breit-Wigner.

Definition at line 284 of file TwoPionCzyzCurrent.h.

◆ mass_

vector<Energy> Herwig::TwoPionCzyzCurrent::mass_
private

Masses of the resonances.

Definition at line 262 of file TwoPionCzyzCurrent.h.

◆ nMax_

unsigned int Herwig::TwoPionCzyzCurrent::nMax_
private

Number of resonaces at which to trucated the series.

Definition at line 257 of file TwoPionCzyzCurrent.h.

◆ omegaMag_

double Herwig::TwoPionCzyzCurrent::omegaMag_
private

The magnitude for input.

Definition at line 222 of file TwoPionCzyzCurrent.h.

◆ omegaMass_

Energy Herwig::TwoPionCzyzCurrent::omegaMass_
private

The mass of the \(\omega\) resonance.

Definition at line 242 of file TwoPionCzyzCurrent.h.

◆ omegaPhase_

double Herwig::TwoPionCzyzCurrent::omegaPhase_
private

The phase for input.

Definition at line 227 of file TwoPionCzyzCurrent.h.

◆ omegaWgt_

Complex Herwig::TwoPionCzyzCurrent::omegaWgt_
private

Weight for the omega resonance.

Definition at line 217 of file TwoPionCzyzCurrent.h.

◆ omegaWidth_

Energy Herwig::TwoPionCzyzCurrent::omegaWidth_
private

The width of the \(\omega\) resonance.

Definition at line 247 of file TwoPionCzyzCurrent.h.

◆ rhoMag_

vector<double> Herwig::TwoPionCzyzCurrent::rhoMag_
private

The magnitude for input.

Definition at line 206 of file TwoPionCzyzCurrent.h.

◆ rhoMasses_

vector<Energy> Herwig::TwoPionCzyzCurrent::rhoMasses_
private

The masses of the \(\rho\) resonances.

Definition at line 232 of file TwoPionCzyzCurrent.h.

◆ rhoPhase_

vector<double> Herwig::TwoPionCzyzCurrent::rhoPhase_
private

The phase for input.

Definition at line 211 of file TwoPionCzyzCurrent.h.

◆ rhoWgt_

vector<Complex> Herwig::TwoPionCzyzCurrent::rhoWgt_
private

Weights for the different \(\rho\) resonances in the current, \(\alpha_k\).

The Complex weight used in the calculation

Definition at line 201 of file TwoPionCzyzCurrent.h.

◆ rhoWidths_

vector<Energy> Herwig::TwoPionCzyzCurrent::rhoWidths_
private

The widths of the \(\rho\) resonances.

Definition at line 237 of file TwoPionCzyzCurrent.h.

◆ width_

vector<Energy> Herwig::TwoPionCzyzCurrent::width_
private

Widths of the resonances.

Definition at line 267 of file TwoPionCzyzCurrent.h.


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