7#include "GaudiKernel/MsgStream.h"
21 unsigned int count = 0;
22 std::vector<ChamberHitSummary>::const_iterator it =
24 std::vector<ChamberHitSummary>::const_iterator it_end =
26 for (; it != it_end; ++it)
27 count += it->netaHits();
34 unsigned int count = 0;
35 std::vector<ChamberHitSummary>::const_iterator it =
37 std::vector<ChamberHitSummary>::const_iterator it_end =
39 for (; it != it_end; ++it)
40 count += it->nphiHits();
47 unsigned int count = 0;
48 std::vector<ChamberHitSummary>::const_iterator it =
50 std::vector<ChamberHitSummary>::const_iterator it_end =
52 for (; it != it_end; ++it)
53 count += it->nholes();
60 unsigned int count = 0;
61 std::vector<ChamberHitSummary>::const_iterator it =
63 std::vector<ChamberHitSummary>::const_iterator it_end =
65 for (; it != it_end; ++it)
66 count += it->noutliers();
73 unsigned int count = 0;
74 std::vector<ChamberHitSummary>::const_iterator it =
76 std::vector<ChamberHitSummary>::const_iterator it_end =
78 for (; it != it_end; ++it)
79 count += it->ncloseHits();
87 <<
" nscat " << trackSum.
nscatterers() <<
" number of chambers "
89 std::vector<MuonTrackSummary::ChamberHitSummary>::const_iterator it =
91 std::vector<MuonTrackSummary::ChamberHitSummary>::const_iterator it_end =
94 for (; it != it_end; ++it) {
100 out <<
" Chamber " << chSum.
chamberId() <<
" isMdt " << chSum.
isMdt()
102 <<
" First projection: Hits " << etaP.
nhits <<
" holes " << etaP.
nholes
104 <<
" close Hits " << etaP.
ncloseHits << std::endl
105 <<
" Second projection: Hits " << phiP.
nhits <<
" holes " << phiP.
nholes
107 <<
" close Hits " << phiP.
ncloseHits << std::endl;
115 out <<
"MuonTrackSummary: Hits: eta " << trackSum.
netaHits() <<
" phi "
116 << trackSum.
nphiHits() <<
" holes " << trackSum.
nholes() <<
" outliers "
119 if (out.level() <= MSG::VERBOSE) {
120 std::vector<MuonTrackSummary::ChamberHitSummary>::const_iterator it =
122 std::vector<MuonTrackSummary::ChamberHitSummary>::const_iterator it_end =
124 for (; it != it_end; ++it) {
130 out <<
" Chamber " << chSum.
chamberId() <<
" isMdt " << chSum.
isMdt()
132 <<
" First projection: Hits " << etaP.
nhits <<
" holes "
135 <<
" Second projection: Hits " << phiP.
nhits <<
" holes "
Detailed track summary for the muon system Give access to hit counts per chamber.
std::vector< ChamberHitSummary > m_chamberHitSummary
~MuonTrackSummary()
destructor
MuonTrackSummary()
default constructor
unsigned int nscatterers() const
number of scattering centres on the track
unsigned int m_nscatterers
unsigned int npseudoMeasurements() const
number of pseudo measurements on the track
unsigned int netaHits() const
number of eta hits on the track
unsigned int ncloseHits() const
number of holes on the track
unsigned int m_npseudoMeasurements
unsigned int nphiHits() const
number of phi hits on the track
unsigned int noutliers() const
number of eta trigger hits on the track
const std::vector< ChamberHitSummary > & chamberHitSummary() const
access to the vector of chamber hit summaries on the track
unsigned int nholes() const
number of holes on the track
int count(std::string s, const std::string ®x)
count how many occurances of a regx are in a string
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
structure to hold the information for the eta/phi projection of RPC, TGC and CSC chambers and per mul...
structure to hold information per chamber in the muon system
const Projection & phiProjection() const
access to the data of the phi projection, users have to check whether this is NOT a MDT chamber first...
const Projection & etaProjection() const
access to the data of the eta projection, users have to check whether this is NOT a MDT chamber first...
const Identifier & chamberId() const
returns the chamber identifier
bool isMdt() const
returns whether this is a MDT chamber