thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.2.1
Cuts
OneJetCut.h
1
// -*- C++ -*-
2
//
3
// OneJetCut.h is a part of ThePEG - Toolkit for HEP Event Generation
4
// Copyright (C) 1999-2019 Leif Lonnblad
5
// Copyright (C) 2009-2019 Simon Platzer
6
//
7
// ThePEG is licenced under version 3 of the GPL, see COPYING for details.
8
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
9
//
10
#ifndef THEPEG_OneJetCut_H
11
#define THEPEG_OneJetCut_H
12
//
13
// This is the declaration of the OneJetCut class.
14
//
15
16
#include "ThePEG/Cuts/MultiCutBase.h"
17
#include "ThePEG/PDT/MatcherBase.h"
18
19
namespace
ThePEG
{
20
28
class
OneJetCut
:
public
MultiCutBase
{
29
30
public
:
31
37
OneJetCut
();
38
42
virtual
~OneJetCut
();
44
45
public
:
46
53
virtual
bool
passCuts
(tcCutsPtr parent,
const
tcPDVector
& ptype,
54
const
vector<LorentzMomentum> & p)
const
;
56
60
virtual
void
describe
()
const
;
61
62
public
:
63
70
void
persistentOutput
(
PersistentOStream
& os)
const
;
71
77
void
persistentInput
(
PersistentIStream
& is,
int
version);
79
86
static
void
Init
();
87
88
protected
:
89
96
virtual
IBPtr
clone
()
const
;
97
102
virtual
IBPtr
fullclone
()
const
;
104
105
private
:
106
110
Ptr<MatcherBase>::ptr
unresolvedMatcher
;
111
115
Energy
ptMin
;
116
120
double
yMin
;
121
125
double
yMax
;
126
127
private
:
128
133
static
ClassDescription<OneJetCut>
initOneJetCut
;
134
139
OneJetCut
&
operator=
(
const
OneJetCut
&) =
delete
;
140
141
};
142
143
}
144
145
#include "ThePEG/Utilities/ClassTraits.h"
146
147
namespace
ThePEG
{
148
153
template
<>
154
struct
BaseClassTrait
<OneJetCut,1> {
156
typedef
MultiCutBase
NthBase;
157
};
158
161
template
<>
162
struct
ClassTraits
<OneJetCut>
163
:
public
ClassTraitsBase
<OneJetCut> {
165
static
string
className() {
return
"ThePEG::OneJetCut"
; }
169
static
string
library() {
return
"JetCuts.so"
; }
170
};
171
174
}
175
176
#endif
/* THEPEG_OneJetCut_H */
ThePEG::PersistentIStream
PersistentIStream is used to read persistent objects from a stream where they were previously written...
Definition:
PersistentIStream.h:48
ThePEG::OneJetCut::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
ThePEG::OneJetCut::yMin
double yMin
The minimum rapidity.
Definition:
OneJetCut.h:120
ThePEG::OneJetCut::operator=
OneJetCut & operator=(const OneJetCut &)=delete
The assignment operator is private and must never be called.
ThePEG::ClassDescription
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
Definition:
ClassDescription.h:339
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::tcPDVector
vector< tcPDPtr > tcPDVector
A vector of transient pointers to const ParticleData objects.
Definition:
Containers.h:42
ThePEG::OneJetCut::~OneJetCut
virtual ~OneJetCut()
The destructor.
ThePEG
This is the main namespace within which all identifiers in ThePEG are declared.
Definition:
FactoryBase.h:28
ThePEG::OneJetCut::ptMin
Energy ptMin
The minimum pt.
Definition:
OneJetCut.h:115
ThePEG::OneJetCut::Init
static void Init()
The standard Init function used to initialize the interfaces.
ThePEG::OneJetCut::initOneJetCut
static ClassDescription< OneJetCut > initOneJetCut
The static object used to initialize the description of this class.
Definition:
OneJetCut.h:133
ThePEG::OneJetCut::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
ThePEG::OneJetCut::describe
virtual void describe() const
Describe the currently active cuts in the log file.
ThePEG::OneJetCut::OneJetCut
OneJetCut()
The default constructor.
ThePEG::Pointer::RCPtr
RCPtr is a reference counted (smart) pointer.
Definition:
RCPtr.h:60
ThePEG::OneJetCut::passCuts
virtual bool passCuts(tcCutsPtr parent, const tcPDVector &ptype, const vector< LorentzMomentum > &p) const
Return true if a set of outgoing particles with typea ptype and corresponding momenta p passes the cu...
ThePEG::OneJetCut::unresolvedMatcher
Ptr< MatcherBase >::ptr unresolvedMatcher
A matcher for unresolved partons.
Definition:
OneJetCut.h:110
ThePEG::MultiCutBase
This class corresponds to a kinematical cut to be made on a set of outgoing particles from a hard sub...
Definition:
MultiCutBase.h:34
ThePEG::OneJetCut::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
ThePEG::Pointer::Ptr
Ptr is a templated class to provide typedefs for pointers types ThePEG should use for a given type...
Definition:
Ptr.h:35
ThePEG::OneJetCut::clone
virtual IBPtr clone() const
Make a simple clone of this object.
ThePEG::ClassTraits
The default concrete implementation of ClassTraitsBase.
Definition:
ClassTraits.h:134
ThePEG::Qty< 0, 1, 0 >
ThePEG::OneJetCut::yMax
double yMax
The maximum rapidity.
Definition:
OneJetCut.h:125
ThePEG::BaseClassTrait
BaseClassTraits describes the base classes of the templated class.
Definition:
ClassTraits.h:156
ThePEG::OneJetCut
OneJetsCut is a simple one-jet inclusive cut, requiring at least one jet above a certain pt in a give...
Definition:
OneJetCut.h:28
ThePEG::ClassTraitsBase
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...
Definition:
ClassTraits.h:52
Generated on Sat Apr 11 2020 14:31:17 for ThePEG by
1.8.13