ATLAS Offline Software
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
JetTiledMap::Tile< POINT, DIST2 > Class Template Reference

class Tile More...

#include <TiledEtaPhiMap.h>

Inheritance diagram for JetTiledMap::Tile< POINT, DIST2 >:
Collaboration diagram for JetTiledMap::Tile< POINT, DIST2 >:

Public Types

typedef std::list< POINT > tilecontainerbase_t
 
typedef tilecontainerbase_t::iterator iterator
 
typedef tilecontainerbase_t::const_iterator const_iterator
 
typedef std::vector< POINT > pointvec_t
 

Public Member Functions

 Tile ()=default
 
 Tile (POINT tileCenter)
 
void fillPointsInDr2 (POINT &p, double r2, pointvec_t &points) const
 Fill a vector of all points from this tile within deltaR of POINT p. (r2 is R squared) More...
 

Public Attributes

const Tile< POINT, DIST2 > * m_neighbour [8] = {nullptr}
 
POINT center
 
elements
 STL member. More...
 

Static Public Attributes

static const Tile voidTile
 the void tile never contains any point. More...
 
static const DIST2 dr2
 

Detailed Description

template<class POINT, class DIST2>
class JetTiledMap::Tile< POINT, DIST2 >

class Tile

represents a tile of the map. It holds pointers to its neighbour tiles POINT is the type of points used by the map. DIST2 defines a 2D distance between POINTS.

Definition at line 53 of file TiledEtaPhiMap.h.

Member Typedef Documentation

◆ const_iterator

template<class POINT , class DIST2 >
typedef tilecontainerbase_t::const_iterator JetTiledMap::Tile< POINT, DIST2 >::const_iterator

Definition at line 57 of file TiledEtaPhiMap.h.

◆ iterator

template<class POINT , class DIST2 >
typedef tilecontainerbase_t::iterator JetTiledMap::Tile< POINT, DIST2 >::iterator

Definition at line 56 of file TiledEtaPhiMap.h.

◆ pointvec_t

template<class POINT , class DIST2 >
typedef std::vector<POINT> JetTiledMap::Tile< POINT, DIST2 >::pointvec_t

Definition at line 58 of file TiledEtaPhiMap.h.

◆ tilecontainerbase_t

template<class POINT , class DIST2 >
typedef std::list<POINT> JetTiledMap::Tile< POINT, DIST2 >::tilecontainerbase_t

Definition at line 55 of file TiledEtaPhiMap.h.

Constructor & Destructor Documentation

◆ Tile() [1/2]

template<class POINT , class DIST2 >
JetTiledMap::Tile< POINT, DIST2 >::Tile ( )
default

◆ Tile() [2/2]

template<class POINT , class DIST2 >
JetTiledMap::Tile< POINT, DIST2 >::Tile ( POINT  tileCenter)
inline

Definition at line 61 of file TiledEtaPhiMap.h.

61 : center(tileCenter) {}

Member Function Documentation

◆ fillPointsInDr2()

template<class POINT , class DIST2 >
void JetTiledMap::Tile< POINT, DIST2 >::fillPointsInDr2 ( POINT &  p,
double  r2,
pointvec_t points 
) const

Fill a vector of all points from this tile within deltaR of POINT p. (r2 is R squared)

Member Data Documentation

◆ center

template<class POINT , class DIST2 >
POINT JetTiledMap::Tile< POINT, DIST2 >::center

Definition at line 71 of file TiledEtaPhiMap.h.

◆ dr2

template<class POINT , class DIST2 >
const DIST2 JetTiledMap::Tile< POINT, DIST2 >::dr2
static

Definition at line 70 of file TiledEtaPhiMap.h.

◆ elements

T std::list< T >::elements
inherited

STL member.

◆ m_neighbour

template<class POINT , class DIST2 >
const Tile<POINT,DIST2>* JetTiledMap::Tile< POINT, DIST2 >::m_neighbour[8] = {nullptr}

Definition at line 69 of file TiledEtaPhiMap.h.

◆ voidTile

template<class POINT , class DIST2 >
const Tile JetTiledMap::Tile< POINT, DIST2 >::voidTile
static

the void tile never contains any point.

Definition at line 67 of file TiledEtaPhiMap.h.


The documentation for this class was generated from the following file:
JetTiledMap::Tile::center
POINT center
Definition: TiledEtaPhiMap.h:71