Belle II Software development
|
Clustering module. More...
#include <Clusterizend.h>
Public Member Functions | |
Clusterizend (const clustererParams ¶ms) | |
clustererParams | getParams () |
void | setPlaneShape (std::vector< ushort > planeShape) |
void | setNewPlane (c3array &houghmapPlain) |
Next event initialization: set a new hough space for clustering and track finding. | |
bool | hasBefore (cell_index entry, ushort dim) |
Clustering logic. | |
cell_index | before (cell_index entry, ushort dim) |
bool | hasAfter (cell_index entry, ushort dim) |
cell_index | after (cell_index entry, ushort dim) |
void | blockcheck (std::vector< cell_index > *neighbors, cell_index elem, ushort dim) |
std::vector< cell_index > | regionQuery (cell_index entry) |
std::vector< SimpleCluster > | dbscan () |
void | expandCluster (std::vector< cell_index > &N, SimpleCluster &C) |
std::vector< cell_index > | getCandidates () |
std::pair< cell_index, unsigned long > | getGlobalMax () |
void | deleteMax (cell_index maxIndex) |
std::vector< SimpleCluster > | makeClusters () |
std::pair< SimpleCluster, unsigned long > | createCluster (cell_index maxIndex) |
unsigned long | checkSurroundings (cell_index maxIndex) |
template<class T > | |
std::string | printVector (std::vector< T > vecX) |
template<class T > | |
std::string | printCells (std::vector< T > vecX) |
Private Attributes | |
clustererParams | m_params |
Clusterizend. | |
std::vector< ushort > | m_planeShape |
std::vector< ushort > | m_valMax |
ushort | m_dimSize |
boost::array< c3index, 3 > | m_c3shape = {{ 40, 384, 9 }} |
c3array * | m_houghVals {0} |
c3array | m_houghVisit = c3array(m_c3shape) |
Clustering module.
Definition at line 125 of file Clusterizend.h.
|
inline |
Definition at line 127 of file Clusterizend.h.
|
inlinevirtual |
Definition at line 130 of file Clusterizend.h.
|
inlineexplicit |
Definition at line 131 of file Clusterizend.h.
cell_index after | ( | cell_index | entry, |
ushort | dim | ||
) |
Definition at line 43 of file Clusterizend.cc.
cell_index before | ( | cell_index | entry, |
ushort | dim | ||
) |
Definition at line 22 of file Clusterizend.cc.
void blockcheck | ( | std::vector< cell_index > * | neighbors, |
cell_index | elem, | ||
ushort | dim | ||
) |
Definition at line 58 of file Clusterizend.cc.
std::pair< SimpleCluster, unsigned long > createCluster | ( | cell_index | maxIndex | ) |
Definition at line 231 of file Clusterizend.cc.
std::vector< SimpleCluster > dbscan | ( | ) |
Definition at line 100 of file Clusterizend.cc.
void deleteMax | ( | cell_index | maxIndex | ) |
Definition at line 183 of file Clusterizend.cc.
void expandCluster | ( | std::vector< cell_index > & | N, |
SimpleCluster & | C | ||
) |
Definition at line 126 of file Clusterizend.cc.
std::vector< cell_index > getCandidates | ( | ) |
all candidiates TODO: select
Definition at line 149 of file Clusterizend.cc.
std::pair< cell_index, unsigned long > getGlobalMax | ( | ) |
Definition at line 166 of file Clusterizend.cc.
|
inline |
Definition at line 135 of file Clusterizend.h.
bool hasAfter | ( | cell_index | entry, |
ushort | dim | ||
) |
Definition at line 36 of file Clusterizend.cc.
bool hasBefore | ( | cell_index | entry, |
ushort | dim | ||
) |
Clustering logic.
Get neighboring cells before and after a cell in track space before and after is defined along the track parameter axes given by dim.
Definition at line 15 of file Clusterizend.cc.
std::vector< SimpleCluster > makeClusters | ( | ) |
Definition at line 214 of file Clusterizend.cc.
|
inline |
Definition at line 204 of file Clusterizend.h.
|
inline |
Definition at line 192 of file Clusterizend.h.
std::vector< cell_index > regionQuery | ( | cell_index | entry | ) |
Definition at line 92 of file Clusterizend.cc.
|
inline |
Next event initialization: set a new hough space for clustering and track finding.
Definition at line 153 of file Clusterizend.h.
|
inline |
Definition at line 140 of file Clusterizend.h.
|
private |
Definition at line 216 of file Clusterizend.h.
|
private |
Definition at line 215 of file Clusterizend.h.
|
private |
Definition at line 217 of file Clusterizend.h.
|
private |
Definition at line 218 of file Clusterizend.h.
|
private |
Definition at line 212 of file Clusterizend.h.
|
private |
Definition at line 213 of file Clusterizend.h.
|
private |
Definition at line 214 of file Clusterizend.h.