herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
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
10namespace Herwig {
11
12using namespace ThePEG;
13
21
22public:
23
28 {}
29
33 virtual double reweightCKKW(int minMult, int maxMult);
34
38 virtual HardTreePtr generateCKKW(ShowerTreePtr tree) const;
39
47
53 void persistentInput(PersistentIStream & is, int version);
55
62 static void Init();
63
64protected:
65
69 virtual double sudakovWeight( CKKWTreePtr ) {
70 return 1.;
71 }
72
73 virtual PotentialTree chooseHardTree(double totalWeight,
74 double nonOrderedWeight);
75
76protected:
77
84 virtual IBPtr clone() const;
85
90 virtual IBPtr fullclone() const;
92
93private:
94
100
101private:
102
106 unsigned int pTDefinition_;
107
111 Energy maxpT_;
112
113};
114
115}
116
117#endif /* Herwig_PowhegHandler_H */
Here is the documentation of the MatchingHandler class.
Here is the documentation of the PowhegHandler class.
Definition: PowhegHandler.h:20
virtual double reweightCKKW(int minMult, int maxMult)
Perform CKKW reweighting.
Energy maxpT_
Maximum pT for the shower for non-emission events.
virtual IBPtr clone() const
Make a simple clone of this object.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual HardTreePtr generateCKKW(ShowerTreePtr tree) const
Generate hard emissions for CKKW etc.
PowhegHandler & operator=(const PowhegHandler &)=delete
The assignment operator is private and must never be called.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
static void Init()
The standard Init function used to initialize the interfaces.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
virtual double sudakovWeight(CKKWTreePtr)
Calculate the Sudakov weight.
Definition: PowhegHandler.h:69
PowhegHandler()
The default constructor.
Definition: PowhegHandler.h:27
unsigned int pTDefinition_
Control over the selection of the maximum for emission.
virtual PotentialTree chooseHardTree(double totalWeight, double nonOrderedWeight)
Select the hard tree.
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Struct to store a potential CKKWTree.
Definition: PotentialTree.h:17