herwig is hosted by Hepforge, IPPP Durham
Herwig  7.1.5
PowhegHandler.h
1 // -*- C++ -*-
2 #ifndef Herwig_PowhegHandler_H
3 #define Herwig_PowhegHandler_H
4 //
5 // This is the declaration of the PowhegHandler class.
6 //
7 
8 #include "MatchingHandler.h"
9 
10 namespace Herwig {
11 
12 using namespace ThePEG;
13 
21 
22 public:
23 
27  PowhegHandler() : MatchingHandler(false), pTDefinition_(0), maxpT_(GeV)
28  {}
29 
33  virtual double reweightCKKW(int minMult, int maxMult);
34 
38  virtual HardTreePtr generateCKKW(ShowerTreePtr tree) const;
39 
46  void persistentOutput(PersistentOStream & os) const;
47 
53  void persistentInput(PersistentIStream & is, int version);
55 
62  static void Init();
63 
64 protected:
65 
69  virtual double sudakovWeight( CKKWTreePtr ) {
70  return 1.;
71  }
72 
73  virtual PotentialTree chooseHardTree(double totalWeight,
74  double nonOrderedWeight);
75 
76 protected:
77 
84  virtual IBPtr clone() const;
85 
90  virtual IBPtr fullclone() const;
92 
93 private:
94 
99  PowhegHandler & operator=(const PowhegHandler &) = delete;
100 
101 private:
102 
106  unsigned int pTDefinition_;
107 
111  Energy maxpT_;
112 
113 };
114 
115 }
116 
117 #endif /* Herwig_PowhegHandler_H */
PowhegHandler()
The default constructor.
Definition: PowhegHandler.h:27
unsigned int pTDefinition_
Control over the selection of the maximum for emission.
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Energy maxpT_
Maximum pT for the shower for non-emission events.
Here is the documentation of the PowhegHandler class.
Definition: PowhegHandler.h:20
Here is the documentation of the MatchingHandler class.
-*- C++ -*-
virtual double sudakovWeight(CKKWTreePtr)
Calculate the Sudakov weight.
Definition: PowhegHandler.h:69
Struct to store a potential CKKWTree.
Definition: PotentialTree.h:17