ATLAS Offline Software
Loading...
Searching...
No Matches
MuonR4::SpacePointMakerAlg::SpacePointStatistics::FieldKey Struct Reference

Helper struct to define the counting categories. More...

Collaboration diagram for MuonR4::SpacePointMakerAlg::SpacePointStatistics::FieldKey:

Public Types

using StIdx_t = Muon::MuonStationIndex::StIndex
using TechIdx_t = Muon::MuonStationIndex::TechnologyIndex

Public Member Functions

bool operator< (const FieldKey &other) const
 ################################################################ SpacePointStatistics ###############################################################

Public Attributes

StIdx_t stIdx {StIdx_t::StUnknown}
TechIdx_t techIdx {TechIdx_t::TechnologyUnknown}
int eta {0}

Detailed Description

Helper struct to define the counting categories.

Definition at line 82 of file SpacePointMakerAlg.h.

Member Typedef Documentation

◆ StIdx_t

◆ TechIdx_t

Member Function Documentation

◆ operator<()

bool MuonR4::SpacePointMakerAlg::SpacePointStatistics::FieldKey::operator< ( const FieldKey & other) const

################################################################ SpacePointStatistics ###############################################################

Definition at line 95 of file SpacePointMakerAlg.cxx.

95 {
96 if (techIdx != other.techIdx) {
97 return static_cast<int>(techIdx) < static_cast<int>(other.techIdx);
98 }
99 if (stIdx != other.stIdx) {
100 return static_cast<int>(stIdx) < static_cast<int>(other.stIdx);
101 }
102 return eta < other.eta;
103}

Member Data Documentation

◆ eta

int MuonR4::SpacePointMakerAlg::SpacePointStatistics::FieldKey::eta {0}

Definition at line 87 of file SpacePointMakerAlg.h.

87{0};

◆ stIdx

StIdx_t MuonR4::SpacePointMakerAlg::SpacePointStatistics::FieldKey::stIdx {StIdx_t::StUnknown}

Definition at line 85 of file SpacePointMakerAlg.h.

85{StIdx_t::StUnknown};

◆ techIdx

TechIdx_t MuonR4::SpacePointMakerAlg::SpacePointStatistics::FieldKey::techIdx {TechIdx_t::TechnologyUnknown}

Definition at line 86 of file SpacePointMakerAlg.h.

86{TechIdx_t::TechnologyUnknown};

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