herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
DipoleMatching.h
1// -*- C++ -*-
2//
3// DipoleMatching.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_DipoleMatching_H
10#define Herwig_DipoleMatching_H
11//
12// This is the declaration of the DipoleMatching class.
13//
14
15#include "Herwig/Shower/ShowerHandler.h"
16#include "Herwig/MatrixElement/Matchbox/Matching/ShowerApproximation.h"
17
18namespace Herwig {
19
20using namespace ThePEG;
21
30
31public:
32
38 virtual CrossSection dSigHatDR() const;
39
46 virtual double me2() const;
47
48public:
49
57
63 void persistentInput(PersistentIStream & is, int version);
65
72 static void Init();
73
74protected:
75
82 virtual IBPtr clone() const;
83
88 virtual IBPtr fullclone() const;
90
91
92// If needed, insert declarations of virtual function defined in the
93// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
94
95protected:
96
104 virtual void doinit();
106
107
108private:
109
113 Ptr<ShowerHandler>::ptr theShowerHandler;
114
120
121};
122
123}
124
125#endif /* Herwig_DipoleMatching_H */
DipoleMatching implements NLO matching with the dipole shower.
Ptr< ShowerHandler >::ptr theShowerHandler
The shower handler to be used.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
virtual CrossSection dSigHatDR() const
Return the shower approximation to the real emission cross section for the given pair of Born and rea...
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
static void Init()
The standard Init function used to initialize the interfaces.
DipoleMatching & operator=(const DipoleMatching &)=delete
The assignment operator is private and must never be called.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual IBPtr clone() const
Make a simple clone of this object.
virtual double me2() const
Return the shower approximation splitting kernel for the given pair of Born and real emission configu...
ShowerApproximation describes the shower emission to be used in NLO matching.
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr