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