![]() |
ATLAS Offline Software
|
Base class of local vertex container in VtxMap. More...
#include <IWrkVrt.h>
Public Member Functions | |
| VtxPack (std::vector< const WrkVrt * > &v) | |
| Constructor. | |
| VtxPack (std::vector< const WrkVrt * > &&v) | |
| VtxPack () | |
| 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 |
Base class of local vertex container in VtxMap.
Keep pointers to vertices inside. Automatically generates combined set of all associated tracks and list of incompatible track pairs. typename WrkVrt should be classes derived from IWrkVtx.
|
inline |
|
inline |
|
inline |
|
inlineprotected |
Check if lists are up to date. If not, update them.
Definition at line 106 of file IWrkVrt.h.
|
inline |
Emplace vertex pointer to vertex list.
|
inline |
Return copy of incompatible track pair list.
Definition at line 80 of file IWrkVrt.h.
|
inline |
Definition at line 76 of file IWrkVrt.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void TrigVSI::VtxPack< WrkVrt >::updateLists | ( | ) |
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.
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |