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 |
ctor with full information | |
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.
|
inline |
default ctor, initializing Id to -1, weights to 0, and bools to false
Definition at line 50 of file SpacePoint2TrueHitConnectorModule.h.
|
inlineexplicit |
ctor using Id-only
Definition at line 53 of file SpacePoint2TrueHitConnectorModule.h.
|
inline |
get the number of Clusters that point to this TrueHit
Definition at line 75 of file SpacePoint2TrueHitConnectorModule.h.
|
inline |
get sum of relation weights
Definition at line 84 of file SpacePoint2TrueHitConnectorModule.h.
|
inline |
ctor with full information
ctor for single Cluster SpacePoints (SVD) or PXD SpacePoints. The information which Cluster is set can be retrieved from the SpacePoint directly for SVD in this case! 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!)
Definition at line 69 of file SpacePoint2TrueHitConnectorModule.h.
|
inline |
set the weight for the U-Cluster
Definition at line 78 of file SpacePoint2TrueHitConnectorModule.h.
|
inline |
set the weight for the V-Cluster
Definition at line 81 of file SpacePoint2TrueHitConnectorModule.h.
int m_Id |
TrueHit ID (StoreArray Index)
Definition at line 43 of file SpacePoint2TrueHitConnectorModule.h.
bool m_U |
if true, U-Cluster is used by SpacePoint
Definition at line 46 of file SpacePoint2TrueHitConnectorModule.h.
bool m_V |
if true, V-Cluster is used by SpacePoint
Definition at line 47 of file SpacePoint2TrueHitConnectorModule.h.
double m_wU |
weight of relation between U-Cluster and TrueHit
Definition at line 44 of file SpacePoint2TrueHitConnectorModule.h.
double m_wV |
weight of relation between V-Cluster and TrueHit
Definition at line 45 of file SpacePoint2TrueHitConnectorModule.h.