FastJet
3.1.3
|
Class that holds a generic rectangular tiling. More...
#include <fastjet/RectangularGrid.hh>
Public Member Functions | |
RectangularGrid (double rapmax_in, double cell_size) | |
ctor with simple initialisation More... | |
RectangularGrid (double rapmin_in, double rapmax_in, double drap_in, double dphi_in, Selector tile_selector=Selector()) | |
ctor with more control over initialisation More... | |
RectangularGrid () | |
dummy ctor (will give an unusable grid) | |
virtual int | n_tiles () const |
returns the total number of tiles in the tiling; valid tile indices run from 0 ... More... | |
virtual int | n_good_tiles () const |
returns the number of tiles that are "good"; i.e. More... | |
virtual int | tile_index (const PseudoJet &p) const |
returns the index of the tile in which p is located, or -1 if p is outside the tiling region | |
virtual bool | tile_is_good (int itile) const |
returns whether a given tile is good | |
virtual double | tile_area (int) const |
returns the area of tile itile. | |
virtual double | mean_tile_area () const |
returns the mean area of tiles. | |
virtual std::string | description () const |
returns a textual description of the grid | |
double | rapmin () const |
returns the minimum rapidity extent of the grid | |
double | rapmax () const |
returns the maxmium rapidity extent of the grid | |
double | drap () const |
returns the spacing of the grid in rapidity | |
double | dphi () const |
returns the spacing of the grid in azimuth | |
virtual bool | is_initialised () const |
returns true if the grid is in a suitably initialised state | |
Public Member Functions inherited from fastjet::TilingBase | |
virtual bool | all_tiles_good () const |
returns whether all tiles are good | |
virtual bool | all_tiles_equal_area () const |
returns true if all tiles have the same area | |
bool | is_initialized () const |
virtual | ~TilingBase () |
virtual destructor | |
Class that holds a generic rectangular tiling.
Definition at line 88 of file RectangularGrid.hh.
|
inline |
ctor with simple initialisation
rapmax | the maximal absolute rapidity extent of the grid |
cell_size | the grid spacing (equivalently, cell size) |
Definition at line 93 of file RectangularGrid.hh.
|
inline |
ctor with more control over initialisation
rapmin | the minimum rapidity extent of the grid |
rapmax | the maximum rapidity extent of the grid |
drap | the grid spacing in rapidity |
dphi | the grid spacing in azimuth |
tile_selector | optional (geometric) selector to specify which tiles are good; a tile is good if a massless 4-vector at the center of the tile passes the selection |
Definition at line 108 of file RectangularGrid.hh.
|
inlinevirtual |
returns the total number of tiles in the tiling; valid tile indices run from 0 ...
n_tiles()-1;
Implements fastjet::TilingBase.
Definition at line 120 of file RectangularGrid.hh.
|
inlinevirtual |
returns the number of tiles that are "good"; i.e.
there is scope for having tiles that, for whatever reason, should be ignored; there are situations in which having "non-good" tiles may be the simplest mechanism to obtain a tiling with holes in it
Reimplemented from fastjet::TilingBase.
Definition at line 122 of file RectangularGrid.hh.