ATLAS Offline Software
|
#include <TiledEtaPhiMap.h>
Public Types | |
typedef Tile< POINT, DIST2 > | tile_t |
Public Member Functions | |
TiledEtaPhiMap () | |
virtual | ~TiledEtaPhiMap () |
void | init (double rmax) |
void | insert (POINT &p) |
std::vector< POINT > | pointsInDr (POINT &p, double r) const |
retrieve all points within deltaR of p. WARNING !! wrong results if r>rmax ! More... | |
virtual void | clear () |
virtual void | reset () |
unsigned int | size () const |
void | setEtaRange (double r) |
Protected Member Functions | |
size_t | tileIndex (POINT &p) const |
index of the tile containing p More... | |
size_t | tileIndex_i (int ix, int iy) const |
retrieve the tile index from its integer coordinates. More... | |
Protected Attributes | |
double | m_etarange {} |
double | m_halfetarange {} |
double | m_rmax {} |
size_t | m_ndivX {} |
size_t | m_ndivY {} |
double | m_sizeX {} |
double | m_sizeY {} |
unsigned int | m_size {} |
std::vector< tile_t > | m_tiles |
An eta-phi map providing a relatively fast way of retrieving points at a given distance of a point in the plan (cylinder in this case). It works by simply dividing the plan in rectangular tiles of identical size and restricting the search only in a tile and its neighbours. IMPORTANT : the search is accurate only up to distance rmax where rmax is given to the init() function.
Definition at line 85 of file TiledEtaPhiMap.h.
typedef Tile<POINT, DIST2> JetTiledMap::TiledEtaPhiMap< POINT, DIST2 >::tile_t |
Definition at line 87 of file TiledEtaPhiMap.h.
|
inline |
Definition at line 90 of file TiledEtaPhiMap.h.
|
inlinevirtual |
Definition at line 91 of file TiledEtaPhiMap.h.
|
virtual |
void JetTiledMap::TiledEtaPhiMap< POINT, DIST2 >::init | ( | double | rmax | ) |
void JetTiledMap::TiledEtaPhiMap< POINT, DIST2 >::insert | ( | POINT & | p | ) |
std::vector<POINT> JetTiledMap::TiledEtaPhiMap< POINT, DIST2 >::pointsInDr | ( | POINT & | p, |
double | r | ||
) | const |
retrieve all points within deltaR of p. WARNING !! wrong results if r>rmax !
|
inlinevirtual |
Definition at line 101 of file TiledEtaPhiMap.h.
|
inline |
Definition at line 105 of file TiledEtaPhiMap.h.
|
inline |
Definition at line 103 of file TiledEtaPhiMap.h.
|
inlineprotected |
index of the tile containing p
Definition at line 119 of file TiledEtaPhiMap.h.
|
inlineprotected |
retrieve the tile index from its integer coordinates.
Definition at line 131 of file TiledEtaPhiMap.h.
|
protected |
Definition at line 109 of file TiledEtaPhiMap.h.
|
protected |
Definition at line 110 of file TiledEtaPhiMap.h.
|
protected |
Definition at line 112 of file TiledEtaPhiMap.h.
|
protected |
Definition at line 112 of file TiledEtaPhiMap.h.
|
protected |
Definition at line 111 of file TiledEtaPhiMap.h.
|
protected |
Definition at line 115 of file TiledEtaPhiMap.h.
|
protected |
Definition at line 113 of file TiledEtaPhiMap.h.
|
protected |
Definition at line 113 of file TiledEtaPhiMap.h.
|
protected |
Definition at line 133 of file TiledEtaPhiMap.h.