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__ virtual PseudoJet area_4vector(const PseudoJet &jet) const
return a 4-vector area associated with the given jet – strictly this is not the exact 4-vector area...
double effective_Rfact() const
return the value of effective_Rfact
virtual double area_error(const PseudoJet &) const
return the error of the area associated with the given jet (0 by definition for a voronoi area) ...
Specification for the computation of the Voronoi jet area.
base class that sets interface for extensions of ClusterSequence that provide information about the a...
virtual double area(const PseudoJet &jet) const
return the area associated with the given jet
Like ClusterSequence with computation of the Voronoi jet area.
Class to contain pseudojets, including minimal information of use to jet-clustering routines...
class that is intended to hold a full definition of the jet clusterer