herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
f
g
h
i
l
m
o
p
r
s
t
u
w
z
Variables
Typedefs
a
b
c
d
h
i
j
k
l
m
o
p
s
t
v
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
c
d
e
h
i
m
o
p
r
s
t
u
v
w
x
Enumerations
Enumerator
Related Functions
b
c
d
e
f
g
h
k
m
o
p
s
t
Files
File List
File Members
All
Functions
Variables
Macros
PDT
ScalarMassGenerator.h
1
// -*- C++ -*-
2
//
3
// ScalarMassGenerator.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_ScalarMassGenerator_H
10
#define HERWIG_ScalarMassGenerator_H
11
// This is the declaration of the ScalarMassGenerator class.
12
13
#include "GenericMassGenerator.h"
14
#include "ScalarMassGenerator.fh"
15
#include "ThePEG/Config/Complex.h"
16
17
namespace
Herwig
{
18
using namespace
ThePEG
;
19
42
class
ScalarMassGenerator
:
public
GenericMassGenerator
{
43
44
public
:
45
52
void
persistentOutput
(
PersistentOStream
& os)
const
;
53
59
void
persistentInput
(
PersistentIStream
& is,
int
version);
61
65
static
void
Init
();
66
67
public
:
68
75
virtual
double
weight
(Energy
mass
,
int
shape)
const
;
76
80
virtual
void
dataBaseOutput
(ofstream &,
bool
);
81
82
protected
:
83
87
virtual
InvEnergy2
BreitWignerWeight
(Energy q,
int
shape)
const
;
88
89
protected
:
90
97
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
98
103
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
105
106
protected
:
107
115
virtual
void
doinit
();
117
118
private
:
119
123
ScalarMassGenerator
&
operator=
(
const
ScalarMassGenerator
&) =
delete
;
124
125
private
:
126
130
vector<Energy>
_coupling
;
131
135
vector<Energy>
_mass1
;
136
140
vector<Energy>
_mass2
;
141
149
vector<Energy2>
_m2plus
;
150
154
vector<Energy2>
_m2minus
;
156
157
};
158
159
}
160
161
162
#endif
/* HERWIG_ScalarMassGenerator_H */
Herwig::GenericMassGenerator
The GenericMassGenerator class is a simple class for the generation of particle masses in Herwig.
Definition:
GenericMassGenerator.h:56
Herwig::GenericMassGenerator::mass
Energy mass(const ParticleData &part) const
Generate a mass using the default limits.
Definition:
GenericMassGenerator.h:112
Herwig::ScalarMassGenerator
The ScalarMassGenerator class is designed for the generation of the masses of the and mesons which ...
Definition:
ScalarMassGenerator.h:42
Herwig::ScalarMassGenerator::_mass1
vector< Energy > _mass1
The first outgoing mass for the channels.
Definition:
ScalarMassGenerator.h:135
Herwig::ScalarMassGenerator::BreitWignerWeight
virtual InvEnergy2 BreitWignerWeight(Energy q, int shape) const
Return the full weight.
Herwig::ScalarMassGenerator::weight
virtual double weight(Energy mass, int shape) const
Weight for the factor for an off-shell mass.
Herwig::ScalarMassGenerator::operator=
ScalarMassGenerator & operator=(const ScalarMassGenerator &)=delete
Private and non-existent assignment operator.
Herwig::ScalarMassGenerator::_mass2
vector< Energy > _mass2
The second outgoing mass for the channels.
Definition:
ScalarMassGenerator.h:140
Herwig::ScalarMassGenerator::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
ScalarMassGenerator.h:97
Herwig::ScalarMassGenerator::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::ScalarMassGenerator::_m2minus
vector< Energy2 > _m2minus
Minimum mass squared.
Definition:
ScalarMassGenerator.h:154
Herwig::ScalarMassGenerator::dataBaseOutput
virtual void dataBaseOutput(ofstream &, bool)
output for the database
Herwig::ScalarMassGenerator::Init
static void Init()
Standard Init function used to initialize the interfaces.
Herwig::ScalarMassGenerator::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::ScalarMassGenerator::_m2plus
vector< Energy2 > _m2plus
calculated values to speed things up
Definition:
ScalarMassGenerator.h:149
Herwig::ScalarMassGenerator::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::ScalarMassGenerator::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
ScalarMassGenerator.h:103
Herwig::ScalarMassGenerator::_coupling
vector< Energy > _coupling
couplings for the decay channels
Definition:
ScalarMassGenerator.h:130
ThePEG::PersistentIStream
ThePEG::PersistentOStream
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6