Belle II Software development
ClustersOnSensor Struct Reference

small struct for storing all clusters of the same sensor in one container. More...

#include <SpacePointHelperFunctions.h>

Public Member Functions

void addCluster (const SVDCluster *entry)
 member function to automatically add the cluster to its corresponding entry
 

Public Attributes

VxdID vxdID
 Id of sensor, TODO can be removed if struct is used in a map.
 
std::vector< const SVDCluster * > clustersU
 stores all SVDclusters of U type.
 
std::vector< const SVDCluster * > clustersV
 stores all SVDclusters of V type.
 

Detailed Description

small struct for storing all clusters of the same sensor in one container.

members should only be filled using the single addCluster-function described below.

Definition at line 43 of file SpacePointHelperFunctions.h.

Member Function Documentation

◆ addCluster()

void addCluster ( const SVDCluster entry)
inline

member function to automatically add the cluster to its corresponding entry

Definition at line 48 of file SpacePointHelperFunctions.h.

49 {
50 vxdID = entry->getSensorID();
51 if (entry->isUCluster() == true) { clustersU.push_back(entry); return; }
52 clustersV.push_back(entry);
53 }
std::vector< const SVDCluster * > clustersU
stores all SVDclusters of U type.
std::vector< const SVDCluster * > clustersV
stores all SVDclusters of V type.
VxdID vxdID
Id of sensor, TODO can be removed if struct is used in a map.

Member Data Documentation

◆ clustersU

std::vector<const SVDCluster*> clustersU

stores all SVDclusters of U type.

Each entry stores a pointer to its SVDCluster.

Definition at line 62 of file SpacePointHelperFunctions.h.

◆ clustersV

std::vector<const SVDCluster*> clustersV

stores all SVDclusters of V type.

Each entry stores a pointer to its SVDCluster.

Definition at line 68 of file SpacePointHelperFunctions.h.

◆ vxdID

VxdID vxdID

Id of sensor, TODO can be removed if struct is used in a map.

Definition at line 56 of file SpacePointHelperFunctions.h.


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