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

Small wrapper for candidate hits used to build patterns. More...

Collaboration diagram for MuonR4::FastReco::GlobalPatternFinder::CandidateHit:

Public Member Functions

const HitPayloadoperator-> () const
const HitPayloadoperator* () const
const SpacePointsp () const
bool operator== (const CandidateHit &other) const
bool operator== (const HitPayload &other) const

Public Attributes

const HitPayloadhit {nullptr}
 Store locally most frequently accessed data to avoid frequent pointer indirection.
float R {0.f}
float Z {0.f}
StIndex station {}
uint8_t globLayer {0u}
 Global measurement layer number.
uint8_t sector {0u}
 Sector.
bool isStraw {false}
 Is straw hit.

Detailed Description

Small wrapper for candidate hits used to build patterns.

This is needed because the global layer number cannot be defined globally, but it can be computed given a set of hits.

Definition at line 150 of file GlobalPatternFinder.h.

Member Function Documentation

◆ operator*()

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

Definition at line 165 of file GlobalPatternFinder.h.

165{ return *hit; }
const HitPayload * hit
Store locally most frequently accessed data to avoid frequent pointer indirection.

◆ operator->()

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

Definition at line 164 of file GlobalPatternFinder.h.

164{ return hit; }

◆ operator==() [1/2]

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

Definition at line 167 of file GlobalPatternFinder.h.

167{ return *hit == *other.hit; }

◆ operator==() [2/2]

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

Definition at line 168 of file GlobalPatternFinder.h.

168{ return *hit == other; }

◆ sp()

const SpacePoint * MuonR4::FastReco::GlobalPatternFinder::CandidateHit::sp ( ) const
inline

Definition at line 166 of file GlobalPatternFinder.h.

166{ return hit->sp(); }

Member Data Documentation

◆ globLayer

uint8_t MuonR4::FastReco::GlobalPatternFinder::CandidateHit::globLayer {0u}

Global measurement layer number.

Definition at line 157 of file GlobalPatternFinder.h.

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

◆ hit

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

Store locally most frequently accessed data to avoid frequent pointer indirection.

Definition at line 152 of file GlobalPatternFinder.h.

152{nullptr};

◆ isStraw

bool MuonR4::FastReco::GlobalPatternFinder::CandidateHit::isStraw {false}

Is straw hit.

Definition at line 161 of file GlobalPatternFinder.h.

161{false};

◆ R

float MuonR4::FastReco::GlobalPatternFinder::CandidateHit::R {0.f}

Definition at line 153 of file GlobalPatternFinder.h.

153{0.f};

◆ sector

uint8_t MuonR4::FastReco::GlobalPatternFinder::CandidateHit::sector {0u}

Sector.

Definition at line 159 of file GlobalPatternFinder.h.

159{0u};

◆ station

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

Definition at line 155 of file GlobalPatternFinder.h.

155{};

◆ Z

float MuonR4::FastReco::GlobalPatternFinder::CandidateHit::Z {0.f}

Definition at line 154 of file GlobalPatternFinder.h.

154{0.f};

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