herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
IFLightTildeKinematics.h
1// -*- C++ -*-
2//
3// IFLightTildeKinematics.h is a part of Herwig - A multi-purpose Monte Carlo event generator
4// Copyright (C) 2002-2019 The Herwig Collaboration
5//
6// Herwig is licenced under version 3 of the GPL, see COPYING for details.
7// Please respect the MCnet academic guidelines, see GUIDELINES for details.
8//
9#ifndef HERWIG_IFLightTildeKinematics_H
10#define HERWIG_IFLightTildeKinematics_H
11//
12// This is the declaration of the IFLightTildeKinematics class.
13//
14
15#include "Herwig/MatrixElement/Matchbox/Phasespace/TildeKinematics.h"
16
17namespace Herwig {
18
19using namespace ThePEG;
20
30
31public:
32
41 virtual bool doMap();
42
46 virtual Energy lastPt() const;
47
51 virtual Energy lastPt(Lorentz5Momentum,Lorentz5Momentum,Lorentz5Momentum) const ;
52
53
57 virtual double lastZ() const;
58
62 virtual pair<double,double> zBounds(Energy pt, Energy hardPt ) const;
63
64 /*
65 * True if phase space point is above the alpha cut for this dipole.
66 */
67
68 bool aboveAlpha() const {return dipole()->alpha()<subtractionParameters()[1];}
69
70
71public:
72
80
86 void persistentInput(PersistentIStream & is, int version);
88
95 static void Init();
96
97protected:
98
105 virtual IBPtr clone() const;
106
111 virtual IBPtr fullclone() const;
113
114
115// If needed, insert declarations of virtual function defined in the
116// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
117
118
119private:
120
126
127};
128
129}
130
131#endif /* HERWIG_IFLightTildeKinematics_H */
IFLightTildeKinematics implements the 'tilde' kinematics for a initial-final subtraction dipole.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
virtual pair< double, double > zBounds(Energy pt, Energy hardPt) const
Given a pt, return the boundaries on z.
virtual Energy lastPt() const
Return the pt associated to the last merged splitting.
static void Init()
The standard Init function used to initialize the interfaces.
virtual IBPtr clone() const
Make a simple clone of this object.
virtual Energy lastPt(Lorentz5Momentum, Lorentz5Momentum, Lorentz5Momentum) const
Return the pt associated to emitter emission and sppectator momentum.
virtual bool doMap()
Perform the mapping to the tilde kinematics for the last selected process and store all dimensionless...
virtual double lastZ() const
Return the momentum fraction associated to the last splitting.
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.
IFLightTildeKinematics & operator=(const IFLightTildeKinematics &)=delete
The assignment operator is private and must never be called.
TildeKinematics is the base class for the 'tilde' kinematics being used for subtraction terms in the ...
vector< double > & subtractionParameters()
Access the vector of dimensionless variables calculated.
Ptr< SubtractionDipole >::tptr dipole()
Return the current dipole.
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr