Belle II Software development
|
struct containing a cluster candidate for easier handling More...
#include <DATCONSVDClusterCandidate.h>
Public Member Functions | |
bool | add (VxdID nextID, int nextCharge, unsigned short nextCellID, float nextStripSNR, unsigned short maxClusterSize) |
add a new strip to the current cluster candidate if possible | |
void | finalizeCluster (const double pitch, const int stripsInSensor) |
calculate cluster properties once a cluster is ready to be stored | |
Public Attributes | |
VxdID | vxdID = 0 |
VxdID of the cluster. | |
std::vector< unsigned short > | strips |
Vector containing strips (DATCONSVDDigits) that are added. | |
std::vector< unsigned short > | charges |
Vector containing the charges of the corresponding strips that are added. | |
float | maxSNRinClusterCandidate = 0 |
Maximum SNR of all the strips in the cluster candidate. | |
int | charge = 0 |
Charge of the cluster. | |
int | seedStripIndex = 0 |
Index of the seed strip of the cluster (0...m_Size) | |
int | seedStrip = 0 |
SVD strip (i.e. | |
int | seedCharge = 0 |
Seed Charge of the cluster. | |
float | clusterPosition = 0 |
Position of the cluster. | |
struct containing a cluster candidate for easier handling
Definition at line 22 of file DATCONSVDClusterCandidate.h.
|
inline |
add a new strip to the current cluster candidate if possible
nextID | VxdID of the digit to be added |
nextCharge | charge (in ADU) of the digit to be added |
nextCellID | strip number of the digit to be added |
nextStripSNR | SNR of the digit to be added |
maxClusterSize | maximum cluster size, if exceeded, start new cluster |
Definition at line 41 of file DATCONSVDClusterCandidate.h.
|
inline |
calculate cluster properties once a cluster is ready to be stored
pitch | strip pitch of the sensor and sensor side on which the cluster was found |
stripsInSensor | number of strips of the sensor and sensor side on which the cluster was found |
Definition at line 75 of file DATCONSVDClusterCandidate.h.
int charge = 0 |
Charge of the cluster.
Definition at line 28 of file DATCONSVDClusterCandidate.h.
std::vector<unsigned short> charges |
Vector containing the charges of the corresponding strips that are added.
Definition at line 25 of file DATCONSVDClusterCandidate.h.
float clusterPosition = 0 |
Position of the cluster.
Definition at line 32 of file DATCONSVDClusterCandidate.h.
float maxSNRinClusterCandidate = 0 |
Maximum SNR of all the strips in the cluster candidate.
Definition at line 26 of file DATCONSVDClusterCandidate.h.
int seedCharge = 0 |
Seed Charge of the cluster.
Definition at line 31 of file DATCONSVDClusterCandidate.h.
int seedStrip = 0 |
SVD strip (i.e.
0...511 or 0...767) that is considered the seed strip of the cluster
Definition at line 30 of file DATCONSVDClusterCandidate.h.
int seedStripIndex = 0 |
Index of the seed strip of the cluster (0...m_Size)
Definition at line 29 of file DATCONSVDClusterCandidate.h.
std::vector<unsigned short> strips |
Vector containing strips (DATCONSVDDigits) that are added.
Definition at line 24 of file DATCONSVDClusterCandidate.h.
VxdID vxdID = 0 |
VxdID of the cluster.
Definition at line 23 of file DATCONSVDClusterCandidate.h.