Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:13:56

0001 // Hook for setting shower scale in top and W resonances
0002 // for Powheg ttb_NLO_dec and b_bbar_4l processes
0003 // C++ port of algorithm by Jezo et. al. (arXiv:1607.04538, Appendix B.2)
0004 #include "GeneratorInterface/Pythia8Interface/plugins/PowhegHooksBB4L.h"
0005 
0006 class PowhegResHook : public Pythia8::UserHooks {
0007 public:
0008   // Constructor and destructor.
0009   PowhegResHook() {}
0010   ~PowhegResHook() override {}
0011 
0012   bool canSetResonanceScale() override { return true; }
0013 
0014   double scaleResonance(const int iRes, const Pythia8::Event& event) override;
0015 
0016   //--------------------------------------------------------------------------
0017 
0018 private:
0019   bool calcScales_;
0020 };