hej
is hosted by
Hepforge
,
IPPP Durham
HEJ 2
2.0
High energy resummation for hadron colliders
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
f
g
h
i
j
l
m
n
o
p
r
s
t
Variables
Typedefs
Enumerations
Enumerator
b
c
d
e
f
g
h
l
m
n
p
s
t
u
w
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
h
i
j
l
m
n
o
p
r
s
t
u
v
w
~
Functions
a
c
d
e
f
h
i
j
l
m
n
o
p
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Related Functions
Files
File List
File Members
All
c
h
j
m
o
Functions
c
j
m
o
Typedefs
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
include
HEJ
Weights.hh
Go to the documentation of this file.
1
8
#pragma once
9
10
#include <vector>
11
12
namespace
HEJ
{
14
19
struct
Weights
{
20
double
central
;
21
std::vector<double>
variations
;
22
23
Weights
&
operator*=
(
Weights
const
& other);
24
Weights
&
operator*=
(
double
factor);
25
Weights
&
operator/=
(
Weights
const
& other);
26
Weights
&
operator/=
(
double
factor);
27
};
28
29
inline
30
Weights
operator*
(
Weights
a,
Weights
const
&
b
) {
31
return
a*=
b
;
32
}
33
inline
34
Weights
operator*
(
Weights
a,
double
b
) {
35
return
a*=
b
;
36
}
37
inline
38
Weights
operator*
(
double
b
,
Weights
a) {
39
return
a*=
b
;
40
}
41
inline
42
Weights
operator/
(
Weights
a,
Weights
const
&
b
) {
43
return
a/=
b
;
44
}
45
inline
46
Weights
operator/
(
Weights
a,
double
b
) {
47
return
a/=
b
;
48
}
49
}
HEJ::pid::b
@ b
Definition:
PDG_codes.hh:32
HEJ
Main HEJ 2 Namespace.
Definition:
mainpage.dox:1
HEJ::operator*
ScaleFunction operator*(double factor, ScaleFunction base_scale)
Multiply a scale choice by a constant factor.
HEJ::operator/
ScaleFunction operator/(ScaleFunction base_scale, double denom)
Divide a scale choice by a constant factor.
HEJ::Weights
Collection of weights assigned to a single event.
Definition:
Weights.hh:19
HEJ::Weights::operator*=
Weights & operator*=(Weights const &other)
HEJ::Weights::variations
std::vector< double > variations
Definition:
Weights.hh:21
HEJ::Weights::operator/=
Weights & operator/=(Weights const &other)
HEJ::Weights::operator*=
Weights & operator*=(double factor)
HEJ::Weights::operator/=
Weights & operator/=(double factor)
HEJ::Weights::central
double central
Definition:
Weights.hh:20
Generated by
1.9.1