ATLAS Offline Software
|
Stores the result of vertex clustering performed in VtxMap. More...
#include <VtxMap.h>
Public Member Functions | |
CellCluster (std::vector< Cell * > &&v) | |
Constructor. More... | |
void | emplace_back (const WrkVrt *)=delete |
Vertex cannot be added after initialization. More... | |
size_t | nCells () const |
Cell * | getPoint (size_t ipt) const |
size_t | nPoints () const |
std::vector< Cell * > & | Points () |
const std::vector< Cell * > & | getPoints () const |
void | updateLists () |
Update set of tracks and incompatible track pair list. More... | |
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. More... | |
std::vector< std::pair< size_t, size_t > > | getIncompIndices () |
Return copy of incompatible track pair list. More... | |
const std::vector< std::pair< size_t, size_t > > & | incompIndices () |
Return reference to incompatible track pair list. More... | |
std::vector< const WrkVrt * > | getVtxList () |
Return a copy of vertex list. More... | |
const std::vector< const WrkVrt * > & | vtxList () |
Return a reference to vertex list. More... | |
const WrkVrt * | getVtx (size_t ivtx) |
Return a copy of i-th vertex. More... | |
size_t | nVtx () |
Return the number of vertices. More... | |
double | getWeight () |
Return the weight of the container. More... | |
Position in specific coordinate | |
double | x1 () const |
double | x2 () const |
double | x3 () const |
KDPoint< double, 3 > | PosCoord () const |
Position in cartesian coordinate | |
double | x () const |
double | y () const |
double | z () const |
TVector3 | PosVect () const |
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. More... | |
std::vector< std::pair< size_t, size_t > > | getIncompIndices () |
Return copy of incompatible track pair list. More... | |
const std::vector< std::pair< size_t, size_t > > & | incompIndices () |
Return reference to incompatible track pair list. More... | |
std::vector< const WrkVrt * > | getVtxList () |
Return a copy of vertex list. More... | |
const std::vector< const WrkVrt * > & | vtxList () |
Return a reference to vertex list. More... | |
const WrkVrt * | getVtx (size_t ivtx) |
Return a copy of i-th vertex. More... | |
size_t | nVtx () |
Return the number of vertices. More... | |
double | getWeight () |
Return the weight of the container. More... | |
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. More... | |
std::vector< std::pair< size_t, size_t > > | getIncompIndices () |
Return copy of incompatible track pair list. More... | |
const std::vector< std::pair< size_t, size_t > > & | incompIndices () |
Return reference to incompatible track pair list. More... | |
std::vector< const WrkVrt * > | getVtxList () |
Return a copy of vertex list. More... | |
const std::vector< const WrkVrt * > & | vtxList () |
Return a reference to vertex list. More... | |
const WrkVrt * | getVtx (size_t ivtx) |
Return a copy of i-th vertex. More... | |
size_t | nVtx () |
Return the number of vertices. More... | |
double | getWeight () |
Return the weight of the container. More... | |
Protected Member Functions | |
void | checkUpdate () |
Check if lists are up to date. If not, update them. More... | |
Protected Attributes | |
std::vector< Cell * > | m_points |
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 | |
KDPoint< double, 3 > | m_posAvr |
TVector3 | m_posAvrVec |
Stores the result of vertex clustering performed in VtxMap.
The class of a cell cluster. Provides average position and other vertex pack related objects. Designed for readout usage.
|
inline |
|
inlineprotectedinherited |
|
inlinedelete |
Vertex cannot be added after initialization.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inline |
|
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 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
private |
|
private |
|
protectedinherited |
|
protectedinherited |