ThePEG
1.8.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
MatrixElement
ReweightMinPT.h
1
// -*- C++ -*-
2
//
3
// ReweightMinPT.h is a part of ThePEG - Toolkit for HEP Event Generation
4
// Copyright (C) 1999-2011 Leif Lonnblad
5
//
6
// ThePEG is licenced under version 2 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) {}
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
97
private
:
98
102
static
ClassDescription<ReweightMinPT>
initReweightMinPT
;
103
107
ReweightMinPT
&
operator=
(
const
ReweightMinPT
&);
108
109
};
110
111
}
112
113
114
namespace
ThePEG {
115
120
template
<>
121
struct
BaseClassTrait<ReweightMinPT,1>:
public
ClassTraitsType {
123
typedef
ReweightBase
NthBase
;
124
};
125
128
template
<>
129
struct
ClassTraits<ReweightMinPT>:
public
ClassTraitsBase<ReweightMinPT> {
131
static
string
className
() {
return
"ThePEG::ReweightMinPT"
; }
135
static
string
library
() {
return
"ReweightMinPT.so"
; }
136
};
137
140
}
141
142
#endif
/* ThePEG_ReweightMinPT_H */
Generated on Sat Jun 16 2012 16:51:05 for ThePEG by
1.8.1.1