31#ifndef __PXCONEPLUGIN_HH__
32#define __PXCONEPLUGIN_HH__
34#include "fastjet/JetDefinition.hh"
35#include "fastjet/internal/thread_safety_helpers.hh"
39FASTJET_BEGIN_NAMESPACE
97 double min_jet_energy_in = 5.0,
98 double overlap_threshold_in = 0.5,
99 bool E_scheme_jets_in =
false,
101 _cone_radius (cone_radius_in ),
102 _min_jet_energy (min_jet_energy_in ),
103 _overlap_threshold (overlap_threshold_in),
104 _E_scheme_jets (E_scheme_jets_in ),
127 int mode()
const {
return _mode ;}
130 virtual std::string description ()
const;
131 virtual void run_clustering(ClusterSequence &)
const;
133 virtual double R()
const {
return cone_radius();}
137 double _cone_radius ;
138 double _min_jet_energy ;
139 double _overlap_threshold ;
147 void _print_banner(std::ostream *ostr)
const;
a class that allows a user to introduce their own "plugin" jet finder
Implementation of the PxCone algorithm (plugin for fastjet v2.1 upwards)
double overlap_threshold() const
Maximum fraction of overlap energy in a jet – called ovlim in pxcone.
bool E_scheme_jets() const
if true then the final jets are returned as the E-scheme recombination of the particle momenta (by de...
PxConePlugin(double cone_radius_in, double min_jet_energy_in=5.0, double overlap_threshold_in=0.5, bool E_scheme_jets_in=false, int mode=2)
constructor for the PxConePlugin, whose arguments have the following meaning:
double cone_radius() const
the cone radius
double min_jet_energy() const
minimum jet energy (protojets below this are thrown own before merging/splitting) – called epslon in ...
virtual double R() const
the plugin mechanism's standard way of accessing the jet radius
provides an object wich will return "true" the first time () is called and false afterwards