Herwig
7.2.1
|
FIMassiveDecayKinematics implements massive splittings off a final-initial decay dipole. More...
#include <FIMassiveDecayKinematics.h>
Public Member Functions | |
virtual pair< double, double > | kappaSupport (const DipoleSplittingInfo &dIndex) const |
Return the boundaries in between the evolution variable random number is to be sampled; the lower cuoff is assumed to correspond to the infrared cutoff. | |
virtual pair< double, double > | xiSupport (const DipoleSplittingInfo &dIndex) const |
Return the boundaries in between the momentum fraction random number is to be sampled. | |
virtual pair< double, double > | zBoundaries (Energy, const DipoleSplittingInfo &, const DipoleSplittingKernel &) const |
Return the boundaries on the momentum fraction. | |
virtual Energy | dipoleScale (const Lorentz5Momentum &pEmitter, const Lorentz5Momentum &pSpectator) const |
Return the dipole scale associated to the given pair of emitter and spectator. More... | |
virtual Energy | recoilMassKin (const Lorentz5Momentum &pEmitter, const Lorentz5Momentum &pSpectator) const |
Return the mass of the system absorbing the recoil in the dipole splitting. More... | |
virtual Energy | ptMax (Energy dScale, double emX, double specX, const DipoleSplittingInfo &dInfo, const DipoleSplittingKernel &split) const |
Return the maximum pt for the given dipole scale. | |
virtual Energy | ptMax (Energy dScale, double, double, const DipoleIndex &dIndex, const DipoleSplittingKernel &split, tPPtr emitter, tPPtr spectator) const |
Return the maximum pt for the given dipole scale. | |
virtual Energy | QMax (Energy dScale, double emX, double specX, const DipoleSplittingInfo &dInfo, const DipoleSplittingKernel &split) const |
Return the maximum virtuality for the given dipole scale. | |
virtual Energy | ptMax (Energy, double, double, const DipoleIndex &, const DipoleSplittingKernel &) const |
Return the maximum pt for the given dipole scale. | |
virtual Energy | QMax (Energy, double, double, const DipoleIndex &, const DipoleSplittingKernel &) const |
Return the maximum virtuality for the given dipole scale. | |
virtual Energy | PtFromQ (Energy scale, const DipoleSplittingInfo &) const |
Return the pt given a virtuality. | |
virtual Energy | QFromPt (Energy scale, const DipoleSplittingInfo &) const |
Return the virtuality given a pt. | |
virtual double | ptToRandom (Energy pt, Energy dScale, double emX, double specX, const DipoleIndex &dIndex, const DipoleSplittingKernel &split) const |
Return the random number associated to the given pt. | |
virtual bool | generateSplitting (double kappa, double xi, double phi, DipoleSplittingInfo &info, const DipoleSplittingKernel &split) |
Generate splitting variables given three random numbers and the momentum fractions of the emitter and spectator. More... | |
virtual void | generateKinematics (const Lorentz5Momentum &pEmitter, const Lorentz5Momentum &pSpectator, const DipoleSplittingInfo &dInfo) |
Generate the full kinematics given emitter and spectator momentum and a previously completeted DipoleSplittingInfo object. | |
virtual Lorentz5Momentum | nVector (const Lorentz5Momentum &pEmitter, const Lorentz5Momentum &pSpectator, const DipoleSplittingInfo &dInfo) const |
Return the nVector as required for spin correlations. | |
virtual bool | isDecay () const |
SW 30/01/2019: Test feature only, not for release. More... | |
virtual void | decayRecoil (PList &recoilSystem) |
Perform the recoil in the case of a decayed parton. | |
template<class T > | |
T | rootOfKallen (T a, T b, T c) const |
Triangular / Kallen function. | |
Standard constructors and destructors. | |
FIMassiveDecayKinematics () | |
The default constructor. | |
virtual | ~FIMassiveDecayKinematics () |
The destructor. | |
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::DipoleSplittingKinematics | |
virtual Energy | QMax (Energy dScale, double emX, double specX, const DipoleIndex &dIndex, const DipoleSplittingKernel &split, tPPtr emitter, tPPtr spectator) const |
Return the maximum virtuality for the given dipole scale. | |
virtual Energy | IRCutoff () const |
Return the infrared cutoff. | |
double | xMin () const |
Return the minimum momentum fraction for incoming partons. | |
Energy | generatePt (double r, Energy dScale, double emX, double specX, const DipoleIndex &dIndex, const DipoleSplittingKernel &split, double &weight) const |
Generate a pt. | |
double | generateZ (double r, Energy pt, int sampling, const DipoleSplittingInfo &dInfo, const DipoleSplittingKernel &split, double &weight) const |
Generate a z value flat. | |
double | jacobian () const |
Get the splitting phasespace weight associated to the last call to generateSplitting. More... | |
virtual bool | haveOverestimate () const |
Return true, if this splitting kinematics class is capable of delivering an overestimate to the jacobian. | |
virtual double | jacobianOverestimate () const |
Return the overestimated jacobian for the last generated parameters. | |
Energy | lastPt () const |
Return the last generated pt. | |
double | lastZ () const |
Return the last generated momentum fraction. | |
double | lastPhi () const |
Return the last calculated zPrime for massive FF and decay dipoles. More... | |
double | lastEmitterZ () const |
Return the momentum fraction, by which the emitter's momentum fraction should be divided after the splitting. | |
double | lastSpectatorZ () const |
Return the momentum fraction, by which the spectator's momentum fraction should be divided after the splitting. | |
const vector< double > & | lastSplittingParameters () const |
Return any additional parameters needed to evaluate the splitting kernel or to generate the full splitting. | |
void | prepareSplitting (DipoleSplittingInfo &dInfo) |
Complete a DipoleSplittingInfo object with the parameters generated by the last call to generateSplitting() | |
const Lorentz5Momentum & | lastEmitterMomentum () const |
Return the emitter's momentum after the splitting. | |
const Lorentz5Momentum & | lastSpectatorMomentum () const |
Return the spectator's momentum after the splitting. | |
const Lorentz5Momentum & | lastEmissionMomentum () const |
Return the emission's momentum. | |
virtual bool | doesTransform () const |
virtual void | setTransformation () |
Calculate and store a required Lorentz transformation. | |
int | openZBoundaries () const |
virtual void | transform (PPtr &) |
virtual Lorentz5Momentum | pVector (const Lorentz5Momentum &pEmitter, const Lorentz5Momentum &, const DipoleSplittingInfo &) const |
Return the pVector, required for spin correlations. | |
DipoleSplittingKinematics () | |
The default constructor. | |
virtual | ~DipoleSplittingKinematics () |
The destructor. | |
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 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 |
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::DipoleSplittingKinematics | |
static void | Init () |
The standard Init function used to initialize the interfaces. More... | |
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 () |
Protected Member Functions | |
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... | |
Protected Member Functions inherited from Herwig::DipoleSplittingKinematics | |
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. | |
void | jacobian (double w) |
Set the splitting phasespace weight associated to the last call to generateSplitting. More... | |
void | lastPt (Energy p) |
Set the last generated pt. | |
void | lastZ (double z) |
Set the last generated momentum fraction. | |
void | lastPhi (double p) |
Set the last calculated zPrime for massive FF and decay dipoles. More... | |
void | lastEmitterZ (double z) |
Set the momentum fraction, by which the emitter's momentum fraction should be divided after the splitting. | |
void | lastSpectatorZ (double z) |
Set the momentum fraction, by which the spectator's momentum fraction should be divided after the splitting. | |
vector< double > & | splittingParameters () |
Access any additional parameters needed to evaluate the splitting kernel or to generate the full splitting. | |
void | emitterMomentum (const Lorentz5Momentum &p) |
Set the emitter's momentum after the splitting. | |
void | spectatorMomentum (const Lorentz5Momentum &p) |
Set the spectator's momentum after the splitting. | |
void | emissionMomentum (const Lorentz5Momentum &p) |
Set the emission's momentum. | |
void | splitRecoilMomentum (const Lorentz5Momentum &mom) |
Set the momentum of the recoil system after the splitting. | |
const Lorentz5Momentum & | splitRecoilMomentum () const |
Return the momentum of the recoil system after splitting. | |
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 | doinit () |
virtual void | doinitrun () |
virtual void | dofinish () |
virtual IVector | getReferences () |
virtual void | rebind (const TranslationMap &) |
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 &) |
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) |
Private Member Functions | |
FIMassiveDecayKinematics & | operator= (const FIMassiveDecayKinematics &)=delete |
The assignment operator is private and must never be called. More... | |
Static Private Attributes | |
static ClassDescription< FIMassiveDecayKinematics > | initFIMassiveDecayKinematics |
The static object used to initialize the description of this class. More... | |
Additional Inherited Members | |
Public Types inherited from Herwig::DipoleSplittingKinematics | |
enum | ZSamplingOptions { FlatZ = 0, OneOverZ, OneOverOneMinusZ, OneOverZOneMinusZ } |
Enumerate the variants of sampling z. | |
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) |
Protected Attributes inherited from Herwig::DipoleSplittingKinematics | |
Ptr< DipoleMCCheck >::ptr | theMCCheck |
Pointer to a check histogram object. | |
FIMassiveDecayKinematics implements massive splittings off a final-initial decay dipole.
Definition at line 31 of file FIMassiveDecayKinematics.h.
|
protectedvirtual |
Make a simple clone of this object.
Implements ThePEG::InterfacedBase.
|
virtual |
Return the dipole scale associated to the given pair of emitter and spectator.
This should be the invariant mass or absolute value final/final or initial/initial and the absolute value of the momentum transfer for intial/final or final/initial dipoles.
Reimplemented from Herwig::DipoleSplittingKinematics.
|
protectedvirtual |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::InterfacedBase.
|
virtual |
Generate splitting variables given three random numbers and the momentum fractions of the emitter and spectator.
Return true on success.
Implements Herwig::DipoleSplittingKinematics.
|
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.
|
inlinevirtual |
SW 30/01/2019: Test feature only, not for release.
In II case use colourless particles only to absorb recoil SW 30/01/2019: Used in DipoleEventRecord to prepare for transformHard, test feature only, not for release. Add to splitRecoilMomentum for transformation
Reimplemented from Herwig::DipoleSplittingKinematics.
Definition at line 186 of file FIMassiveDecayKinematics.h.
|
privatedelete |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.
void Herwig::FIMassiveDecayKinematics::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::FIMassiveDecayKinematics::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
|
virtual |
Return the mass of the system absorbing the recoil in the dipole splitting.
This is only used in decay dipoles.
Reimplemented from Herwig::DipoleSplittingKinematics.
|
staticprivate |
The static object used to initialize the description of this class.
Indicates that this is a concrete class with persistent data.
Definition at line 280 of file FIMassiveDecayKinematics.h.