herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
KrknloEventReweight.h
1/* KrkNLO Event Reweight (Dipole) */
2
3#ifndef Herwig_KrknloEventReweight_H
4#define Herwig_KrknloEventReweight_H
5
6#include "Herwig/Shower/Dipole/Base/DipoleEventReweight.h"
7
8namespace Herwig {
9
10using namespace ThePEG;
11
13{
14public:
15 double weight(const PPair& in, const PList& out, const PList& hard, Ptr<AlphaSBase>::tptr as) const;
16 double weightCascade(const PPair& in, const PList& out, const PList& hard, Ptr<AlphaSBase>::tptr as) const;
17
18 bool firstInteraction() const ;
20
21 public:
22
30
38
45 static void Init();
46
47protected:
48
55 virtual IBPtr clone() const;
56
61 virtual IBPtr fullclone() const;
63
64
65 // If needed, insert declarations of virtual function defined in the
66 // InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
67
68private:
69
70 double scaleFactor_ = 1.0;
71
72 unsigned int alphaSScale_R_ = 0;
73 unsigned int alphaSScale_V_ = 0;
74
75 unsigned int mode_ = 0;
76 unsigned int mcPDF_ = 1;
77
78
84
85};
86
87}
88
89#endif /* Herwig_KrknloEventReweight_H */
Reweight full final states produced by the shower.
double weightCascade(const PPair &in, const PList &out, const PList &hard, Ptr< AlphaSBase >::tptr as) const
Return the weight which is applied to a cascade only once even if there was no emission from the casc...
bool secondaryInteractions() const
Return true, if the event reweight should be applied to secondary interactions.
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.
double weight(const PPair &in, const PList &out, const PList &hard, Ptr< AlphaSBase >::tptr as) const
Return the weight for the given incoming, outgoing coloured and hard colour neutral particles,...
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
bool firstInteraction() const
Return true, if the event reweight should be applied to the hard scattering.
KrknloEventReweight & operator=(const KrknloEventReweight &)=delete
The assignment operator is private and must never be called.
void persistentInput(PersistentIStream &is, int)
Function used to read in object persistently.
virtual IBPtr clone() const
Make a simple clone of this object.
-*- C++ -*-
pair< PPtr, PPtr > PPair
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
list< PPtr > PList