herwig is hosted by Hepforge, IPPP Durham
Herwig++  2.7.0
Herwig::DipoleSplittingKinematics Class Reference

DipoleSplittingKinematics is the base class for dipole splittings as performed in the dipole shower. More...

#include <DipoleSplittingKinematics.h>

Inheritance diagram for Herwig::DipoleSplittingKinematics:

List of all members.

Public Types

enum  ZSamplingOptions { FlatZ = 0, OneOverZ, OneOverOneMinusZ, OneOverZOneMinusZ }
 Enumerate the variants of sampling z.

Public Member Functions

virtual pair< double, double > kappaSupport (const DipoleSplittingInfo &) 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 &) const
 Return the boundaries in between the momentum fraction random number is to be sampled.
virtual Energy dipoleScale (const Lorentz5Momentum &pEmitter, const Lorentz5Momentum &pSpectator) const
 Return the dipole scale associated to the given pair of emitter and spectator.
virtual Energy ptMax (Energy dScale, double emX, double specX, const DipoleIndex &dIndex, const DipoleSplittingKernel &split) const =0
 Return the maximum pt for the given dipole scale.
virtual Energy QMax (Energy dScale, double emX, double specX, const DipoleIndex &dIndex, const DipoleSplittingKernel &split) const =0
 Return the maximum virtuality for the given dipole scale.
virtual Energy PtFromQ (Energy scale, const DipoleSplittingInfo &) const =0
 Return the pt given a virtuality.
virtual Energy QFromPt (Energy scale, const DipoleSplittingInfo &) const =0
 Return the virtuality given a pt.
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.
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 pair< double, double > zBoundaries (Energy pt, const DipoleSplittingInfo &dInfo, const DipoleSplittingKernel &split) const =0
 Return the boundaries on the momentum fraction.
double generateZ (double r, Energy pt, int sampling, const DipoleSplittingInfo &dInfo, const DipoleSplittingKernel &split, double &weight) const
 Generate a z value flat.
virtual bool generateSplitting (double kappa, double xi, double phi, DipoleSplittingInfo &dIndex, const DipoleSplittingKernel &)=0
 Generate splitting variables given three random numbers and the momentum fractions of the emitter and spectator.
double jacobian () const
 Get the splitting phasespace weight associated to the last call to generateSplitting.
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 generated azimuthal angle.
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()
virtual void generateKinematics (const Lorentz5Momentum &pEmitter, const Lorentz5Momentum &pSpectator, const DipoleSplittingInfo &dInfo)=0
 Generate the full kinematics given emitter and spectator momentum and a previously completeted DipoleSplittingInfo object.
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 Lorentz5Momentum transform (const Lorentz5Momentum &p) const
Standard constructors and destructors.
 DipoleSplittingKinematics ()
 The default constructor.
virtual ~DipoleSplittingKinematics ()
 The destructor.
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 Public Member Functions

static void Init ()
 The standard Init function used to initialize the interfaces.

Protected Member Functions

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.
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 generated azimuthal angle.
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.

Protected Attributes

Ptr< DipoleMCCheck >::ptr theMCCheck
 Pointer to a check histogram object.

Private Member Functions

DipoleSplittingKinematicsoperator= (const DipoleSplittingKinematics &)
 The assignment operator is private and must never be called.

Private Attributes

Energy theIRCutoff
 The infrared cutoff associated to this splitting kinematics.
double theXMin
 The minimum momentum fraction for incoming partons.
double theJacobian
 The last calculated splitting phase space weight.
Energy theLastPt
 The last generated pt.
double theLastZ
 The last generated momentum fraction.
double theLastPhi
 The last generated azimuthal angle.
double theLastEmitterZ
 The momentum fraction, by which the emitter's momentum fraction should be divided after the splitting.
double theLastSpectatorZ
 The momentum fraction, by which the spectator's momentum fraction should be divided after the splitting.
vector< double > theLastSplittingParameters
 Any additional parameters needed to evaluate the splitting kernel or to generate the full splitting.
Lorentz5Momentum theEmitterMomentum
 The emitter's momentum after the splitting.
Lorentz5Momentum theEmissionMomentum
 The emission's momentum after the splitting.
Lorentz5Momentum theSpectatorMomentum
 The spectator's momentum after the splitting.

Static Private Attributes

static
AbstractClassDescription
< DipoleSplittingKinematics
initDipoleSplittingKinematics
 The static object used to initialize the description of this class.

Detailed Description

DipoleSplittingKinematics is the base class for dipole splittings as performed in the dipole shower.

Author:
Simon Platzer
See also:
The interfaces defined for DipoleSplittingKinematics.

Definition at line 38 of file DipoleSplittingKinematics.h.


Member Function Documentation

virtual Energy Herwig::DipoleSplittingKinematics::dipoleScale ( const Lorentz5Momentum &  pEmitter,
const Lorentz5Momentum &  pSpectator 
) const [inline, 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 in Herwig::IFMassiveKinematics, Herwig::FFMassiveKinematics, and Herwig::FIMassiveKinematics.

Definition at line 82 of file DipoleSplittingKinematics.h.

References sqrt().

virtual bool Herwig::DipoleSplittingKinematics::generateSplitting ( double  kappa,
double  xi,
double  phi,
DipoleSplittingInfo dIndex,
const DipoleSplittingKernel  
) [pure virtual]

Generate splitting variables given three random numbers and the momentum fractions of the emitter and spectator.

Return true on success.

Implemented in Herwig::IFMassiveKinematics, Herwig::FFMassiveKinematics, Herwig::FIMassiveKinematics, Herwig::IFLightKinematics, Herwig::IILightKinematics, Herwig::FFLightKinematics, and Herwig::FILightKinematics.

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

Reimplemented from ThePEG::HandlerBase.

Reimplemented in Herwig::FFMassiveKinematics, Herwig::FIMassiveKinematics, Herwig::IFMassiveKinematics, Herwig::IILightKinematics, Herwig::IFLightKinematics, Herwig::FFLightKinematics, and Herwig::FILightKinematics.

Get the splitting phasespace weight associated to the last call to generateSplitting.

This is taken to be the single particle phasespace times 16 ^2 divided by the relevant propagator invariant.

Definition at line 184 of file DipoleSplittingKinematics.h.

void Herwig::DipoleSplittingKinematics::jacobian ( double  w) [inline, protected]

Set the splitting phasespace weight associated to the last call to generateSplitting.

This is taken to be the single particle phasespace times 16 ^2 divided by the relevant propagator invariant.

Definition at line 296 of file DipoleSplittingKinematics.h.

DipoleSplittingKinematics& Herwig::DipoleSplittingKinematics::operator= ( const DipoleSplittingKinematics ) [private]

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

Function used to read in object persistently.

Parameters:
isthe persistent input stream read from.
versionthe version number of the object when written.

Reimplemented from ThePEG::Interfaced.

Reimplemented in Herwig::FFMassiveKinematics, Herwig::FIMassiveKinematics, Herwig::IFMassiveKinematics, Herwig::IILightKinematics, Herwig::IFLightKinematics, Herwig::FFLightKinematics, and Herwig::FILightKinematics.

Function used to write out object persistently.

Parameters:
osthe persistent output stream written to.

Reimplemented from ThePEG::Interfaced.

Reimplemented in Herwig::FFMassiveKinematics, Herwig::FIMassiveKinematics, Herwig::IFMassiveKinematics, Herwig::IILightKinematics, Herwig::IFLightKinematics, Herwig::FFLightKinematics, and Herwig::FILightKinematics.


Member Data Documentation

The static object used to initialize the description of this class.

Indicates that this is an abstract class.

Definition at line 460 of file DipoleSplittingKinematics.h.


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