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) :
110 _transfer_input_jets(pseudojets);
113 _initialise_and_run(jet_def_in,writeout_combinations);
119 FASTJET_END_NAMESPACE
121 #endif // __FASTJET_CLUSTERSEQUENCEVORONOIAREA_HH__