32 #ifndef __FASTJET_AREADEFINITION_HH__
33 #define __FASTJET_AREADEFINITION_HH__
35 #include "fastjet/GhostedAreaSpec.hh"
37 FASTJET_BEGIN_NAMESPACE
58 _effective_Rfact(effective_Rfact_in) {};
64 std::string description()
const;
67 double _effective_Rfact;
73 active_area = 0, active_area_explicit_ghosts = 1,
74 one_ghost_passive_area = 10, passive_area = 11,
88 _area_type = active_area;
97 assert(type != voronoi_area);
103 _voronoi_spec = spec;
105 assert(type == voronoi_area);
112 if (type == voronoi_area) {
124 assert(type != voronoi_area);
130 _voronoi_spec = spec;
131 _area_type = voronoi_area;
135 std::string description()
const;
154 FASTJET_END_NAMESPACE
157 #endif // __FASTJET_AREADEFINITION_HH__
const GhostedAreaSpec & ghost_spec() const
return a reference to the active area spec
VoronoiAreaSpec()
default constructor (effective_Rfact = 1);
double effective_Rfact() const
return the value of effective_Rfact
AreaDefinition()
default constructor, which provides a ghosted active area, with sensible defaults for the ghosts.
AreaDefinition(const VoronoiAreaSpec &spec)
constructor for an area definition based on a voronoi area specification
VoronoiAreaSpec(double effective_Rfact_in)
constructor that allows you to set effective_Rfact.
AreaDefinition(const GhostedAreaSpec &spec, AreaType type=active_area)
constructor for an area definition based on an ghosted area specification, and an option to select wh...
AreaDefinition(AreaType type, const GhostedAreaSpec &spec)
constructor for an area definition based on an area type and a ghosted area specification
AreaType area_type() const
return info about the type of area being used by this defn
AreaDefinition(AreaType type)
constructor for an area definition based on an area type and which attempts to provide sensible defau...
AreaType
the different types of area that are supported
const VoronoiAreaSpec & voronoi_spec() const
return a reference to the voronoi area spec
AreaDefinition(AreaType type, const VoronoiAreaSpec &spec)
constructor for an area definition based on an area type and a voronoi area specification (type must ...