Main Page
Namespaces
Classes
Package Documentation
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
8
public
:
9
10
// Constructor and destructor.
11
PowhegResHook
() {}
12
~PowhegResHook
()
override
{}
13
14
bool
canSetResonanceScale
()
override
{
return
true
; }
15
16
double
scaleResonance
(
const
int
iRes,
const
Pythia8::Event&
event
)
override
;
17
18
//--------------------------------------------------------------------------
19
20
private
:
21
bool
calcScales_
;
22
23
};
PowhegResHook::PowhegResHook
PowhegResHook()
Definition:
PowhegResHook.h:11
PowhegResHook::calcScales_
bool calcScales_
Definition:
PowhegResHook.h:21
PowhegHooksBB4L.h
PowhegResHook::canSetResonanceScale
bool canSetResonanceScale() override
Definition:
PowhegResHook.h:14
PowhegResHook::scaleResonance
double scaleResonance(const int iRes, const Pythia8::Event &event) override
Definition:
PowhegResHook.cc:11
PowhegResHook::~PowhegResHook
~PowhegResHook() override
Definition:
PowhegResHook.h:12
PowhegResHook
Definition:
PowhegResHook.h:6
event
Definition:
event.py:1
Generated for CMSSW Reference Manual by
1.8.11