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"
40 FASTJET_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;
102 template<
class L> ClusterSequenceVoronoiArea::ClusterSequenceVoronoiArea
103 (
const std::vector<L> &pseudojets,
106 const bool & writeout_combinations) :
107 _effective_Rfact(spec.effective_Rfact()) {
119 FASTJET_END_NAMESPACE
base class that sets interface for extensions of ClusterSequence that provide information about the a...
Like ClusterSequence with computation of the Voronoi jet area.
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)
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
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.