Belle II Software  release-08-01-10
Cluster_t Struct Reference

Struct to hold variables for PXD clusters. More...

#include <PXDPerformanceStructs.h>

Public Member Functions

 Cluster_t ()
 Default constructor.
 
void setValues (const PXDCluster &pxdCluster)
 Update values from a PXDCluster. More...
 

Public Attributes

unsigned short pxdID
 Human readable id: layer * 1000 + ladder * 10 + sensor. More...
 
unsigned short charge
 Cluster charge in ADU.
 
unsigned short size
 Cluster size.
 
unsigned short uSize
 Cluster size in U.
 
unsigned short vSize
 Cluster size in V.
 
float posU
 Local position in r-phi.
 
float posV
 Local position along z.
 

Detailed Description

Struct to hold variables for PXD clusters.

Definition at line 36 of file PXDPerformanceStructs.h.

Member Function Documentation

◆ setValues()

void setValues ( const PXDCluster pxdCluster)

Update values from a PXDCluster.

Parameters
pxdClustera PXDCluster object

Definition at line 22 of file PXDPerformanceStructs.cc.

23  {
24  pxdID = getPXDModuleID(pxdCluster.getSensorID());
25  charge = pxdCluster.getCharge();
26  size = pxdCluster.getSize();
27  uSize = pxdCluster.getUSize();
28  vSize = pxdCluster.getVSize();
29  posU = pxdCluster.getU();
30  posV = pxdCluster.getV();
31  }
unsigned short getPXDModuleID(const VxdID &sensorID)
Helper function to get DHE id like module id from VxdID.
Definition: PXDUtilities.h:79
float posV
Local position along z.
float posU
Local position in r-phi.
unsigned short pxdID
Human readable id: layer * 1000 + ladder * 10 + sensor.
unsigned short charge
Cluster charge in ADU.
unsigned short uSize
Cluster size in U.
unsigned short vSize
Cluster size in V.
unsigned short size
Cluster size.

Member Data Documentation

◆ pxdID

unsigned short pxdID

Human readable id: layer * 1000 + ladder * 10 + sensor.

PXD module id as the DHE id.

Definition at line 48 of file PXDPerformanceStructs.h.


The documentation for this struct was generated from the following files: