thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.3.0
Cuts
KTRapidityCut.h
1
// -*- C++ -*-
2
#ifndef THEPEG_KTRapidityCut_H
3
#define THEPEG_KTRapidityCut_H
4
//
5
// This is the declaration of the KTRapidityCut class.
6
//
7
8
#include "ThePEG/Cuts/OneCutBase.h"
9
10
namespace
ThePEG
{
11
23
class
KTRapidityCut
:
public
OneCutBase
{
24
25
public
:
26
30
KTRapidityCut
(
Energy
minKT
=10*GeV)
31
:
theMinKT
(
minKT
),
theMaxKT
(Constants::MaxEnergy),
32
theMinRapidity
(-Constants::MaxRapidity),
33
theMaxRapidity
(Constants::MaxRapidity) {}
34
35
public
:
36
43
virtual
Energy
minKT
(
tcPDPtr
p)
const
;
44
50
virtual
double
minEta
(
tcPDPtr
p)
const
;
51
57
virtual
double
maxEta
(
tcPDPtr
p)
const
;
58
64
virtual
bool
passCuts
(tcCutsPtr parent,
65
tcPDPtr
ptype,
LorentzMomentum
p)
const
;
67
71
virtual
void
describe
()
const
;
72
73
public
:
74
81
void
persistentOutput
(
PersistentOStream
& os)
const
;
82
88
void
persistentInput
(
PersistentIStream
& is,
int
version);
90
97
static
void
Init
();
98
99
protected
:
100
107
virtual
IBPtr
clone
()
const
;
108
113
virtual
IBPtr
fullclone
()
const
;
115
116
private
:
117
121
Energy
maxKTMin
()
const
;
122
126
Energy
minKTMax
()
const
;
127
131
double
maxRapidityMin
()
const
;
132
136
double
minRapidityMax
()
const
;
137
143
virtual
double
minRapidityMax
(
tcPDPtr
p)
const
;
144
150
virtual
double
maxRapidityMin
(
tcPDPtr
p)
const
;
151
152
private
:
153
158
Energy
theMinKT
;
159
164
Energy
theMaxKT
;
165
170
double
theMinRapidity
;
171
176
double
theMaxRapidity
;
177
182
PMPtr
theMatcher
;
183
184
private
:
185
190
static
ClassDescription<KTRapidityCut>
initKTRapidityCut
;
191
196
KTRapidityCut
&
operator=
(
const
KTRapidityCut
&) =
delete
;
197
198
};
199
200
}
201
202
#include "ThePEG/Utilities/ClassTraits.h"
203
204
namespace
ThePEG
{
205
210
template
<>
211
struct
BaseClassTrait<KTRapidityCut,1> {
213
typedef
OneCutBase
NthBase
;
214
};
215
218
template
<>
219
struct
ClassTraits<KTRapidityCut>
220
:
public
ClassTraitsBase<KTRapidityCut> {
222
static
string
className
() {
return
"ThePEG::KTRapidityCut"
; }
230
static
string
library
() {
return
"KTRapidityCut.so"
; }
231
};
232
235
}
236
237
#endif
/* THEPEG_KTRapidityCut_H */
ThePEG::ClassDescription
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data.
Definition:
ClassDescription.h:333
ThePEG::KTRapidityCut
The KTRapidityCut class is a simple concrete sub-class of OneCutbase simply requiring a minimum trans...
Definition:
KTRapidityCut.h:23
ThePEG::KTRapidityCut::passCuts
virtual bool passCuts(tcCutsPtr parent, tcPDPtr ptype, LorentzMomentum p) const
Return true if a particle with type ptype and momentum p passes the cuts.
ThePEG::KTRapidityCut::maxKTMin
Energy maxKTMin() const
Helper function used by the interface.
ThePEG::KTRapidityCut::theMaxKT
Energy theMaxKT
The maximum allowed value of the transverse momentum of an outgoing parton.
Definition:
KTRapidityCut.h:164
ThePEG::KTRapidityCut::maxEta
virtual double maxEta(tcPDPtr p) const
Return the maximum allowed pseudo-rapidity of an outgoing parton of the given type.
ThePEG::KTRapidityCut::minKTMax
Energy minKTMax() const
Helper function used by the interface.
ThePEG::KTRapidityCut::minRapidityMax
double minRapidityMax() const
Helper function used by the interface.
ThePEG::KTRapidityCut::Init
static void Init()
The standard Init function used to initialize the interfaces.
ThePEG::KTRapidityCut::describe
virtual void describe() const
Describe the currently active cuts in the log file.
ThePEG::KTRapidityCut::theMatcher
PMPtr theMatcher
If non-null only particles matching this object will be affected by this cut.
Definition:
KTRapidityCut.h:182
ThePEG::KTRapidityCut::operator=
KTRapidityCut & operator=(const KTRapidityCut &)=delete
The assignment operator is private and must never be called.
ThePEG::KTRapidityCut::theMinKT
Energy theMinKT
The minimum allowed value of the transverse momentum of an outgoing parton.
Definition:
KTRapidityCut.h:158
ThePEG::KTRapidityCut::clone
virtual IBPtr clone() const
Make a simple clone of this object.
ThePEG::KTRapidityCut::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
ThePEG::KTRapidityCut::maxRapidityMin
double maxRapidityMin() const
Helper function used by the interface.
ThePEG::KTRapidityCut::minRapidityMax
virtual double minRapidityMax(tcPDPtr p) const
Return the minimum allowed rapidity of an outgoing parton of the given type.
ThePEG::KTRapidityCut::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
ThePEG::KTRapidityCut::maxRapidityMin
virtual double maxRapidityMin(tcPDPtr p) const
Return the maximum allowed rapidity of an outgoing parton of the given type.
ThePEG::KTRapidityCut::minKT
virtual Energy minKT(tcPDPtr p) const
Return the minimum allowed value of the transverse momentum of an outgoing parton.
ThePEG::KTRapidityCut::KTRapidityCut
KTRapidityCut(Energy minKT=10 *GeV)
The default constructor.
Definition:
KTRapidityCut.h:30
ThePEG::KTRapidityCut::minEta
virtual double minEta(tcPDPtr p) const
Return the minimum allowed pseudo-rapidity of an outgoing parton of the given type.
ThePEG::KTRapidityCut::initKTRapidityCut
static ClassDescription< KTRapidityCut > initKTRapidityCut
The static object used to initialize the description of this class.
Definition:
KTRapidityCut.h:190
ThePEG::KTRapidityCut::theMinRapidity
double theMinRapidity
The minimum allowed rapidity of an outgoing parton.
Definition:
KTRapidityCut.h:170
ThePEG::KTRapidityCut::theMaxRapidity
double theMaxRapidity
The maximum allowed rapidity of an outgoing parton.
Definition:
KTRapidityCut.h:176
ThePEG::KTRapidityCut::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
ThePEG::LorentzVector< Energy >
ThePEG::OneCutBase
This class corresponds to a kinematical cut to be made on a single outgoing parton from a hard sub-pr...
Definition:
OneCutBase.h:39
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::Pointer::TransientConstRCPtr
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
Definition:
RCPtr.h:696
ThePEG::Qty< 0, 1, 0 >
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