The Dipole class is used by the dipole shower to represent a dipole of two coloured partons. More...
#include <Dipole.h>
Public Member Functions | |
Dipole () | |
The default constructor. | |
Dipole (const pair< PPtr, PPtr > &newParticles, const pair< PDF, PDF > &newPDFs, pair< double, double > newFractions, pair< Energy, Energy > newScales) | |
The standard constructor. | |
Dipole (const pair< PPtr, PPtr > &newParticles, const pair< PDF, PDF > &newPDFs, pair< double, double > newFractions, const pair< bool, bool > decaying=pair< bool, bool >(false, false), const pair< bool, bool > offShell=pair< bool, bool >(false, false), pair< Energy, Energy > newScales=pair< Energy, Energy >(ZERO, ZERO)) | |
The standard constructor. | |
tPPtr | leftParticle () const |
Get the left particle. | |
tPPtr | rightParticle () const |
Get the right particle. | |
const PDF & | leftPDF () const |
Get the left PDF. | |
const PDF & | rightPDF () const |
Get the right PDF. | |
double | leftFraction () const |
Get the left fraction. | |
double | rightFraction () const |
Get the right fraction. | |
bool | leftDecaying () |
Get the bool indicating incoming decay for the left particle, for debugging only. | |
bool | rightDecaying () |
Get the bool indicating incoming decay for the right particle, for debugging only. | |
void | leftParticle (PPtr p) |
Set the left particle. | |
void | rightParticle (PPtr p) |
Set the right particle. | |
void | leftPDF (const PDF &p) |
Set the left PDF. | |
void | rightPDF (const PDF &p) |
Set the right PDF. | |
void | leftFraction (double x) |
Set the momentum fraction for the left particle. | |
void | rightFraction (double x) |
Set the momentum fraction for the right particle. | |
Energy | leftScale () const |
Get the scale for the left particle. | |
void | leftScale (Energy s) |
Set the scale for the left particle. | |
Energy | rightScale () const |
Get the scale for the right particle. | |
void | rightScale (Energy s) |
Set the scale for the right particle. | |
void | leftDecaying (bool decaying) |
Set the decayed particle indicator for the left particle. | |
void | rightDecaying (bool decaying) |
Set the decayed particle indicator for the right particle. | |
void | update () |
Update information, if modified. | |
const DipoleIndex & | index (pair< bool, bool > conf) const |
Return the dipole index for the selected emitter-spectator assignment. | |
void | setFirstIndex (DipoleIndex s) |
Set the first index. | |
void | setSecondIndex (DipoleIndex s) |
Set the first index. | |
tPPtr | emitter (pair< bool, bool > conf) const |
Return the emitter particle for the selected configuration. | |
tPPtr | spectator (pair< bool, bool > conf) const |
Return the spectator particle for the selected configuration. | |
Energy | emitterScale (pair< bool, bool > conf) const |
Return the scale associated to the emitter for the selected configuration. | |
void | emitterScale (pair< bool, bool > conf, Energy scale) |
Set the scale associated to the emitter for the selected configuration. | |
double | emitterX (pair< bool, bool > conf) const |
Return the momentum fraction of the emitter for the selected configuration. | |
const PDF & | emitterPDF (pair< bool, bool > conf) const |
Return the PDF of the emitter for the selected configuration. | |
double | spectatorX (pair< bool, bool > conf) const |
Return the momentum fraction of the spectator for the selected configuration. | |
const PDF & | spectatorPDF (pair< bool, bool > conf) const |
Return the PDF of the spectator for the selected configuration. | |
pair< Dipole, Dipole > | split (DipoleSplittingInfo &dsplit, bool colourSpectator, bool subleadingNc=false) const |
Split this dipole according to the given splitting. | |
void | tmpsplit (DipoleSplittingInfo &dsplit, bool colourSpectator) const |
As split, but without touching the event record. | |
void | recoil (DipoleSplittingInfo &dsplit) |
Produce a new spectator according to the given splitting. | |
void | print (ostream &) const |
Put information to ostream. | |
Private Attributes | |
pair< PPtr, PPtr > | theParticles |
The particles forming the dipole. | |
pair< PDF, PDF > | thePDFs |
The PDF objects. | |
pair< double, double > | theFractions |
The momentum fractions associated to the incoming particles. | |
pair< DipoleIndex, DipoleIndex > | theIndices |
The dipole indices, if the first or second particle is considered as emitter. | |
pair< bool, bool > | theDecaying |
Indicates if either the first or the second parton is incoming to a decay. | |
pair< bool, bool > | theOffShell |
Indicates if either the first or second parton can be off-shell (required for sampling). | |
pair< Energy, Energy > | theScales |
The scale associated to the first and second particle, respectively. | |
The Dipole class is used by the dipole shower to represent a dipole of two coloured partons.
|
inline |
Return the emitter particle for the selected configuration.
Definition at line 195 of file Dipole.h.
References theParticles.
|
inline |
|
inline |
|
inline |
|
inline |
Return the momentum fraction of the emitter for the selected configuration.
Definition at line 227 of file Dipole.h.
References theFractions.
|
inline |
Return the dipole index for the selected emitter-spectator assignment.
Definition at line 177 of file Dipole.h.
References theIndices.
|
inline |
Get the bool indicating incoming decay for the left particle, for debugging only.
Definition at line 95 of file Dipole.h.
References theDecaying.
|
inline |
Set the decayed particle indicator for the left particle.
Definition at line 158 of file Dipole.h.
References theDecaying.
|
inline |
|
inline |
Set the momentum fraction for the left particle.
Definition at line 127 of file Dipole.h.
References theFractions.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Get the bool indicating incoming decay for the right particle, for debugging only.
Definition at line 102 of file Dipole.h.
References theDecaying.
|
inline |
Set the decayed particle indicator for the right particle.
Definition at line 164 of file Dipole.h.
References theDecaying.
|
inline |
|
inline |
Set the momentum fraction for the right particle.
Definition at line 132 of file Dipole.h.
References theFractions.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return the spectator particle for the selected configuration.
Definition at line 203 of file Dipole.h.
References theParticles.
|
inline |
|
inline |
Return the momentum fraction of the spectator for the selected configuration.
Definition at line 243 of file Dipole.h.
References theFractions.
pair< Dipole, Dipole > Herwig::Dipole::split | ( | DipoleSplittingInfo & | dsplit, |
bool | colourSpectator, | ||
bool | subleadingNc = false |
||
) | const |
Split this dipole according to the given splitting.
If colourSpectator is true, do not change the spectator.
void Herwig::Dipole::tmpsplit | ( | DipoleSplittingInfo & | dsplit, |
bool | colourSpectator | ||
) | const |
As split, but without touching the event record.
Needed to produce a phase space point as it would be after calling split.
|
private |
Indicates if either the first or the second parton is incoming to a decay.
Definition at line 315 of file Dipole.h.
Referenced by leftDecaying(), and rightDecaying().
|
private |
The momentum fractions associated to the incoming particles.
Definition at line 303 of file Dipole.h.
Referenced by emitterX(), leftFraction(), rightFraction(), and spectatorX().
|
private |
The dipole indices, if the first or second particle is considered as emitter.
Definition at line 309 of file Dipole.h.
Referenced by index(), setFirstIndex(), and setSecondIndex().
|
private |
The particles forming the dipole.
Definition at line 292 of file Dipole.h.
Referenced by emitter(), leftParticle(), rightParticle(), and spectator().
The PDF objects.
Definition at line 297 of file Dipole.h.
Referenced by emitterPDF(), leftPDF(), rightPDF(), and spectatorPDF().
|
private |
The scale associated to the first and second particle, respectively.
Definition at line 327 of file Dipole.h.
Referenced by emitterScale(), leftScale(), and rightScale().