herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
MatrixElement
Matchbox
Phasespace
FIMassiveInvertedTildeKinematics.h
1
// -*- C++ -*-
2
//
3
// FIMassiveInvertedTildeKinematics.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_FIMassiveInvertedTildeKinematics_H
10
#define HERWIG_FIMassiveInvertedTildeKinematics_H
11
//
12
// This is the declaration of the FIMassiveInvertedTildeKinematics class.
13
//
14
15
#include "Herwig/MatrixElement/Matchbox/Phasespace/InvertedTildeKinematics.h"
16
17
namespace
Herwig
{
18
19
using namespace
ThePEG
;
20
29
class
FIMassiveInvertedTildeKinematics
:
public
Herwig::InvertedTildeKinematics
{
30
31
public
:
32
41
virtual
bool
doMap
(
const
double
*);
42
46
virtual
Energy
lastPt
()
const
;
47
51
virtual
double
lastZ
()
const
;
52
56
virtual
Energy
ptMax
()
const
;
57
61
virtual
pair<double,double>
zBounds
(Energy pt, Energy hardPt =
ZERO
)
const
;
62
63
public
:
64
68
template
<
class
T>
69
inline
T
rootOfKallen
(T a, T b, T c)
const
{
70
return
sqrt
( a*a + b*b + c*c - 2.*( a*b+a*c+b*c ) ); }
71
72
public
:
73
80
void
persistentOutput
(
PersistentOStream
& os)
const
;
81
87
void
persistentInput
(
PersistentIStream
& is,
int
version);
89
96
static
void
Init
();
97
98
protected
:
99
106
virtual
IBPtr
clone
()
const
;
107
112
virtual
IBPtr
fullclone
()
const
;
114
115
116
// If needed, insert declarations of virtual function defined in the
117
// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
118
119
120
private
:
121
126
FIMassiveInvertedTildeKinematics
&
operator=
(
const
FIMassiveInvertedTildeKinematics
&) =
delete
;
127
128
};
129
130
}
131
132
#endif
/* HERWIG_FIMassiveInvertedTildeKinematics_H */
Herwig::FIMassiveInvertedTildeKinematics
FIMassiveInvertedTildeKinematics inverts the final-final tilde kinematics.
Definition:
FIMassiveInvertedTildeKinematics.h:29
Herwig::FIMassiveInvertedTildeKinematics::zBounds
virtual pair< double, double > zBounds(Energy pt, Energy hardPt=ZERO) const
Given a pt, return the boundaries on z.
Herwig::FIMassiveInvertedTildeKinematics::doMap
virtual bool doMap(const double *)
Perform the mapping of the tilde kinematics for the last selected process and store all dimensionless...
Herwig::FIMassiveInvertedTildeKinematics::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::FIMassiveInvertedTildeKinematics::ptMax
virtual Energy ptMax() const
Return the upper bound on pt.
Herwig::FIMassiveInvertedTildeKinematics::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::FIMassiveInvertedTildeKinematics::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::FIMassiveInvertedTildeKinematics::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::FIMassiveInvertedTildeKinematics::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::FIMassiveInvertedTildeKinematics::lastPt
virtual Energy lastPt() const
Return the pt associated to the last generated splitting.
Herwig::FIMassiveInvertedTildeKinematics::operator=
FIMassiveInvertedTildeKinematics & operator=(const FIMassiveInvertedTildeKinematics &)=delete
The assignment operator is private and must never be called.
Herwig::FIMassiveInvertedTildeKinematics::lastZ
virtual double lastZ() const
Return the momentum fraction associated to the last splitting.
Herwig::FIMassiveInvertedTildeKinematics::rootOfKallen
T rootOfKallen(T a, T b, T c) const
Triangular / Kallen function.
Definition:
FIMassiveInvertedTildeKinematics.h:69
Herwig::InvertedTildeKinematics
InvertedTildeKinematics is the base class for the inverted 'tilde' kinematics being used for subtract...
Definition:
InvertedTildeKinematics.h:33
ThePEG::PersistentIStream
ThePEG::PersistentOStream
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
ThePEG::sqrt
double sqrt(int x)
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::ZERO
constexpr ZeroUnit ZERO
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6