CMS 3D CMS Logo

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 
5 class PowhegResHook : public Pythia8::UserHooks {
6 
7 public:
8 
9  // Constructor and destructor.
11  ~PowhegResHook() override {}
12 
13  bool canSetResonanceScale() override { return true; }
14 
15  double scaleResonance( const int iRes, const Pythia8::Event& event) override;
16 
17 //--------------------------------------------------------------------------
18 
19 private:
21 
22 };
bool canSetResonanceScale() override
Definition: PowhegResHook.h:13
double scaleResonance(const int iRes, const Pythia8::Event &event) override
~PowhegResHook() override
Definition: PowhegResHook.h:11
Definition: event.py:1