![]() |
Belle II Software
release-08-02-04
|
helper struct that holds information that is needed for the registration of the relation between SpacePoint and TrueHit More...
#include <SpacePoint2TrueHitConnectorModule.h>
Public Member Functions | |
| TrueHitInfo () | |
| default ctor, initializing Id to -1, weights to 0, and bools to false | |
| TrueHitInfo (int Id) | |
| ctor using Id-only | |
| bool | operator< (const TrueHitInfo &b) const |
| comparison operator ensuring strict weak ordering sorts by the number of Clusters first, and then by the sum of the weights to this Cluster CAUTION: actually sorts in descending order!!! (so is rather an operator> than the other way round!) | |
| short | getNClusters () const |
| get the number of Clusters that point to this TrueHit | |
| void | setUWeight (double weight) |
| set the weight for the U-Cluster | |
| void | setVWeight (double weight) |
| set the weight for the V-Cluster | |
| double | getWeightSum () const |
| get sum of relation weights | |
Public Attributes | |
| int | m_Id |
| TrueHit ID (StoreArray Index) | |
| double | m_wU |
| weight of relation between U-Cluster and TrueHit | |
| double | m_wV |
| weight of relation between V-Cluster and TrueHit | |
| bool | m_U |
| if true, U-Cluster is used by SpacePoint | |
| bool | m_V |
| if true, V-Cluster is used by SpacePoint | |
helper struct that holds information that is needed for the registration of the relation between SpacePoint and TrueHit
Definition at line 41 of file SpacePoint2TrueHitConnectorModule.h.