![]() |
ATLAS Offline Software
|
Base class for hit struct containing hit information. More...
#include <GlobalPatternFinderDefs.h>
Public Member Functions | |
| HitPayload (const Acts::GeometryContext &gctx, const SpacePoint *sp, const SpacePointBucket *bucket, const Amg::Transform3D &localToGlobal) | |
| Constructor with parameters. | |
| Amg::Vector3D | sensorDir (const Acts::GeometryContext &gctx) const |
| Sensor direction. | |
| double | residualVariance (const Acts::GeometryContext &gctx, const Amg::Vector3D &contractionVector, const bool isProjected) const |
| Hit contribution contribution to the residual variance due to its intrinsic position uncertainty. | |
| bool | operator== (const HitPayload &other) const |
| Equal operator: it compares the underlying hit. | |
| const SpacePoint * | operator-> () const |
| Arrow operator: it allows to access the underlying hit. | |
| const SpacePoint & | operator* () const |
| Dereference operator: it allows to access the underlying hit. | |
Public Attributes | |
| Amg::Vector3D | position {Amg::Vector3D::Zero()} |
| Global position. | |
| const SpacePoint * | spacePoint {nullptr} |
| Pointer to the underlying hit. | |
| const SpacePointBucket * | bucket {nullptr} |
| Pointer to the parent bucket. | |
| double | phiCov {0.} |
| Cached angular covariance [rad^2] of the hit in the phi angle. | |
| double | stripAngle {0.} |
| Strip angle when the strips are non-orthogonal. | |
| StIndex | station {toStationIndex(spacePoint->msSector()->chamberIndex())} |
| Station index. | |
| uint8_t | locLayer {static_cast<uint8_t>(s_spSorter.sectorLayerNum(*spacePoint))} |
| Layer number in the sector frame. | |
| bool | isPrecision {isPrecisionHit(*spacePoint)} |
| Is precision hit. | |
| bool | nonOrthogonalStrips {false} |
| Are the strips non-orthogonal. | |
Base class for hit struct containing hit information.
Definition at line 19 of file GlobalPatternFinderDefs.h.
|
explicit |
Constructor with parameters.
| sp | The space point |
| bucket | The space point bucket |
| localToGlobal | The transformation from local to global coordinates |
| locLayer | The layer number in the sector frame |
| station | The station index |
Helper method to compute the contribution of a 1D measurement to the residual variance
Definition at line 32 of file GlobalPatternFinderDefs.cxx.
|
inline |
Dereference operator: it allows to access the underlying hit.
Definition at line 65 of file GlobalPatternFinderDefs.h.
|
inline |
Arrow operator: it allows to access the underlying hit.
Definition at line 63 of file GlobalPatternFinderDefs.h.
| bool MuonR4::FastReco::GlobalPatternFinder::HitPayload::operator== | ( | const HitPayload & | other | ) | const |
Equal operator: it compares the underlying hit.
Definition at line 148 of file GlobalPatternFinderDefs.cxx.
| double MuonR4::FastReco::GlobalPatternFinder::HitPayload::residualVariance | ( | const Acts::GeometryContext & | gctx, |
| const Amg::Vector3D & | contractionVector, | ||
| const bool | isProjected ) const |
Hit contribution contribution to the residual variance due to its intrinsic position uncertainty.
| contractionVector | The contraction vector to compute the residual variance |
| isProjected | Whether the hit has been projected |
If the hit is not projected, the contraction vector is the residual direction
If the hit is projected, the contraction vector is J^T * residualDirection, where J is the Jacobian of the projection. The phi measurement if available is cancelled by the projection.
Helper method to compute the contribution of a 1D measurement to the residual variance
Definition at line 106 of file GlobalPatternFinderDefs.cxx.
| Amg::Vector3D MuonR4::FastReco::GlobalPatternFinder::HitPayload::sensorDir | ( | const Acts::GeometryContext & | gctx | ) | const |
Sensor direction.
Definition at line 91 of file GlobalPatternFinderDefs.cxx.
| const SpacePointBucket* MuonR4::FastReco::GlobalPatternFinder::HitPayload::bucket {nullptr} |
| bool MuonR4::FastReco::GlobalPatternFinder::HitPayload::isPrecision {isPrecisionHit(*spacePoint)} |
Is precision hit.
Definition at line 57 of file GlobalPatternFinderDefs.h.
| uint8_t MuonR4::FastReco::GlobalPatternFinder::HitPayload::locLayer {static_cast<uint8_t>(s_spSorter.sectorLayerNum(*spacePoint))} |
Layer number in the sector frame.
Definition at line 55 of file GlobalPatternFinderDefs.h.
| bool MuonR4::FastReco::GlobalPatternFinder::HitPayload::nonOrthogonalStrips {false} |
| double MuonR4::FastReco::GlobalPatternFinder::HitPayload::phiCov {0.} |
Cached angular covariance [rad^2] of the hit in the phi angle.
Definition at line 49 of file GlobalPatternFinderDefs.h.
| Amg::Vector3D MuonR4::FastReco::GlobalPatternFinder::HitPayload::position {Amg::Vector3D::Zero()} |
Global position.
Definition at line 43 of file GlobalPatternFinderDefs.h.
| const SpacePoint* MuonR4::FastReco::GlobalPatternFinder::HitPayload::spacePoint {nullptr} |
Pointer to the underlying hit.
Definition at line 45 of file GlobalPatternFinderDefs.h.
| StIndex MuonR4::FastReco::GlobalPatternFinder::HitPayload::station {toStationIndex(spacePoint->msSector()->chamberIndex())} |
Station index.
Definition at line 53 of file GlobalPatternFinderDefs.h.
| double MuonR4::FastReco::GlobalPatternFinder::HitPayload::stripAngle {0.} |
Strip angle when the strips are non-orthogonal.
Definition at line 51 of file GlobalPatternFinderDefs.h.