![]() |
Belle II Software
release-05-01-25
|
Class representing a cluster candidate for DATCON during simple clustering of the SVD. More...
#include <DATCONSVDSimpleClusterCandidate.h>
Public Member Functions | |
DATCONSVDSimpleClusterCandidate () | |
Constructor to create an empty Cluster. | |
DATCONSVDSimpleClusterCandidate (VxdID vxdID, bool isUside) | |
Constructor indicating vxdid and u-side information. | |
DATCONSVDSimpleClusterCandidate (VxdID vxdID, bool isUside, unsigned short maxClusterSize) | |
Constructor indicating vxdid, u-side information in case of a maximum cluster size. | |
bool | add (VxdID vxdID, bool isUside, unsigned short index, unsigned short charge, unsigned short cellID) |
Add a Strip to the current cluster. More... | |
void | finalizeCluster () |
compute the position of the cluster | |
void | finalizeSimpleCluster () |
compute the simple cluster position as in phase 2 FPGA implementation | |
bool | isGoodCluster () |
return true if the cluster candidate can be promoted to cluster | |
VxdID | getSensorID () |
return the VxdID of the cluster sensor | |
bool | isUSide () |
return true if the cluster is on the U/P side | |
unsigned short | getCharge () const |
Return the charge of the cluster. More... | |
unsigned short | getSeedCharge () const |
Return the seed charge of the cluster. More... | |
float | getPosition () const |
return the position of the cluster | |
unsigned short | getSeedStripIndex () const |
Getter for the index (0...5) of the seed strip inside this cluster candidate. | |
unsigned short | size () const |
Return the cluster size (number of strips of the cluster). | |
std::vector< unsigned short > | getStripVector () const |
Get vector of strips of this cluster candidate. | |
std::vector< unsigned short > | getChargeVector () const |
Get vector of the charges of the stips of this cluster candidate. | |
std::vector< unsigned short > | getIndexVector () const |
Get vector of indices of the DATCONSVDDigits in the DATCONSVDDigit StoreArray. | |
Protected Attributes | |
VxdID | m_vxdID |
VxdID of the cluster. | |
bool | m_isUside |
side of the cluster | |
unsigned short | m_maxClusterSize |
Maximum cluster size (mainly for the simple clusterizer) | |
unsigned short | m_charge = 0 |
Charge of the cluster. | |
unsigned short | m_seedCharge = 0 |
Seed Charge of the cluster. | |
float | m_position = 0 |
Position of the cluster. | |
unsigned short | m_seedStrip = 0 |
SVD strip (i.e. More... | |
unsigned short | m_size = 0 |
Size of the cluster. | |
unsigned short | m_seedStripIndex = 0 |
Index of the seed strip of the cluster (0...m_Size) | |
std::vector< unsigned short > | m_strips |
Vector containing strips (DATCONSVDDigits) that are added. | |
std::vector< unsigned short > | m_charges |
Vector containing the charges of the corresponding strips that are added. | |
std::vector< unsigned short > | m_digitIndices |
Vector of the indices in the DATCONSVDDigit StoreArray of the added strips. | |
Class representing a cluster candidate for DATCON during simple clustering of the SVD.
Definition at line 33 of file DATCONSVDSimpleClusterCandidate.h.
|
inline |
Return the charge of the cluster.
I.e. charge of the central strip in case of simple cluster.
Definition at line 87 of file DATCONSVDSimpleClusterCandidate.h.
|
inline |
Return the seed charge of the cluster.
I.e. charge of the central strip in case of simple cluster.
Definition at line 93 of file DATCONSVDSimpleClusterCandidate.h.
|
protected |
SVD strip (i.e.
0...511 or 0...767) that is considered the seed strip of the cluster
Definition at line 138 of file DATCONSVDSimpleClusterCandidate.h.