thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.2.1
Cuts
FastJetFinder.h
1
// -*- C++ -*-
2
//
3
// FastJetFinder.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_FastJetFinder_H
11
#define THEPEG_FastJetFinder_H
12
//
13
// This is the declaration of the FastJetFinder class.
14
//
15
16
#include "ThePEG/Cuts/JetFinder.h"
17
18
namespace
ThePEG
{
19
27
class
FastJetFinder
:
public
JetFinder
{
28
29
public
:
30
36
FastJetFinder
();
37
41
virtual
~FastJetFinder
();
43
44
public
:
45
51
virtual
bool
cluster
(
tcPDVector
& ptype, vector<LorentzMomentum> & p,
52
tcCutsPtr parent,
tcPDPtr
t1 =
tcPDPtr
(),
53
tcPDPtr
t2 =
tcPDPtr
())
const
;
54
58
virtual
void
describe
()
const
;
59
60
public
:
66
virtual
void
doinit
();
67
72
virtual
void
doinitrun
();
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
117
// If needed, insert declarations of virtual function defined in the
118
// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
119
120
private
:
121
125
Energy2
theDCut
;
126
130
double
theConeRadius
;
131
135
enum
variants
{
136
kt = 1,
137
CA = 2,
138
antiKt = 3,
139
sphericalKt = 4,
140
sphericalCA = 5,
141
sphericalAntiKt = 6
142
};
143
147
int
theVariant
;
148
152
enum
modes
{
153
inclusive = 1,
154
exclusive = 2
155
};
156
160
int
theMode
;
161
165
enum
recombinations
{
166
recoPt = 1,
167
recoE = 2
168
};
169
173
int
theRecombination
;
174
175
private
:
176
181
FastJetFinder
&
operator=
(
const
FastJetFinder
&) =
delete
;
182
183
};
184
185
}
186
187
#endif
/* THEPEG_FastJetFinder_H */
ThePEG::FastJetFinder::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
ThePEG::PersistentIStream
PersistentIStream is used to read persistent objects from a stream where they were previously written...
Definition:
PersistentIStream.h:48
ThePEG::FastJetFinder::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
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::FastJetFinder
FastJetFinder implements the class of longitudinally invariant kt jet clustering algorithms.
Definition:
FastJetFinder.h:27
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::FastJetFinder::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::FastJetFinder::~FastJetFinder
virtual ~FastJetFinder()
The destructor.
ThePEG::FastJetFinder::doinitrun
virtual void doinitrun()
Initialize this object.
ThePEG::FastJetFinder::theDCut
Energy2 theDCut
The resolution cut.
Definition:
FastJetFinder.h:125
ThePEG::FastJetFinder::theVariant
int theVariant
The variant.
Definition:
FastJetFinder.h:147
ThePEG::FastJetFinder::recombinations
recombinations
The possible recombination schemes.
Definition:
FastJetFinder.h:165
ThePEG::FastJetFinder::describe
virtual void describe() const
Describe this jet fined.
ThePEG::tcPDPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
Alias for a transient pointer to a const ParticleData .
Definition:
Pointers.h:64
ThePEG::FastJetFinder::operator=
FastJetFinder & operator=(const FastJetFinder &)=delete
The assignment operator is private and must never be called.
ThePEG::JetFinder
JetFinder defines an interface to jet finders to be used when cuts should actually be defined on the ...
Definition:
JetFinder.h:30
ThePEG::Pointer::RCPtr
RCPtr is a reference counted (smart) pointer.
Definition:
RCPtr.h:60
ThePEG::FastJetFinder::modes
modes
The possible modes.
Definition:
FastJetFinder.h:152
ThePEG::FastJetFinder::variants
variants
The possible variants.
Definition:
FastJetFinder.h:135
ThePEG::FastJetFinder::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
ThePEG::Qty< 0, 2, 0 >
ThePEG::FastJetFinder::FastJetFinder
FastJetFinder()
The default constructor.
ThePEG::FastJetFinder::theConeRadius
double theConeRadius
The `cone radius' R.
Definition:
FastJetFinder.h:130
ThePEG::FastJetFinder::theMode
int theMode
The mode.
Definition:
FastJetFinder.h:160
ThePEG::FastJetFinder::doinit
virtual void doinit()
Initialize this object.
ThePEG::FastJetFinder::theRecombination
int theRecombination
The recombination scheme.
Definition:
FastJetFinder.h:173
ThePEG::FastJetFinder::cluster
virtual bool cluster(tcPDVector &ptype, vector< LorentzMomentum > &p, tcCutsPtr parent, tcPDPtr t1=tcPDPtr(), tcPDPtr t2=tcPDPtr()) const
Perform jet clustering on the given outgoing particles.
ThePEG::FastJetFinder::Init
static void Init()
The standard Init function used to initialize the interfaces.
Generated on Sat Apr 11 2020 14:31:17 for ThePEG by
1.8.13