Main Page
+
Namespaces
Namespace List
+
Namespace 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
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
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
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
+
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
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
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
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
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related 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
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
GeneratorInterface
Pythia8Interface
plugins
PowhegResHook.h
Go to the documentation of this file.
1
// Hook for setting shower scale in top and W resonances
2
// for Powheg ttb_NLO_dec and b_bbar_4l processes
3
// C++ port of algorithm by Jezo et. al. (arXiv:1607.04538, Appendix B.2)
4
#include "
GeneratorInterface/Pythia8Interface/plugins/PowhegHooksBB4L.h
"
5
6
class
PowhegResHook
:
public
Pythia8::UserHooks {
7
public
:
8
// Constructor and destructor.
9
PowhegResHook
() {}
10
~PowhegResHook
()
override
{}
11
12
bool
canSetResonanceScale
()
override
{
return
true
; }
13
14
double
scaleResonance
(
const
int
iRes,
const
Pythia8::Event&
event
)
override
;
15
16
//--------------------------------------------------------------------------
17
18
private
:
19
bool
calcScales_
;
20
};
PowhegResHook::PowhegResHook
PowhegResHook()
Definition:
PowhegResHook.h:9
PowhegResHook::calcScales_
bool calcScales_
Definition:
PowhegResHook.h:19
PowhegHooksBB4L.h
PowhegResHook::canSetResonanceScale
bool canSetResonanceScale() override
Definition:
PowhegResHook.h:12
PowhegResHook::scaleResonance
double scaleResonance(const int iRes, const Pythia8::Event &event) override
Definition:
PowhegResHook.cc:11
PowhegResHook::~PowhegResHook
~PowhegResHook() override
Definition:
PowhegResHook.h:10
PowhegResHook
Definition:
PowhegResHook.h:6
event
Definition:
event.py:1
Generated for CMSSW Reference Manual by
1.8.14