ATLAS Offline Software
Classes | Public Member Functions | Private Attributes | Friends | List of all members
Trk::MuonTrackSummary Class Reference

Detailed track summary for the muon system Give access to hit counts per chamber. More...

#include <MuonTrackSummary.h>

Collaboration diagram for Trk::MuonTrackSummary:

Classes

struct  ChamberHitSummary
 structure to hold information per chamber in the muon system More...
 

Public Member Functions

 MuonTrackSummary ()
 default constructor More...
 
 ~MuonTrackSummary ()
 destructor More...
 
unsigned int netaHits () const
 number of eta hits on the track More...
 
unsigned int nphiHits () const
 number of phi hits on the track More...
 
unsigned int noutliers () const
 number of eta trigger hits on the track More...
 
unsigned int nholes () const
 number of holes on the track More...
 
unsigned int ncloseHits () const
 number of holes on the track More...
 
unsigned int nscatterers () const
 number of scattering centres on the track More...
 
unsigned int npseudoMeasurements () const
 number of pseudo measurements on the track More...
 
const std::vector< ChamberHitSummary > & chamberHitSummary () const
 access to the vector of chamber hit summaries on the track More...
 

Private Attributes

unsigned int m_nscatterers
 
unsigned int m_npseudoMeasurements
 
std::vector< ChamberHitSummarym_chamberHitSummary
 

Friends

class Muon::MuonTrackSummaryHelperTool
 
class ::MuonTrackSummaryCnv_p1
 
class ::MuonTrackSummaryCnv_p2
 
class ::TrackSummaryCnv_p2
 

Detailed Description

Detailed track summary for the muon system Give access to hit counts per chamber.

Definition at line 25 of file MuonTrackSummary.h.

Constructor & Destructor Documentation

◆ MuonTrackSummary()

Trk::MuonTrackSummary::MuonTrackSummary ( )

default constructor

Definition at line 10 of file MuonTrackSummary.cxx.

11  : m_nscatterers(0)
13 {}

◆ ~MuonTrackSummary()

Trk::MuonTrackSummary::~MuonTrackSummary ( )
default

destructor

Member Function Documentation

◆ chamberHitSummary()

const std::vector<ChamberHitSummary>& Trk::MuonTrackSummary::chamberHitSummary ( ) const
inline

access to the vector of chamber hit summaries on the track

Definition at line 148 of file MuonTrackSummary.h.

148 { return m_chamberHitSummary; }

◆ ncloseHits()

unsigned int Trk::MuonTrackSummary::ncloseHits ( ) const

number of holes on the track

Definition at line 71 of file MuonTrackSummary.cxx.

72 {
73  unsigned int count = 0;
74  std::vector<ChamberHitSummary>::const_iterator it =
75  m_chamberHitSummary.begin();
76  std::vector<ChamberHitSummary>::const_iterator it_end =
77  m_chamberHitSummary.end();
78  for (; it != it_end; ++it)
79  count += it->ncloseHits();
80  return count;
81 }

◆ netaHits()

unsigned int Trk::MuonTrackSummary::netaHits ( ) const

number of eta hits on the track

Definition at line 18 of file MuonTrackSummary.cxx.

19 {
20 
21  unsigned int count = 0;
22  std::vector<ChamberHitSummary>::const_iterator it =
23  m_chamberHitSummary.begin();
24  std::vector<ChamberHitSummary>::const_iterator it_end =
25  m_chamberHitSummary.end();
26  for (; it != it_end; ++it)
27  count += it->netaHits();
28  return count;
29 }

◆ nholes()

unsigned int Trk::MuonTrackSummary::nholes ( ) const

number of holes on the track

Definition at line 45 of file MuonTrackSummary.cxx.

46 {
47  unsigned int count = 0;
48  std::vector<ChamberHitSummary>::const_iterator it =
49  m_chamberHitSummary.begin();
50  std::vector<ChamberHitSummary>::const_iterator it_end =
51  m_chamberHitSummary.end();
52  for (; it != it_end; ++it)
53  count += it->nholes();
54  return count;
55 }

◆ noutliers()

unsigned int Trk::MuonTrackSummary::noutliers ( ) const

number of eta trigger hits on the track

Definition at line 58 of file MuonTrackSummary.cxx.

59 {
60  unsigned int count = 0;
61  std::vector<ChamberHitSummary>::const_iterator it =
62  m_chamberHitSummary.begin();
63  std::vector<ChamberHitSummary>::const_iterator it_end =
64  m_chamberHitSummary.end();
65  for (; it != it_end; ++it)
66  count += it->noutliers();
67  return count;
68 }

◆ nphiHits()

unsigned int Trk::MuonTrackSummary::nphiHits ( ) const

number of phi hits on the track

Definition at line 32 of file MuonTrackSummary.cxx.

33 {
34  unsigned int count = 0;
35  std::vector<ChamberHitSummary>::const_iterator it =
36  m_chamberHitSummary.begin();
37  std::vector<ChamberHitSummary>::const_iterator it_end =
38  m_chamberHitSummary.end();
39  for (; it != it_end; ++it)
40  count += it->nphiHits();
41  return count;
42 }

◆ npseudoMeasurements()

unsigned int Trk::MuonTrackSummary::npseudoMeasurements ( ) const
inline

number of pseudo measurements on the track

Definition at line 145 of file MuonTrackSummary.h.

145 { return m_npseudoMeasurements; }

◆ nscatterers()

unsigned int Trk::MuonTrackSummary::nscatterers ( ) const
inline

number of scattering centres on the track

Definition at line 142 of file MuonTrackSummary.h.

142 { return m_nscatterers; }

Friends And Related Function Documentation

◆ ::MuonTrackSummaryCnv_p1

friend class ::MuonTrackSummaryCnv_p1
friend

Definition at line 151 of file MuonTrackSummary.h.

◆ ::MuonTrackSummaryCnv_p2

friend class ::MuonTrackSummaryCnv_p2
friend

Definition at line 152 of file MuonTrackSummary.h.

◆ ::TrackSummaryCnv_p2

friend class ::TrackSummaryCnv_p2
friend

Definition at line 153 of file MuonTrackSummary.h.

◆ Muon::MuonTrackSummaryHelperTool

friend class Muon::MuonTrackSummaryHelperTool
friend

Definition at line 28 of file MuonTrackSummary.h.

Member Data Documentation

◆ m_chamberHitSummary

std::vector<ChamberHitSummary> Trk::MuonTrackSummary::m_chamberHitSummary
private

Definition at line 157 of file MuonTrackSummary.h.

◆ m_npseudoMeasurements

unsigned int Trk::MuonTrackSummary::m_npseudoMeasurements
private

Definition at line 156 of file MuonTrackSummary.h.

◆ m_nscatterers

unsigned int Trk::MuonTrackSummary::m_nscatterers
private

Definition at line 155 of file MuonTrackSummary.h.


The documentation for this class was generated from the following files:
Trk::MuonTrackSummary::m_npseudoMeasurements
unsigned int m_npseudoMeasurements
Definition: MuonTrackSummary.h:156
skel.it
it
Definition: skel.GENtoEVGEN.py:396
XMLtoHeader.count
count
Definition: XMLtoHeader.py:85
Trk::MuonTrackSummary::m_chamberHitSummary
std::vector< ChamberHitSummary > m_chamberHitSummary
Definition: MuonTrackSummary.h:157
Trk::MuonTrackSummary::m_nscatterers
unsigned int m_nscatterers
Definition: MuonTrackSummary.h:155