![]() |
ATLAS Offline Software
|
The class of a cell in 3D histogram. More...
#include <VtxMap.h>
Public Member Functions | |
| Cell (size_t id, const KDPoint< double, 3 > &p, std::vector< const WrkVrt * > &v) | |
| Constructor. | |
| Cell (size_t id, const KDPoint< double, 3 > &p, std::vector< const WrkVrt * > &&v) | |
| Cell (size_t id, const KDPoint< double, 3 > &p, const WrkVrt *vtx_ptr) | |
| Cell (size_t id, const KDPoint< double, 3 > &p) | |
| Cell () | |
| int | getId () |
| KDPoint< double, 3 > | getPosPoint () |
| Return center position as a KDPoint in specified coordinate. | |
| TVector3 | getPosVect () const |
| Return center position in TVector3. | |
| void | emplace_back (const WrkVrt *vtx_ptr) |
| Emplace vertex pointer to vertex list. | |
| void | updateLists () |
| Update set of tracks and incompatible track pair list. | |
Accessors | |
Return copy of selected track indices list. | |
| std::unordered_set< size_t > | getSelectedTrackIndices () |
| const std::unordered_set< size_t > & | selectedTrackIndices () |
| Return reference to selected track indices list. | |
| std::vector< std::pair< size_t, size_t > > | getIncompIndices () |
| Return copy of incompatible track pair list. | |
| const std::vector< std::pair< size_t, size_t > > & | incompIndices () |
| Return reference to incompatible track pair list. | |
| std::vector< const WrkVrt * > | getVtxList () |
| Return a copy of vertex list. | |
| const std::vector< const WrkVrt * > & | vtxList () |
| Return a reference to vertex list. | |
| const WrkVrt * | getVtx (size_t ivtx) |
| Return a copy of i-th vertex. | |
| size_t | nVtx () |
| Return the number of vertices. | |
| double | getWeight () |
| Return the weight of the container. | |
Protected Member Functions | |
| void | checkUpdate () |
| Check if lists are up to date. If not, update them. | |
Protected Attributes | |
| bool | m_isUpToDate = false |
| std::vector< const WrkVrt * > | m_vtxLists |
| std::unordered_set< size_t > | m_selTrkIndices |
| std::unordered_set< std::pair< size_t, size_t >, PairHash< size_t, size_t > > | m_compIndices |
| std::vector< std::pair< size_t, size_t > > | m_incompIndices |
Private Attributes | |
| int | m_id = -1 |
| KDPoint< double, 3 > | m_pos |
The class of a cell in 3D histogram.
Basically a vertex pack with cell id and position.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotectedinherited |
Check if lists are up to date. If not, update them.
Definition at line 106 of file IWrkVrt.h.
|
inlineinherited |
|
inline |
|
inlineinherited |
Return copy of incompatible track pair list.
Definition at line 80 of file IWrkVrt.h.
|
inline |
Return center position as a KDPoint in specified coordinate.
Definition at line 77 of file VtxMap.h.
|
inline |
|
inlineinherited |
Definition at line 76 of file IWrkVrt.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
Update set of tracks and incompatible track pair list.
Everytime accessors are called, this function will be called automatically if lists are not up to date. Also can be called explicitly.
Definition at line 117 of file IWrkVrt.h.
|
inlineinherited |
|
protectedinherited |
|
private |
|
protectedinherited |
|
protectedinherited |
|
private |
|
protectedinherited |
|
protectedinherited |