herwig is hosted by Hepforge, IPPP Durham
Herwig  7.1.5
MEee2gZ2qqPowheg.h
1 // -*- C++ -*-
2 #ifndef HERWIG_MEee2gZ2qqPowheg_H
3 #define HERWIG_MEee2gZ2qqPowheg_H
4 //
5 // This is the declaration of the MEee2gZ2qqPowheg class.
6 //
7 
8 #include "Herwig/MatrixElement/Lepton/MEee2gZ2qq.h"
9 
10 namespace Herwig {
11 
12 using namespace ThePEG;
13 
21 
22 public:
23 
27  MEee2gZ2qqPowheg() : contrib_(1), corrections_(1),
28  zPow_(0.5), yPow_(0.9)
29  {}
30 
31 public:
32 
42  virtual double me2() const;
43 
52  virtual bool generateKinematics(const double * r);
53 
58  virtual int nDim() const;
60 
61 public:
62 
69  void persistentOutput(PersistentOStream & os) const;
70 
76  void persistentInput(PersistentIStream & is, int version);
78 
85  static void Init();
86 
87 protected:
88 
95  virtual IBPtr clone() const;
96 
101  virtual IBPtr fullclone() const;
103 
104 private:
105 
111 
116  MEee2gZ2qqPowheg & operator=(const MEee2gZ2qqPowheg &) = delete;
117 
118 private:
119 
123  unsigned int contrib_;
124 
128  unsigned int corrections_;
129 
133  double zPow_;
134 
138  double yPow_;
139 
147  double z_;
148 
152  double y_;
153 
157  double phi_;
159 };
160 
161 }
162 
163 #include "ThePEG/Utilities/ClassTraits.h"
164 
165 namespace ThePEG {
166 
171 template <>
172 struct BaseClassTrait<Herwig::MEee2gZ2qqPowheg,1> {
174  typedef Herwig::MEee2gZ2qq NthBase;
175 };
176 
179 template <>
180 struct ClassTraits<Herwig::MEee2gZ2qqPowheg>
181  : public ClassTraitsBase<Herwig::MEee2gZ2qqPowheg> {
183  static string className() { return "Herwig::MEee2gZ2qqPowheg"; }
191  static string library() { return "HwMELepton.so HwPowhegMELepton.so"; }
192 };
193 
196 }
197 
198 #endif /* HERWIG_MEee2gZ2qqPowheg_H */
unsigned int corrections_
Which corrections to included.
double yPow_
Phase-space sampling for y.
static ClassDescription< MEee2gZ2qqPowheg > initMEee2gZ2qqPowheg
The static object used to initialize the description of this class.
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
double y_
The angular variable.
double zPow_
Phase-space sampling for z.
Here is the documentation of the MEee2gZ2qqPowheg class.
double z_
Radiation variables.
double phi_
The azimuth.
unsigned int contrib_
Whether to generate the positive, negative or leading order contribution.
-*- C++ -*-
MEee2gZ2qqPowheg()
The default constructor.