Type for found clusters.
More...
#include <Clusterizend.h>
|
| | SimpleCluster (cell_index entry) |
| |
| void | initClCellsNew () |
| |
| void | setParams (unsigned short dim) |
| |
| std::vector< cell_index > | getEntries () |
| | Get member cells in the cluster.
|
| |
| void | append (cell_index nextEntry) |
| | Add a track-space cell to the cluster.
|
| |
| void | addHit (unsigned short hit, unsigned short weight, unsigned short orient) |
| | Relate a hit to the cluster.
|
| |
| unsigned long | getNAxial () |
| | Get number related axial hits.
|
| |
| unsigned long | getNStereo () |
| | Get number related stereo hits.
|
| |
| std::vector< unsigned short > | getHits () |
| | Get ids of related hits (indices of the TS StoreArray)
|
| |
| std::vector< unsigned short > | getWeights () |
| | Get weight contribution of each related hit to the cluster.
|
| |
|
| std::vector< cell_index > | m_C |
| | SimpleCluster.
|
| |
| unsigned short | m_dim |
| | Dimension of the track space (3 for omega, phi, theta)
|
| |
| std::vector< unsigned short > | m_hits |
| | Cluster related hits ids.
|
| |
| std::vector< unsigned short > | m_hitWeights |
| | Cluster related hits weights.
|
| |
| unsigned short | m_orientSum |
| | Sum of related hit orientations (== number of related axials)
|
| |
Type for found clusters.
Definition at line 45 of file Clusterizend.h.
◆ SimpleCluster() [1/2]
Definition at line 47 of file Clusterizend.h.
48 {
49 setParams(3);
50 initClCellsNew();
51 }
◆ SimpleCluster() [2/2]
Definition at line 52 of file Clusterizend.h.
53 {
54 setParams(3);
55 initClCellsNew();
57 }
void append(cell_index nextEntry)
Add a track-space cell to the cluster.
◆ ~SimpleCluster()
◆ addHit()
| void addHit |
( |
unsigned short |
hit, |
|
|
unsigned short |
weight, |
|
|
unsigned short |
orient |
|
) |
| |
|
inline |
Relate a hit to the cluster.
orient == 1: axial, orient == 0: stereo
Definition at line 83 of file Clusterizend.h.
84 {
88 }
std::vector< unsigned short > m_hitWeights
Cluster related hits weights.
unsigned short m_orientSum
Sum of related hit orientations (== number of related axials)
std::vector< unsigned short > m_hits
Cluster related hits ids.
◆ append()
| void append |
( |
cell_index |
nextEntry | ) |
|
|
inline |
Add a track-space cell to the cluster.
Definition at line 78 of file Clusterizend.h.
79 {
80 m_C.push_back(nextEntry);
81 }
std::vector< cell_index > m_C
SimpleCluster.
◆ getEntries()
| std::vector< cell_index > getEntries |
( |
| ) |
|
|
inline |
◆ getHits()
| std::vector< unsigned short > getHits |
( |
| ) |
|
|
inline |
◆ getNAxial()
| unsigned long getNAxial |
( |
| ) |
|
|
inline |
◆ getNStereo()
| unsigned long getNStereo |
( |
| ) |
|
|
inline |
◆ getWeights()
| std::vector< unsigned short > getWeights |
( |
| ) |
|
|
inline |
Get weight contribution of each related hit to the cluster.
Definition at line 105 of file Clusterizend.h.
◆ initClCellsNew()
Definition at line 59 of file Clusterizend.h.
60 {
61 unsigned short init_ClSize = 0;
62 unsigned short defaultValue = 0;
63 cell_index cell(
m_dim, defaultValue);
64 std::vector<cell_index> C(init_ClSize, cell);
66 }
unsigned short m_dim
Dimension of the track space (3 for omega, phi, theta)
◆ setParams()
| void setParams |
( |
unsigned short |
dim | ) |
|
|
inline |
◆ m_C
| std::vector<cell_index> m_C |
|
private |
◆ m_dim
Dimension of the track space (3 for omega, phi, theta)
Definition at line 114 of file Clusterizend.h.
◆ m_hits
| std::vector<unsigned short> m_hits |
|
private |
◆ m_hitWeights
| std::vector<unsigned short> m_hitWeights |
|
private |
◆ m_orientSum
| unsigned short m_orientSum |
|
private |
Sum of related hit orientations (== number of related axials)
Definition at line 120 of file Clusterizend.h.
The documentation for this class was generated from the following file: