ATLAS Offline Software
Loading...
Searching...
No Matches
MuonR4::FastReco::GlobalPatternFinder::HitPayload Struct Reference

Hit information stored during pattern building. More...

Collaboration diagram for MuonR4::FastReco::GlobalPatternFinder::HitPayload:

Public Member Functions

 HitPayload (const SpacePoint *hit, const SpacePointBucket *bucket, const SpacePointContainer *container, StIndex station, uint8_t layerNum, double R, double Z, double phi)
 Full constructor for eta hits.
 HitPayload (const SpacePoint *hit, StIndex station, uint8_t layerNum, double phi)
 Compact constructor for phi-only hits.
bool operator== (const HitPayload &other) const
 Equal operator: it compares the underlying hit.
const SpacePointoperator-> () const
 Arrow operator: it allows to access the underlying hit.
const SpacePointoperator* () const
 Dereference operator: it allows to access the underlying hit.

Public Attributes

const SpacePointhit {nullptr}
 Pointer to the underlying hit.
const SpacePointBucketbucket {nullptr}
 Pointer to the parent bucket.
const SpacePointContainercontainer {nullptr}
 Pointer to the parent container.
double R {0.}
 Global R.
double Z {0.}
 Global Z.
double phi {0.}
 Global Phi.
StIndex station {}
 Station index.
uint8_t layerNum {0u}
 Logical layer number in the sector frame.
bool isPrecision {MuonR4::isPrecisionHit(*hit)}
 Is precision hit.

Detailed Description

Hit information stored during pattern building.

Definition at line 111 of file GlobalPatternFinder.h.

Constructor & Destructor Documentation

◆ HitPayload() [1/2]

MuonR4::FastReco::GlobalPatternFinder::HitPayload::HitPayload ( const SpacePoint * hit,
const SpacePointBucket * bucket,
const SpacePointContainer * container,
StIndex station,
uint8_t layerNum,
double R,
double Z,
double phi )

Full constructor for eta hits.

Parameters
hitPointer to the underlying hit
bucketPointer to the parent bucket
containerPointer to the parent container
stationStation index
layerNumLogical layer number in the sector frame
RGlobal R
ZGlobal Z
phiGlobal Phi

Definition at line 1088 of file GlobalPatternFinder.cxx.

◆ HitPayload() [2/2]

MuonR4::FastReco::GlobalPatternFinder::HitPayload::HitPayload ( const SpacePoint * hit,
StIndex station,
uint8_t layerNum,
double phi )

Compact constructor for phi-only hits.

Parameters
hitPointer to the underlying hit
stationStation index
layerNumLogical layer number in the sector frame
phiGlobal Phi

Definition at line 1098 of file GlobalPatternFinder.cxx.

Member Function Documentation

◆ operator*()

const SpacePoint & MuonR4::FastReco::GlobalPatternFinder::HitPayload::operator* ( ) const
inline

Dereference operator: it allows to access the underlying hit.

Definition at line 161 of file GlobalPatternFinder.h.

161{ return *hit; }

◆ operator->()

const SpacePoint * MuonR4::FastReco::GlobalPatternFinder::HitPayload::operator-> ( ) const
inline

Arrow operator: it allows to access the underlying hit.

Definition at line 159 of file GlobalPatternFinder.h.

159{ return hit; }

◆ operator==()

bool MuonR4::FastReco::GlobalPatternFinder::HitPayload::operator== ( const HitPayload & other) const

Equal operator: it compares the underlying hit.

Definition at line 1103 of file GlobalPatternFinder.cxx.

1103 {
1104 return hit == other.hit;
1105}

Member Data Documentation

◆ bucket

const SpacePointBucket* MuonR4::FastReco::GlobalPatternFinder::HitPayload::bucket {nullptr}

Pointer to the parent bucket.

Definition at line 141 of file GlobalPatternFinder.h.

141{nullptr};

◆ container

const SpacePointContainer* MuonR4::FastReco::GlobalPatternFinder::HitPayload::container {nullptr}

Pointer to the parent container.

Definition at line 143 of file GlobalPatternFinder.h.

143{nullptr};

◆ hit

const SpacePoint* MuonR4::FastReco::GlobalPatternFinder::HitPayload::hit {nullptr}

Pointer to the underlying hit.

Definition at line 139 of file GlobalPatternFinder.h.

139{nullptr};

◆ isPrecision

bool MuonR4::FastReco::GlobalPatternFinder::HitPayload::isPrecision {MuonR4::isPrecisionHit(*hit)}

Is precision hit.

Definition at line 155 of file GlobalPatternFinder.h.

bool isPrecisionHit(const SpacePoint &hit)
Returns whether the uncalibrated spacepoint is a precision hit (Mdt, micromegas, stgc strips).

◆ layerNum

uint8_t MuonR4::FastReco::GlobalPatternFinder::HitPayload::layerNum {0u}

Logical layer number in the sector frame.

Definition at line 153 of file GlobalPatternFinder.h.

153{0u};
@ u
Enums for curvilinear frames.
Definition ParamDefs.h:77

◆ phi

double MuonR4::FastReco::GlobalPatternFinder::HitPayload::phi {0.}

Global Phi.

Definition at line 149 of file GlobalPatternFinder.h.

149{0.};

◆ R

double MuonR4::FastReco::GlobalPatternFinder::HitPayload::R {0.}

Global R.

Definition at line 145 of file GlobalPatternFinder.h.

145{0.};

◆ station

StIndex MuonR4::FastReco::GlobalPatternFinder::HitPayload::station {}

Station index.

Definition at line 151 of file GlobalPatternFinder.h.

151{};

◆ Z

double MuonR4::FastReco::GlobalPatternFinder::HitPayload::Z {0.}

Global Z.

Definition at line 147 of file GlobalPatternFinder.h.

147{0.};

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