 |
Belle II Software
release-05-01-25
|
13 #include <vxd/dataobjects/VxdID.h>
25 class DATCONSVDSimpleClusterCandidate {
48 bool add(
VxdID vxdID,
bool isUside,
unsigned short index,
unsigned short charge,
unsigned short cellID);
133 unsigned short m_size = 0;
139 std::vector<unsigned short>
m_strips;
unsigned short getSeedStripIndex() const
Getter for the index (0...5) of the seed strip inside this cluster candidate.
unsigned short m_seedStripIndex
Index of the seed strip of the cluster (0...m_Size)
unsigned short m_charge
Charge of the cluster.
std::vector< unsigned short > getChargeVector() const
Get vector of the charges of the stips of this cluster candidate.
Class to uniquely identify a any structure of the PXD and SVD.
void finalizeCluster()
compute the position of the cluster
std::vector< unsigned short > m_strips
Vector containing strips (DATCONSVDDigits) that are added.
float m_position
Position of the cluster.
unsigned short m_size
Size of the cluster.
std::vector< unsigned short > getStripVector() const
Get vector of strips of this cluster candidate.
DATCONSVDSimpleClusterCandidate()
Constructor to create an empty Cluster.
bool isGoodCluster()
return true if the cluster candidate can be promoted to cluster
unsigned short getSeedCharge() const
Return the seed charge of the cluster.
VxdID getSensorID()
return the VxdID of the cluster sensor
std::vector< unsigned short > m_digitIndices
Vector of the indices in the DATCONSVDDigit StoreArray of the added strips.
Abstract base class for different kinds of events.
unsigned short m_seedCharge
Seed Charge of the cluster.
unsigned short size() const
Return the cluster size (number of strips of the cluster).
bool m_isUside
side of the cluster
std::vector< unsigned short > getIndexVector() const
Get vector of indices of the DATCONSVDDigits in the DATCONSVDDigit StoreArray.
bool isUSide()
return true if the cluster is on the U/P side
VxdID m_vxdID
VxdID of the cluster.
void finalizeSimpleCluster()
compute the simple cluster position as in phase 2 FPGA implementation
std::vector< unsigned short > m_charges
Vector containing the charges of the corresponding strips that are added.
unsigned short m_maxClusterSize
Maximum cluster size (mainly for the simple clusterizer)
unsigned short getCharge() const
Return the charge of the cluster.
float getPosition() const
return the position of the cluster
unsigned short m_seedStrip
SVD strip (i.e.
bool add(VxdID vxdID, bool isUside, unsigned short index, unsigned short charge, unsigned short cellID)
Add a Strip to the current cluster.