ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
Muon::IMuonSegmentHitSummaryTool::EtaPhiHitCount Struct Reference

#include <IMuonSegmentHitSummaryTool.h>

Collaboration diagram for Muon::IMuonSegmentHitSummaryTool::EtaPhiHitCount:

Public Member Functions

 EtaPhiHitCount ()=default
 
uint8_t operator() () const
 
bool hasEtaAndPhi () const
 

Public Attributes

uint8_t nphiHits {0}
 
uint8_t netaHits {0}
 

Detailed Description

Definition at line 18 of file IMuonSegmentHitSummaryTool.h.

Constructor & Destructor Documentation

◆ EtaPhiHitCount()

Muon::IMuonSegmentHitSummaryTool::EtaPhiHitCount::EtaPhiHitCount ( )
default

Member Function Documentation

◆ hasEtaAndPhi()

bool Muon::IMuonSegmentHitSummaryTool::EtaPhiHitCount::hasEtaAndPhi ( ) const
inline

Definition at line 23 of file IMuonSegmentHitSummaryTool.h.

23 {return nphiHits > 0 && netaHits > 0; }

◆ operator()()

uint8_t Muon::IMuonSegmentHitSummaryTool::EtaPhiHitCount::operator() ( ) const
inline

Definition at line 22 of file IMuonSegmentHitSummaryTool.h.

22 {return nphiHits + netaHits; }

Member Data Documentation

◆ netaHits

uint8_t Muon::IMuonSegmentHitSummaryTool::EtaPhiHitCount::netaHits {0}

Definition at line 21 of file IMuonSegmentHitSummaryTool.h.

◆ nphiHits

uint8_t Muon::IMuonSegmentHitSummaryTool::EtaPhiHitCount::nphiHits {0}

Definition at line 20 of file IMuonSegmentHitSummaryTool.h.


The documentation for this struct was generated from the following file:
Muon::IMuonSegmentHitSummaryTool::EtaPhiHitCount::netaHits
uint8_t netaHits
Definition: IMuonSegmentHitSummaryTool.h:21
Muon::IMuonSegmentHitSummaryTool::EtaPhiHitCount::nphiHits
uint8_t nphiHits
Definition: IMuonSegmentHitSummaryTool.h:20