"MarlinReco"
1.32.0
|
======= VXDClusterParameters ==========
Holds cluster parameters for a VXD hit - to be attached at runtime to the SimTrackerHit.
More...
#include <VXDClusterParameters.h>
Public Member Functions | |
VXDClusterParameters (const gear::Vector3D &localPos, const gear::Vector3D &a, const gear::Vector3D &b, int lay, int lad) | |
The standard constructor: takes the position of the hit in ladder coordinates and the cluster axes in ladder coordinates. More... | |
gear::Vector3D | getClusterPosition () |
gear::Vector3D | getClusterAxisA () |
gear::Vector3D | getClusterAxisB () |
int | getLayerId () |
int | getLadderId () |
bool | isPointInClusterEllipse (const gear::Vector3D &pos) |
True, if the 2D projection to the ladder surface of the given position is within the ellipse defined by the two cluster axes. | |
Protected Attributes | |
gear::Vector3D | _localPos {} |
gear::Vector3D | _cluAxisA {} |
gear::Vector3D | _cluAxisB {} |
int | _layerId {} |
int | _ladderId {} |
======= VXDClusterParameters ==========
Holds cluster parameters for a VXD hit - to be attached at runtime to the SimTrackerHit.
Cluster is defined by two (principal component) axis and the corresponding extensions (eigenvalues).
VXDClusterParameters::VXDClusterParameters | ( | const gear::Vector3D & | localPos, |
const gear::Vector3D & | a, | ||
const gear::Vector3D & | b, | ||
int | lay, | ||
int | lad | ||
) |
The standard constructor: takes the position of the hit in ladder coordinates and the cluster axes in ladder coordinates.
Also store the layerId and ladderId for saving cpu time later.