ATLAS Offline Software
Classes | Public Member Functions | Public Attributes | Private Attributes | List of all members
MuonCalib::MuonCalibTrackSummary::ChamberHitSummary Struct Reference

#include <MuonCalibTrackSummary.h>

Collaboration diagram for MuonCalib::MuonCalibTrackSummary::ChamberHitSummary:

Classes

struct  Projection
 

Public Member Functions

 ChamberHitSummary (MuonFixedId chID)
 
bool isMdt () const
 
int nhits () const
 
int nholes () const
 
int noutliers () const
 
int ndeltas () const
 
int netaHits () const
 
int nphiHits () const
 
int nMdtHitsMl1 () const
 
int nMdtHitsMl2 () const
 
ProjectionetaProjection ()
 
ProjectionphiProjection ()
 
const ProjectionetaProjection () const
 
const ProjectionphiProjection () const
 

Public Attributes

MuonFixedId chId {}
 

Private Attributes

Projection m_first
 
Projection m_second
 

Detailed Description

Definition at line 19 of file MuonCalibTrackSummary.h.

Constructor & Destructor Documentation

◆ ChamberHitSummary()

MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::ChamberHitSummary ( MuonFixedId  chID)
inline

Definition at line 27 of file MuonCalibTrackSummary.h.

27 : chId{chID} {}

Member Function Documentation

◆ etaProjection() [1/2]

Projection& MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::etaProjection ( )
inline

Definition at line 44 of file MuonCalibTrackSummary.h.

44 { return m_first; }

◆ etaProjection() [2/2]

const Projection& MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::etaProjection ( ) const
inline

Definition at line 46 of file MuonCalibTrackSummary.h.

46 { return m_first; }

◆ isMdt()

bool MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::isMdt ( ) const
inline

Definition at line 30 of file MuonCalibTrackSummary.h.

30 { return chId.is_mdt(); }

◆ ndeltas()

int MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::ndeltas ( ) const
inline

Definition at line 35 of file MuonCalibTrackSummary.h.

35 { return m_first.ndeltas + m_second.ndeltas; }

◆ netaHits()

int MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::netaHits ( ) const
inline

Definition at line 37 of file MuonCalibTrackSummary.h.

37 { return isMdt() ? nhits() : m_first.nhits; }

◆ nhits()

int MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::nhits ( ) const
inline

Definition at line 32 of file MuonCalibTrackSummary.h.

32 { return m_first.nhits + m_second.nhits; }

◆ nholes()

int MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::nholes ( ) const
inline

Definition at line 33 of file MuonCalibTrackSummary.h.

33 { return m_first.nholes + m_second.nholes; }

◆ nMdtHitsMl1()

int MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::nMdtHitsMl1 ( ) const
inline

Definition at line 40 of file MuonCalibTrackSummary.h.

40 { return isMdt() ? m_first.nhits : 0; }

◆ nMdtHitsMl2()

int MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::nMdtHitsMl2 ( ) const
inline

Definition at line 41 of file MuonCalibTrackSummary.h.

41 { return isMdt() ? m_second.nhits : 0; }

◆ noutliers()

int MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::noutliers ( ) const
inline

Definition at line 34 of file MuonCalibTrackSummary.h.

34 { return m_first.noutliers + m_second.noutliers; }

◆ nphiHits()

int MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::nphiHits ( ) const
inline

Definition at line 38 of file MuonCalibTrackSummary.h.

38 { return isMdt() ? 0 : m_second.nhits; }

◆ phiProjection() [1/2]

Projection& MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::phiProjection ( )
inline

Definition at line 45 of file MuonCalibTrackSummary.h.

45 { return m_second; }

◆ phiProjection() [2/2]

const Projection& MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::phiProjection ( ) const
inline

Definition at line 47 of file MuonCalibTrackSummary.h.

47 { return m_second; }

Member Data Documentation

◆ chId

MuonFixedId MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::chId {}

Definition at line 29 of file MuonCalibTrackSummary.h.

◆ m_first

Projection MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::m_first
private

Definition at line 50 of file MuonCalibTrackSummary.h.

◆ m_second

Projection MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::m_second
private

Definition at line 51 of file MuonCalibTrackSummary.h.


The documentation for this struct was generated from the following file:
MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::nhits
int nhits() const
Definition: MuonCalibTrackSummary.h:32
MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::Projection::nhits
int nhits
Definition: MuonCalibTrackSummary.h:21
MuonCalib::MuonFixedId::is_mdt
bool is_mdt() const
Definition: MuonFixedId.h:559
MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::m_second
Projection m_second
Definition: MuonCalibTrackSummary.h:51
MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::m_first
Projection m_first
Definition: MuonCalibTrackSummary.h:50
MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::Projection::nholes
int nholes
Definition: MuonCalibTrackSummary.h:22
MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::chId
MuonFixedId chId
Definition: MuonCalibTrackSummary.h:29
MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::Projection::noutliers
int noutliers
Definition: MuonCalibTrackSummary.h:23
MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::isMdt
bool isMdt() const
Definition: MuonCalibTrackSummary.h:30
MuonCalib::MuonCalibTrackSummary::ChamberHitSummary::Projection::ndeltas
int ndeltas
Definition: MuonCalibTrackSummary.h:24