herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
MergingReweight.h
1 // -*- C++ -*-
2 //
3 // MergingReweight.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_MergingReweight_H
10#define Herwig_MergingReweight_H
11// This is the declaration of the MergingReweight class.
12
13#include "ThePEG/MatrixElement/ReweightBase.h"
14
15namespace Herwig {
16
17 using namespace ThePEG;
18
26
27public:
28
35 : HTPower(0),MaxPTPower(0),MaxMjjPower(0), scale(50.0*GeV),onlyColoured(true) {}
37
38public:
39
44 virtual double weight() const;
45
46public:
47
55
61 void persistentInput(PersistentIStream & is, int version);
63
67 static void Init();
68
69protected:
70
77 virtual IBPtr clone() const;
78
83 virtual IBPtr fullclone() const;
85
86private:
87
91 double HTPower,MaxPTPower,MaxMjjPower;
92
96 Energy scale;
97
98 bool onlyColoured;
99
100
101
102private:
103
108
113
114};
115
116
117
118
119
120}
121
122#endif /* Herwig_MergingReweight_H */
The MergingReweight class reweights subprocesses.
static ClassDescription< MergingReweight > initMergingReweight
Describe a concrete base class with persistent data.
static void Init()
Standard Init function used to initialize the interfaces.
MergingReweight & operator=(const MergingReweight &)=delete
Private and non-existent assignment operator.
virtual IBPtr clone() const
Make a simple clone of this object.
virtual double weight() const
Return the wieght for the kinematical configuation provided by the assigned XComb object (in the Last...
MergingReweight()
Default constructor.
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.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Energy scale
The weight is the minimum pt/scale to a power.
double HTPower
The weight is the minimum pt/scale to a power.
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr