thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.3.0
MatrixElement
ReweightMinPT.h
1
// -*- C++ -*-
2
//
3
// ReweightMinPT.h is a part of ThePEG - Toolkit for HEP Event Generation
4
// Copyright (C) 1999-2019 Leif Lonnblad
5
//
6
// ThePEG 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 ThePEG_ReweightMinPT_H
10
#define ThePEG_ReweightMinPT_H
11
// This is the declaration of the ReweightMinPT class.
12
13
#include "ThePEG/MatrixElement/ReweightBase.h"
14
15
namespace
ThePEG
{
16
24
class
ReweightMinPT
:
public
ReweightBase
{
25
26
public
:
27
33
ReweightMinPT
()
34
:
power
(4.0),
scale
(50.0*GeV),
onlyColoured
(false) {}
36
37
public
:
38
43
virtual
double
weight
()
const
;
44
45
public
:
46
53
void
persistentOutput
(
PersistentOStream
& os)
const
;
54
60
void
persistentInput
(
PersistentIStream
& is,
int
version);
62
66
static
void
Init
();
67
68
protected
:
69
76
virtual
IBPtr
clone
()
const
;
77
82
virtual
IBPtr
fullclone
()
const
;
84
85
private
:
86
90
double
power
;
91
95
Energy
scale
;
96
100
bool
onlyColoured
;
101
102
private
:
103
107
static
ClassDescription<ReweightMinPT>
initReweightMinPT
;
108
112
ReweightMinPT
&
operator=
(
const
ReweightMinPT
&) =
delete
;
113
114
};
115
116
}
117
118
119
namespace
ThePEG
{
120
125
template
<>
126
struct
BaseClassTrait<ReweightMinPT,1>:
public
ClassTraitsType {
128
typedef
ReweightBase
NthBase
;
129
};
130
133
template
<>
134
struct
ClassTraits<ReweightMinPT>:
public
ClassTraitsBase<ReweightMinPT> {
136
static
string
className
() {
return
"ThePEG::ReweightMinPT"
; }
140
static
string
library
() {
return
"ReweightMinPT.so"
; }
141
};
142
145
}
146
147
#endif
/* ThePEG_ReweightMinPT_H */
ThePEG::ClassDescription
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data.
Definition:
ClassDescription.h:333
ThePEG::PersistentIStream
PersistentIStream is used to read persistent objects from a stream where they were previously written...
Definition:
PersistentIStream.h:48
ThePEG::PersistentOStream
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
Definition:
PersistentOStream.h:51
ThePEG::Pointer::RCPtr
RCPtr is a reference counted (smart) pointer.
Definition:
RCPtr.h:60
ThePEG::Qty< 0, 1, 0 >
ThePEG::ReweightBase
The ReweightBase class is the base class of all objects representing external biases to matrix elemen...
Definition:
ReweightBase.h:39
ThePEG::ReweightMinPT
The ReweightMinPT class reweights matrix elements with the minimum of the transverse momenta of the o...
Definition:
ReweightMinPT.h:24
ThePEG::ReweightMinPT::onlyColoured
bool onlyColoured
Flag to indicate that only coloured partons should be considered.
Definition:
ReweightMinPT.h:100
ThePEG::ReweightMinPT::power
double power
The weight is the minimum pt/scale to a power.
Definition:
ReweightMinPT.h:90
ThePEG::ReweightMinPT::ReweightMinPT
ReweightMinPT()
Default constructor.
Definition:
ReweightMinPT.h:33
ThePEG::ReweightMinPT::weight
virtual double weight() const
Return the wieght for the kinematical configuation provided by the assigned XComb object (in the Last...
ThePEG::ReweightMinPT::operator=
ReweightMinPT & operator=(const ReweightMinPT &)=delete
Private and non-existent assignment operator.
ThePEG::ReweightMinPT::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
ThePEG::ReweightMinPT::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
ThePEG::ReweightMinPT::initReweightMinPT
static ClassDescription< ReweightMinPT > initReweightMinPT
Describe a concrete base class with persistent data.
Definition:
ReweightMinPT.h:107
ThePEG::ReweightMinPT::scale
Energy scale
The weight is the minimum pt/scale to a power.
Definition:
ReweightMinPT.h:95
ThePEG::ReweightMinPT::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
ThePEG::ReweightMinPT::Init
static void Init()
Standard Init function used to initialize the interfaces.
ThePEG::ReweightMinPT::clone
virtual IBPtr clone() const
Make a simple clone of this object.
ThePEG
This is the main namespace within which all identifiers in ThePEG are declared.
Definition:
FactoryBase.h:28
ThePEG::BaseClassTrait::NthBase
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
Definition:
ClassTraits.h:161
ThePEG::ClassTraitsBase::className
static string className()
Return the name of class T.
Definition:
ClassTraits.h:66
ThePEG::ClassTraitsBase::library
static string library()
The name of a file containing the dynamic library where the class T is implemented.
Definition:
ClassTraits.h:85
Generated on Thu Jun 20 2024 14:47:00 for ThePEG by
1.9.6