herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
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 
17 namespace Herwig {
18 
19 using namespace ThePEG;
20 
30 
31 public:
32 
39 
43  virtual ~FIMassiveTildeKinematics();
45 
46 public:
47 
56  virtual bool doMap();
57 
61  virtual Energy lastPt() const;
62 
66  virtual Energy lastPt(Lorentz5Momentum,Lorentz5Momentum,Lorentz5Momentum) const ;
67 
71  virtual pair<double,double> zBounds(Energy pt, Energy hardPt ) const;
72 
76  virtual double lastZ() const;
77 
78 public:
82  template <class T>
83  inline T rootOfKallen (T a, T b, T c) const {
84  return sqrt( a*a + b*b + c*c - 2.*( a*b+a*c+b*c ) ); }
85 
92  void persistentOutput(PersistentOStream & os) const;
93 
99  void persistentInput(PersistentIStream & is, int version);
101 
108  static void Init();
109 
110 protected:
111 
118  virtual IBPtr clone() const;
119 
124  virtual IBPtr fullclone() const;
126 
127 
128 // If needed, insert declarations of virtual function defined in the
129 // InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
130 
131 
132 private:
133 
138  FIMassiveTildeKinematics & operator=(const FIMassiveTildeKinematics &) = delete;
139 
140 };
141 
142 }
143 
144 #endif /* HERWIG_FIMassiveTildeKinematics_H */
double sqrt(int x)
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
T rootOfKallen(T a, T b, T c) const
Triangular / Kallen function.
TildeKinematics is the base class for the &#39;tilde&#39; kinematics being used for subtraction terms in the ...
FIMassiveTildeKinematics implements the &#39;tilde&#39; kinematics for a final-initial subtraction dipole...
-*- C++ -*-