herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
FIMassiveTildeKinematics.h
1// -*- C++ -*-
2//
3// FIMassiveTildeKinematics.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_FIMassiveTildeKinematics_H
10#define HERWIG_FIMassiveTildeKinematics_H
11//
12// This is the declaration of the FIMassiveTildeKinematics 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
56 virtual pair<double,double> zBounds(Energy pt, Energy hardPt ) const;
57
61 virtual double lastZ() const;
62
63public:
67 template <class T>
68 inline T rootOfKallen (T a, T b, T c) const {
69 return sqrt( a*a + b*b + c*c - 2.*( a*b+a*c+b*c ) ); }
70
78
84 void persistentInput(PersistentIStream & is, int version);
86
93 static void Init();
94
95protected:
96
103 virtual IBPtr clone() const;
104
109 virtual IBPtr fullclone() const;
111
112
113// If needed, insert declarations of virtual function defined in the
114// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
115
116
117private:
118
124
125};
126
127}
128
129#endif /* HERWIG_FIMassiveTildeKinematics_H */
FIMassiveTildeKinematics implements the 'tilde' kinematics for a final-initial subtraction dipole.
static void Init()
The standard Init function used to initialize the interfaces.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
T rootOfKallen(T a, T b, T c) const
Triangular / Kallen function.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual double lastZ() const
Return the momentum fraction associated to the last splitting.
virtual Energy lastPt(Lorentz5Momentum, Lorentz5Momentum, Lorentz5Momentum) const
Return the pt associated to emitter emission and sppectator momentum.
virtual pair< double, double > zBounds(Energy pt, Energy hardPt) const
Given a pt, return the boundaries on z.
virtual IBPtr clone() const
Make a simple clone of this object.
virtual bool doMap()
Perform the mapping to the tilde kinematics for the last selected process and store all dimensionless...
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
virtual Energy lastPt() const
Return the pt associated to the last merged splitting.
FIMassiveTildeKinematics & operator=(const FIMassiveTildeKinematics &)=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 ...
-*- C++ -*-
double sqrt(int x)
ThePEG::Ptr< InterfacedBase >::pointer IBPtr