Herwig 7.3.0
|
Here is the documentation of the KPiCurrent class. More...
#include <KPiCurrent.h>
Public Member Functions | |
KPiCurrent () | |
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< LorentzPolarizationVectorE > | current (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. | |
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 &) | |
ReferenceCounted & | operator= (const ReferenceCounted &) |
Protected Member Functions inherited from ThePEG::Named | |
const Named & | operator= (const Named &other) |
const string & | name (const string &newName) |
Standard Interfaced functions. | |
bool | _localparameters |
Use local value of the parameters not those from the ParticleData objects. | |
bool | _transverse |
Whether to use \(m^2\) or \(Q^2\) in the projection operator. | |
double | _cV |
Normalizations of the vector and scalar pieces. | |
double | _cS |
\(c_S\), normalization of the scalar piece | |
vector< double > | _vecmag |
Parameters for the vector resonances. | |
vector< double > | _vecphase |
Phase of the vector weights. | |
vector< Complex > | _vecwgt |
Weights for the vector resonaces. | |
vector< Energy > | _vecmass |
Masses of the vector resonances. | |
vector< Energy > | _vecwidth |
Widths of the vector resonances. | |
vector< double > | _scamag |
Parameters for the scalar resonances. | |
vector< double > | _scaphase |
Phase of the scalar weights. | |
vector< Complex > | _scawgt |
Weights for the scalar resonances. | |
vector< Energy > | _scamass |
Masses of the scalar resonances. | |
vector< Energy > | _scawidth |
Widths of the scalar resonances. | |
Energy | _mpi |
Masses for calculating the running widths. | |
Energy | _mK |
The kaon mass. | |
vector< int > | _resmap |
Map for the resonances. | |
virtual void | doinit () |
Initialize this object after the setup phase before saving and EventGenerator to disk. | |
KPiCurrent & | operator= (const KPiCurrent &)=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. | |
Complex | sWaveBreitWigner (Energy2 q2, unsigned int ires) const |
Breit-Wigner distributions. | |
Complex | pWaveBreitWigner (Energy2 q2, unsigned int ires) const |
p-wave Breit-Wigner for the vector resonances | |
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) |
Here is the documentation of the KPiCurrent class.
Definition at line 28 of file KPiCurrent.h.
|
virtual |
Accept the decay.
Checks the particles are the allowed mode.
id | The id's of the particles in the current. |
Implements Herwig::WeakCurrent.
|
inlineprotectedvirtual |
Make a simple clone of this object.
Implements ThePEG::InterfacedBase.
Definition at line 194 of file KPiCurrent.h.
|
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.
icharge | The total charge of the outgoing particles in the current. |
resonance | If specified only include terms with this particle |
flavour | Information on the required flavours of the quarks |
imode | The mode in the current being asked for. |
mode | The phase space mode for the integration |
iloc | The location of the of the first particle from the current in the list of outgoing particles. |
ires | The location of the first intermediate for the current. |
phase | The prototype phase space channel for the integration. |
upp | The maximum possible mass the particles in the current are allowed to have. |
Implements Herwig::WeakCurrent.
|
virtual |
Hadronic current.
This method is purely virtual and must be implemented in all classes inheriting from this one.
resonance | If specified only include terms with this particle |
flavour | Information on the required flavours of the quarks |
imode | The mode |
ichan | The phase-space channel the current is needed for. |
scale | The invariant mass of the particles in the current. |
outgoing | The particles produced in the decay |
momenta | The momenta of the particles produced in the decay |
meopt | Option for the calculation of the matrix element |
Implements Herwig::WeakCurrent.
|
virtual |
Output the setup information for the particle database.
os | The stream to output the information to |
header | Whether or not to output the information for MySQL |
create | Whether or not to add a statement creating the object |
Reimplemented from Herwig::WeakCurrent.
|
virtual |
Return the decay mode number for a given set of particles in the current.
id | The id's of the particles in the current. |
Implements Herwig::WeakCurrent.
|
protectedvirtual |
Initialize this object after the setup phase before saving and EventGenerator to disk.
InitException | if object could not be initialized properly. |
Reimplemented from ThePEG::InterfacedBase.
|
inlineprotectedvirtual |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::InterfacedBase.
Definition at line 200 of file KPiCurrent.h.
|
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.
|
privatedelete |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.
|
virtual |
The particles produced by the current.
This just returns the two pseudoscalar mesons and the photon.
icharge | The total charge of the particles in the current. |
imode | The mode for which the particles are being requested |
iq | The PDG code for the quark |
ia | The PDG code for the antiquark |
Implements Herwig::WeakCurrent.
void Herwig::KPiCurrent::persistentInput | ( | PersistentIStream & | is, |
int | version | ||
) |
Function used to read in object persistently.
is | the persistent input stream read from. |
version | the version number of the object when written. |
void Herwig::KPiCurrent::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
|
inlineprotected |
p-wave Breit-Wigner for the vector resonances
q2 | The scale |
ires | The resonances |
Definition at line 173 of file KPiCurrent.h.
References _mK, _mpi, _vecmass, _vecwidth, Herwig::Kinematics::pstarTwoBodyDecay(), ThePEG::sqr(), ThePEG::sqrt(), and ThePEG::ZERO.
|
inlineprotected |
Breit-Wigner distributions.
s-wave Breit-Wigner for the scalar resonances
q2 | The scale |
ires | The resonances |
Definition at line 157 of file KPiCurrent.h.
References _mK, _mpi, _scamass, _scawidth, Herwig::Kinematics::pstarTwoBodyDecay(), ThePEG::sqr(), ThePEG::sqrt(), and ThePEG::ZERO.
|
private |
\(c_S\), normalization of the scalar piece
Definition at line 248 of file KPiCurrent.h.
|
private |
Normalizations of the vector and scalar pieces.
\(c_V\), normalization of the vector piece.
Definition at line 243 of file KPiCurrent.h.
|
private |
Use local value of the parameters not those from the ParticleData objects.
Definition at line 229 of file KPiCurrent.h.
|
private |
The kaon mass.
Definition at line 323 of file KPiCurrent.h.
Referenced by pWaveBreitWigner(), and sWaveBreitWigner().
|
private |
Masses for calculating the running widths.
The pion mass
Definition at line 318 of file KPiCurrent.h.
Referenced by pWaveBreitWigner(), and sWaveBreitWigner().
|
private |
Map for the resonances.
Definition at line 329 of file KPiCurrent.h.
|
private |
Parameters for the scalar resonances.
Magnitude of the scalar weights
Definition at line 288 of file KPiCurrent.h.
|
private |
Masses of the scalar resonances.
Definition at line 303 of file KPiCurrent.h.
Referenced by sWaveBreitWigner().
|
private |
Phase of the scalar weights.
Definition at line 293 of file KPiCurrent.h.
|
private |
Weights for the scalar resonances.
Definition at line 298 of file KPiCurrent.h.
|
private |
Widths of the scalar resonances.
Definition at line 308 of file KPiCurrent.h.
Referenced by sWaveBreitWigner().
|
private |
Whether to use \(m^2\) or \(Q^2\) in the projection operator.
Definition at line 234 of file KPiCurrent.h.
|
private |
Parameters for the vector resonances.
Magnitude of the vector weights
Definition at line 258 of file KPiCurrent.h.
|
private |
Masses of the vector resonances.
Definition at line 273 of file KPiCurrent.h.
Referenced by pWaveBreitWigner().
|
private |
Phase of the vector weights.
Definition at line 263 of file KPiCurrent.h.
|
private |
Weights for the vector resonaces.
Definition at line 268 of file KPiCurrent.h.
|
private |
Widths of the vector resonances.
Definition at line 278 of file KPiCurrent.h.
Referenced by pWaveBreitWigner().