thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.3.0
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
34
FastJetFinder
();
35
36
public
:
37
43
virtual
bool
cluster
(
tcPDVector
& ptype, vector<LorentzMomentum> & p,
44
tcCutsPtr parent,
tcPDPtr
t1 =
tcPDPtr
(),
45
tcPDPtr
t2 =
tcPDPtr
())
const
;
46
50
virtual
void
describe
()
const
;
51
52
public
:
58
virtual
void
doinit
();
59
64
virtual
void
doinitrun
();
66
73
void
persistentOutput
(
PersistentOStream
& os)
const
;
74
80
void
persistentInput
(
PersistentIStream
& is,
int
version);
82
89
static
void
Init
();
90
91
protected
:
92
99
virtual
IBPtr
clone
()
const
;
100
105
virtual
IBPtr
fullclone
()
const
;
107
108
109
// If needed, insert declarations of virtual function defined in the
110
// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
111
112
private
:
113
117
Energy2
theDCut
;
118
122
double
theConeRadius
;
123
127
enum
variants
{
128
kt = 1,
129
CA = 2,
130
antiKt = 3,
131
sphericalKt = 4,
132
sphericalCA = 5,
133
sphericalAntiKt = 6
134
};
135
139
int
theVariant
;
140
144
enum
modes
{
145
inclusive = 1,
146
exclusive = 2
147
};
148
152
int
theMode
;
153
157
enum
recombinations
{
158
recoPt = 1,
159
recoE = 2
160
};
161
165
int
theRecombination
;
166
167
private
:
168
173
FastJetFinder
&
operator=
(
const
FastJetFinder
&) =
delete
;
174
175
};
176
177
}
178
179
#endif
/* THEPEG_FastJetFinder_H */
ThePEG::FastJetFinder
FastJetFinder implements the class of longitudinally invariant kt jet clustering algorithms.
Definition:
FastJetFinder.h:27
ThePEG::FastJetFinder::clone
virtual IBPtr clone() const
Make a simple clone of this object.
ThePEG::FastJetFinder::theVariant
int theVariant
The variant.
Definition:
FastJetFinder.h:139
ThePEG::FastJetFinder::Init
static void Init()
The standard Init function used to initialize the interfaces.
ThePEG::FastJetFinder::FastJetFinder
FastJetFinder()
The default constructor.
ThePEG::FastJetFinder::recombinations
recombinations
The possible recombination schemes.
Definition:
FastJetFinder.h:157
ThePEG::FastJetFinder::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
ThePEG::FastJetFinder::theConeRadius
double theConeRadius
The ‘cone radius’ R.
Definition:
FastJetFinder.h:122
ThePEG::FastJetFinder::variants
variants
The possible variants.
Definition:
FastJetFinder.h:127
ThePEG::FastJetFinder::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
ThePEG::FastJetFinder::describe
virtual void describe() const
Describe this jet fined.
ThePEG::FastJetFinder::theMode
int theMode
The mode.
Definition:
FastJetFinder.h:152
ThePEG::FastJetFinder::theRecombination
int theRecombination
The recombination scheme.
Definition:
FastJetFinder.h:165
ThePEG::FastJetFinder::doinitrun
virtual void doinitrun()
Initialize this object.
ThePEG::FastJetFinder::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
ThePEG::FastJetFinder::doinit
virtual void doinit()
Initialize this object.
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::modes
modes
The possible modes.
Definition:
FastJetFinder.h:144
ThePEG::FastJetFinder::operator=
FastJetFinder & operator=(const FastJetFinder &)=delete
The assignment operator is private and must never be called.
ThePEG::FastJetFinder::theDCut
Energy2 theDCut
The resolution cut.
Definition:
FastJetFinder.h:117
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::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, 2, 0 >
ThePEG
This is the main namespace within which all identifiers in ThePEG are declared.
Definition:
FactoryBase.h:28
ThePEG::tcPDPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
Alias for a transient pointer to a const ParticleData .
Definition:
Pointers.h:64
ThePEG::tcPDVector
vector< tcPDPtr > tcPDVector
A vector of transient pointers to const ParticleData objects.
Definition:
Containers.h:42
Generated on Thu Jun 20 2024 14:47:00 for ThePEG by
1.9.6