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 69 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 74 of file SpacePointMakerAlg.cxx.

74 {
75 if (techIdx != other.techIdx) {
76 return static_cast<int>(techIdx) < static_cast<int>(other.techIdx);
77 }
78 if (stIdx != other.stIdx) {
79 return static_cast<int>(stIdx) < static_cast<int>(other.stIdx);
80 }
81 return eta < other.eta;
82}

Member Data Documentation

◆ eta

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

Definition at line 74 of file SpacePointMakerAlg.h.

74{0};

◆ stIdx

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

Definition at line 72 of file SpacePointMakerAlg.h.

72{StIdx_t::StUnknown};

◆ techIdx

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

Definition at line 73 of file SpacePointMakerAlg.h.

73{TechIdx_t::TechnologyUnknown};

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