herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
FFMassiveTildeKinematics.h
1 // -*- C++ -*-
2 //
3 // FFMassiveTildeKinematics.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_FFMassiveTildeKinematics_H
10 #define HERWIG_FFMassiveTildeKinematics_H
11 //
12 // This is the declaration of the FFMassiveTildeKinematics class.
13 //
14 
15 #include "Herwig/MatrixElement/Matchbox/Phasespace/TildeKinematics.h"
16 
17 namespace Herwig {
18 
19 using namespace ThePEG;
20 
30 
31 public:
32 
39 
43  virtual ~FFMassiveTildeKinematics();
45 
46 public:
47 
56  virtual bool doMap();
57 
61  virtual Energy lastPt() const;
62 
66  virtual pair<double,double> zBounds(Energy pt, Energy hardPt ) const;
67 
71  virtual Energy lastPt(Lorentz5Momentum,Lorentz5Momentum,Lorentz5Momentum) const ;
72 
73 
77  virtual double lastZ() const;
78 
79 public:
80 
84  template <class T>
85  inline T rootOfKallen (T a, T b, T c) const {
86  return sqrt( a*a + b*b + c*c - 2.*( a*b+a*c+b*c ) ); }
87 
88 public:
89 
96  void persistentOutput(PersistentOStream & os) const;
97 
103  void persistentInput(PersistentIStream & is, int version);
105 
112  static void Init();
113 
114 protected:
115 
122  virtual IBPtr clone() const;
123 
128  virtual IBPtr fullclone() const;
130 
131 
132 // If needed, insert declarations of virtual function defined in the
133 // InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
134 
135 
136 private:
137 
142  FFMassiveTildeKinematics & operator=(const FFMassiveTildeKinematics &) = delete;
143 
144 };
145 
146 }
147 
148 #endif /* HERWIG_FFMassiveTildeKinematics_H */
double sqrt(int x)
T rootOfKallen(T a, T b, T c) const
Triangular / Kallen function.
FFMassiveTildeKinematics implements the &#39;tilde&#39; kinematics for a final-final subtraction dipole...
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
TildeKinematics is the base class for the &#39;tilde&#39; kinematics being used for subtraction terms in the ...
-*- C++ -*-