herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
FFMggxDipole.h
1 // -*- C++ -*-
2 //
3 // FFMggxDipole.h is a part of Herwig - A multi-purpose Monte Carlo event generator
4 // Copyright (C) 2002-2019 The Herwig Collaboration
5 //
6 // Herwig is licenced under version 3 of the GPL, see COPYING for details.
7 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
8 //
9 #ifndef HERWIG_FFMggxDipole_H
10 #define HERWIG_FFMggxDipole_H
11 //
12 // This is the declaration of the FFMggxDipole class.
13 //
14 
15 #include "Herwig/MatrixElement/Matchbox/Dipoles/SubtractionDipole.h"
16 
17 namespace Herwig {
18 
19 using namespace ThePEG;
20 
29 
30 public:
31 
37  FFMggxDipole();
38 
42  virtual ~FFMggxDipole();
44 
45 public:
46 
51  virtual bool canHandleEmitter(const cPDVector& partons, int emitter) const {
52  return emitter > 1 && partons[emitter]->id() == ParticleID::g;
53  }
54 
59  virtual bool canHandleSplitting(const cPDVector& partons, int emitter, int emission) const {
60  return canHandleEmitter(partons,emitter) && partons[emission]->id() == ParticleID::g;
61  }
62 
67  virtual bool canHandleSpectator(const cPDVector& partons, int spectator) const {
68  return spectator > 1 && partons[spectator]->coloured();
69  }
70 
75  virtual bool canHandle(const cPDVector& partons,
76  int emitter, int emission, int spectator) const;
77 
82  virtual bool isSymmetric() const { return true; }
83 
92  virtual int samplingZ() const {return 4;}
93 
99  virtual double me2() const;
100 
104  virtual double me2Avg(double ccme2) const;
105 
106 public:
107 
114  void persistentOutput(PersistentOStream & os) const;
115 
121  void persistentInput(PersistentIStream & is, int version);
123 
130  static void Init();
131 
132 protected:
133 
140  virtual IBPtr clone() const;
141 
146  virtual IBPtr fullclone() const;
148 
149 
150 // If needed, insert declarations of virtual function defined in the
151 // InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
152 
153 
154 private:
155 
160  FFMggxDipole & operator=(const FFMggxDipole &) = delete;
161 
162 };
163 
164 }
165 
166 #endif /* HERWIG_FFMggxDipole_H */
virtual int samplingZ() const
How to sample the z-distribution.
Definition: FFMggxDipole.h:92
FFMggxDipole implements the D_{g,g;k} subtraction dipole.
Definition: FFMggxDipole.h:28
virtual bool canHandleSplitting(const cPDVector &partons, int emitter, int emission) const
Return true, if this dipole can possibly handle the indicated splitting.
Definition: FFMggxDipole.h:59
virtual bool canHandleEmitter(const cPDVector &partons, int emitter) const
Return true, if this dipole can possibly handle the indicated emitter.
Definition: FFMggxDipole.h:51
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
vector< cPDPtr > cPDVector
SubtractionDipole represents a dipole subtraction term in the formalism of Catani and Seymour...
-*- C++ -*-
virtual bool isSymmetric() const
Return true, if this dipole is symmetric with respect to emitter and emission.
Definition: FFMggxDipole.h:82
virtual bool canHandleSpectator(const cPDVector &partons, int spectator) const
Return true, if this dipole can possibly handle the indicated spectator.
Definition: FFMggxDipole.h:67