32#ifndef __FASTJET_AREADEFINITION_HH__
33#define __FASTJET_AREADEFINITION_HH__
35#include "fastjet/GhostedAreaSpec.hh"
37FASTJET_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;
149 if (_area_type == voronoi_area) {
152 return AreaDefinition(_area_type, _ghost_spec.with_fixed_seed(iseed));
class that holds a generic area definition
const GhostedAreaSpec & ghost_spec() const
return a reference to the active area spec
AreaDefinition()
default constructor, which provides a ghosted active area, with sensible defaults for the ghosts.
AreaDefinition(AreaType type, const GhostedAreaSpec &spec)
constructor for an area definition based on an area type and a ghosted area specification
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 ...
AreaDefinition with_fixed_seed(const std::vector< int > &iseed) const
return a copy of this AreaDefinition with a user-defined set of seeds
AreaDefinition(const VoronoiAreaSpec &spec)
constructor for an area definition based on a voronoi 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...
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...
Parameters to configure the computation of jet areas using ghosts.
Specification for the computation of the Voronoi jet area.
VoronoiAreaSpec()
default constructor (effective_Rfact = 1);
VoronoiAreaSpec(double effective_Rfact_in)
constructor that allows you to set effective_Rfact.
double effective_Rfact() const
return the value of effective_Rfact
AreaType
the different types of area that are supported