31#ifndef __FASTJET_CLUSTERSEQUENCEVORONOIAREA_HH__
32#define __FASTJET_CLUSTERSEQUENCEVORONOIAREA_HH__
34#include "fastjet/PseudoJet.hh"
35#include "fastjet/AreaDefinition.hh"
36#include "fastjet/ClusterSequenceAreaBase.hh"
40FASTJET_BEGIN_NAMESPACE
58 (
const std::vector<L> & pseudojets,
61 const bool & writeout_combinations =
false);
67 virtual inline double area(
const PseudoJet & jet)
const FASTJET_OVERRIDE {
68 return _voronoi_area[jet.cluster_hist_index()];}
75 return _voronoi_area_4vector[jet.cluster_hist_index()];}
84 class VoronoiAreaCalc;
91 std::vector<double> _voronoi_area;
92 std::vector<PseudoJet> _voronoi_area_4vector;
93 VoronoiAreaCalc *_pa_calc;
94 double _effective_Rfact;
103(
const std::vector<L> &pseudojets,
106 const bool & writeout_combinations) :
107 _effective_Rfact(spec.effective_Rfact()) {
ClusterSequenceAreaBase(const std::vector< L > &pseudojets, const JetDefinition &jet_def_in, const bool &writeout_combinations=false)
a constructor which just carries out the construction of the parent class
virtual double area_error(const PseudoJet &) const override
return the error of the area associated with the given jet (0 by definition for a voronoi area)
ClusterSequenceVoronoiArea(const std::vector< L > &pseudojets, const JetDefinition &jet_def, const VoronoiAreaSpec &spec=VoronoiAreaSpec(), const bool &writeout_combinations=false)
template ctor
virtual PseudoJet area_4vector(const PseudoJet &jet) const override
return a 4-vector area associated with the given jet – strictly this is not the exact 4-vector area,...
virtual double area(const PseudoJet &jet) const override
return the area associated with the given jet
const JetDefinition & jet_def() const
return a reference to the jet definition
void _transfer_input_jets(const std::vector< L > &pseudojets)
transfer the vector<L> of input jets into our own vector<PseudoJet> _jets (with some reserved space f...
void _initialise_and_run(const JetDefinition &jet_def, const bool &writeout_combinations)
This is what is called to do all the initialisation and then run the clustering (may be called by var...
class that is intended to hold a full definition of the jet clusterer
Class to contain pseudojets, including minimal information of use to jet-clustering routines.
Specification for the computation of the Voronoi jet area.