Herwig 7.3.0
|
FFMassiveInvertedTildeKinematics inverts the final-final tilde kinematics. More...
#include <FFMassiveInvertedTildeKinematics.h>
Public Member Functions | |
virtual bool | doMap (const double *) |
Perform the mapping of the tilde kinematics for the last selected process and store all dimensionless variables in the subtractionParameters() vector. | |
virtual Energy | lastPt () const |
Return the pt associated to the last generated splitting. | |
virtual double | lastZ () const |
Return the momentum fraction associated to the last splitting. | |
virtual Energy | ptMax () const |
Return the upper bound on pt. | |
virtual pair< double, double > | zBounds (Energy pt, Energy hardPt=ZERO) const |
Given a pt, return the boundaries on z Note that allowing parton masses these bounds may be too loose. | |
bool | ptzAllowed (pair< Energy, double > ptz, vector< double > *values) const |
For generated pt and z, check if this point is kinematically allowed. | |
virtual pair< Energy, double > | generatePtZ (double &jac, const double *r, vector< double > *values) const |
Generate pt and z. | |
template<class T > | |
T | rootOfKallen (T a, T b, T c) const |
Triangular / Kallen function. | |
ThreeVector< double > | rotateToZ (Lorentz5Momentum &pTarget, Lorentz5Momentum &p1) |
stolen from FFMassiveKinematics.h Perform a rotation on both momenta such that the first one will point along the (positive) z axis. | |
Public Member Functions inherited from Herwig::InvertedTildeKinematics | |
InvertedTildeKinematics () | |
The default constructor. | |
const Lorentz5Momentum & | realEmitterMomentum () const |
Return the momentum of the emitter in the real emission process. | |
const Lorentz5Momentum & | realEmissionMomentum () const |
Return the momentum of the emission in the real emission process. | |
const Lorentz5Momentum & | realSpectatorMomentum () const |
Return the momentum of the spectator in the real emission process. | |
const Lorentz5Momentum & | bornEmitterMomentum () const |
Return the momentum of the emitter in the underlying Born process. | |
const Lorentz5Momentum & | bornSpectatorMomentum () const |
Return the momentum of the spectator in the underlying Born process. | |
double | emitterX () const |
Return the momentum fraction of the emitter. | |
double | spectatorX () const |
Return the momentum fraction of the spectator. | |
const vector< double > & | subtractionParameters () const |
Return the vector of dimensionless variables calculated. | |
virtual bool | doesTransform () const |
Return true, if this InvertedTildeKinematics object needs to transform all other particles in the process except the emitter, emission and spectator. | |
virtual Lorentz5Momentum | transform (const Lorentz5Momentum &p) const |
If this InvertedTildeKinematics object needs to transform all other particles in the process except the emitter, emission and spectator, return the transformed momentum. | |
Energy2 | sHat () const |
Return the centre of mass energy for the underlying Born configuration. | |
Ptr< InvertedTildeKinematics >::ptr | cloneMe () const |
Clone this object. | |
void | prepare (tcStdXCombPtr newRealXComb, tcStdXCombPtr newBornXComb) |
Prepare given a dipole, and XCombs describing the real emission and underlying Born processes, respectively. | |
tcStdXCombPtr | realXComb () const |
Return the real xcomb. | |
tcStdXCombPtr | bornXComb () const |
Return the Born xcomb. | |
void | dipole (Ptr< SubtractionDipole >::tptr dip) |
Set the current dipole. | |
Ptr< SubtractionDipole >::tptr | dipole () |
Return the current dipole. | |
Ptr< SubtractionDipole >::tcptr | dipole () const |
Return the current dipole. | |
virtual int | nDimRadiation () const |
Return the number of random numbers needed to generate a real emission configuration off the underlying Born configuration. | |
void | ptCut (Energy pt) |
Set an optional cutoff on the emission's transverse momentum. | |
Energy | ptCut () const |
Return the optional cutoff on the emission's transverse momentum. | |
virtual int | evolutionVariable () const |
Return the random number index corresponding to the evolution variable. | |
virtual double | evolutionCutoff () const |
Return the cutoff on the evolution random number corresponding to the pt cut. | |
virtual Energy | lastScale () const |
Return the relevant dipole scale. | |
virtual pair< Energy, double > | generatePtZ (double &jac, const double *r, double power=1., vector< double > *values=NULL) const |
Generate pt and z. | |
double | jacobian () const |
Return the single particle phase space weight in units of sHat() for the last selected configuration. | |
cPDPtr | realEmitterData () const |
Return the particle type of the emitter in the real emission process. | |
cPDPtr | realEmissionData () const |
Return the particle type of the emission in the real emission process. | |
cPDPtr | realSpectatorData () const |
Return the particle type of the spectator in the real emission process. | |
cPDPtr | bornEmitterData () const |
Return the particle type of the emitter in the underlying Born process. | |
cPDPtr | bornSpectatorData () const |
Return the particle type of the spectator in the underlying Born process. | |
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::HandlerBaseT< UseRandom > | |
double | rnd () const |
double | rnd (double xu) const |
double | rnd (double xl, double xu) const |
bool | rndbool () const |
bool | rndbool (double p) const |
bool | rndbool (double p1, double p2) const |
int | rndsign (double p1, double p2, double p3) const |
int | rnd2 (double p0, double p1) const |
int | rnd3 (double p0, double p1, double p2) const |
int | rnd4 (double p0, double p1, double p2, double p3) const |
long | irnd (long xu=2) const |
long | irnd (long xl, long xu) const |
const StandardModelBase & | SM () const |
tSMPtr | standardModel () const |
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 |
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. | |
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. | |
FFMassiveInvertedTildeKinematics & | operator= (const FFMassiveInvertedTildeKinematics &)=delete |
The assignment operator is private and must never be called. | |
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::InvertedTildeKinematics | |
static void | Init () |
The standard Init function used to initialize the interfaces. | |
Static Public Member Functions inherited from ThePEG::HandlerBase | |
static void | Init () |
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 |
Protected Member Functions inherited from Herwig::InvertedTildeKinematics | |
virtual void | rebind (const TranslationMap &trans) |
Rebind pointer to other Interfaced objects. | |
virtual IVector | getReferences () |
Return a vector of all pointers to Interfaced objects used in this object. | |
Lorentz5Momentum & | realEmitterMomentum () |
Access the momentum of the emitter in the real emission process. | |
Lorentz5Momentum & | realEmissionMomentum () |
Access the momentum of the emission in the real emission process. | |
Lorentz5Momentum & | realSpectatorMomentum () |
Access the momentum of the spectator in the real emission process. | |
vector< double > & | subtractionParameters () |
Access the vector of dimensionless variables calculated. | |
void | jacobian (double w) |
Set the single particle phase space weight in units of sHat() for the last selected configuration. | |
Lorentz5Momentum | getKt (const Lorentz5Momentum &p1, const Lorentz5Momentum &p2, Energy pt, double phi, bool spacelike=false) const |
Calculate a transverse momentum for the given momenta, invariant pt and azimuth. | |
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) |
Static Protected Member Functions inherited from ThePEG::Interfaced | |
static void | registerRepository (IBPtr) |
static void | registerRepository (IBPtr, string newName) |
FFMassiveInvertedTildeKinematics inverts the final-final tilde kinematics.
Definition at line 29 of file FFMassiveInvertedTildeKinematics.h.
|
protectedvirtual |
Make a simple clone of this object.
Implements ThePEG::InterfacedBase.
|
virtual |
Perform the mapping of the tilde kinematics for the last selected process and store all dimensionless variables in the subtractionParameters() vector.
Return false, if the calculation of the real kinematics was impossible for the selected configuration and true on success.
Implements Herwig::InvertedTildeKinematics.
|
protectedvirtual |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::InterfacedBase.
|
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.
|
virtual |
Return the pt associated to the last generated splitting.
Implements Herwig::InvertedTildeKinematics.
|
virtual |
Return the momentum fraction associated to the last splitting.
Implements Herwig::InvertedTildeKinematics.
|
privatedelete |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.
void Herwig::FFMassiveInvertedTildeKinematics::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::FFMassiveInvertedTildeKinematics::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
|
virtual |
Return the upper bound on pt.
Implements Herwig::InvertedTildeKinematics.
|
inline |
Triangular / Kallen function.
Definition at line 81 of file FFMassiveInvertedTildeKinematics.h.
References ThePEG::sqrt().
|
inline |
stolen from FFMassiveKinematics.h Perform a rotation on both momenta such that the first one will point along the (positive) z axis.
Rotate back to the original reference frame by applying rotateUz(returnedVector) to each momentum.
Definition at line 91 of file FFMassiveInvertedTildeKinematics.h.
References ThePEG::sqr(), ThePEG::sqrt(), and ThePEG::ThreeVector< typename Value >::unit().
|
virtual |
Given a pt, return the boundaries on z Note that allowing parton masses these bounds may be too loose.
Implements Herwig::InvertedTildeKinematics.