#include <MuonCalibTrackSummary.h>
Definition at line 17 of file MuonCalibTrackSummary.h.
◆ dump()
std::string MuonCalib::MuonCalibTrackSummary::dump |
( |
| ) |
const |
dump counts to string
Definition at line 14 of file MuonCalibTrackSummary.cxx.
15 MuonFixedIdPrinter printer{};
17 std::ostringstream sout;
20 if (
hasMuon()) sout << std::endl;
28 <<
" scatters " <<
nscatters << std::endl;
31 sout.setf(std::ios::left);
33 std::vector<ChamberHitSummary>::const_iterator chit_end =
chamberHitSummary.end();
34 std::vector<ChamberHitSummary>::const_iterator chit_last = chit_end - 1;
35 for (; chit != chit_end; ++chit) {
36 const MuonFixedId& chId = chit->chId;
37 bool isMdt = chit->isMdt();
39 sout <<
" " << std::setw(35) << printer.chamberIdentifier(chId);
41 const ChamberHitSummary::Projection&
first = chit->etaProjection();
42 const ChamberHitSummary::Projection&
second = chit->phiProjection();
44 std::string firstString = isMdt ?
"ml1 " :
"eta ";
45 std::string secondString = isMdt ?
"ml2 " :
"phi ";
47 sout <<
" Hits: " << firstString << std::setw(3) <<
first.nhits <<
" " << secondString << std::setw(3) <<
second.nhits;
51 if (
first.nholes != 0) sout << firstString << std::setw(3) <<
first.nholes;
53 if (
first.nholes != 0) sout <<
" ";
54 sout << secondString << std::setw(3) <<
second.nholes;
58 sout <<
" Outliers: ";
59 if (
first.noutliers != 0) sout << firstString << std::setw(3) <<
first.noutliers <<
" ";
60 if (
second.noutliers != 0) {
61 if (
first.noutliers != 0) sout <<
" ";
62 sout << secondString << std::setw(3) <<
second.noutliers;
68 if (
first.ndeltas != 0) sout << firstString << std::setw(3) <<
first.ndeltas <<
" ";
70 if (
first.ndeltas != 0) sout <<
" ";
71 sout << secondString << std::setw(3) <<
second.ndeltas;
75 if (chit != chit_last) sout << std::endl;
◆ hasEndcap()
bool MuonCalib::MuonCalibTrackSummary::hasEndcap |
( |
| ) |
const |
|
inline |
◆ hasId()
bool MuonCalib::MuonCalibTrackSummary::hasId |
( |
| ) |
const |
|
inline |
◆ hasMuon()
bool MuonCalib::MuonCalibTrackSummary::hasMuon |
( |
| ) |
const |
|
inline |
◆ ncscCh()
unsigned int MuonCalib::MuonCalibTrackSummary::ncscCh |
( |
bool |
phi | ) |
const |
Definition at line 136 of file MuonCalibTrackSummary.cxx.
137 unsigned int nCh = 0;
139 std::vector<ChamberHitSummary>::const_iterator chit_end =
chamberHitSummary.end();
140 for (; chit != chit_end; ++chit) {
141 if (chit->chId.is_csc()) {
142 if (
phi && chit->nphiHits() > 0)
144 else if (!
phi && chit->netaHits() > 0)
◆ ncscEtaPhiCh()
unsigned int MuonCalib::MuonCalibTrackSummary::ncscEtaPhiCh |
( |
| ) |
const |
Definition at line 175 of file MuonCalibTrackSummary.cxx.
176 unsigned int nCh = 0;
178 std::vector<ChamberHitSummary>::const_iterator chit_end =
chamberHitSummary.end();
179 for (; chit != chit_end; ++chit) {
180 if (chit->chId.is_csc()) {
181 if (chit->nphiHits() > 0 && chit->netaHits() > 0) ++nCh;
◆ netaTrigHits()
unsigned int MuonCalib::MuonCalibTrackSummary::netaTrigHits |
( |
| ) |
const |
|
inline |
◆ nmdtCh()
unsigned int MuonCalib::MuonCalibTrackSummary::nmdtCh |
( |
| ) |
const |
access to number of chambers per technology on the track
Definition at line 96 of file MuonCalibTrackSummary.cxx.
99 std::vector<ChamberHitSummary>::const_iterator chit_end =
chamberHitSummary.end();
100 for (; chit != chit_end; ++chit) {
101 if (chit->chId.is_mdt()) ++nCh;
◆ nmdtHitsPerMl()
unsigned int MuonCalib::MuonCalibTrackSummary::nmdtHitsPerMl |
( |
int |
ml | ) |
const |
access to number of MDT hits per ml (ml=1,2)
Definition at line 81 of file MuonCalibTrackSummary.cxx.
82 unsigned int nhits = 0;
84 std::vector<ChamberHitSummary>::const_iterator chit_end =
chamberHitSummary.end();
85 for (; chit != chit_end; ++chit) {
86 if (chit->chId.is_mdt()) {
88 nhits += chit->nMdtHitsMl1();
90 nhits += chit->nMdtHitsMl2();
◆ nphiTrigHits()
unsigned int MuonCalib::MuonCalibTrackSummary::nphiTrigHits |
( |
| ) |
const |
|
inline |
◆ nrpcCh()
unsigned int MuonCalib::MuonCalibTrackSummary::nrpcCh |
( |
bool |
phi | ) |
const |
Definition at line 106 of file MuonCalibTrackSummary.cxx.
107 unsigned int nCh = 0;
109 std::vector<ChamberHitSummary>::const_iterator chit_end =
chamberHitSummary.end();
110 for (; chit != chit_end; ++chit) {
111 if (chit->chId.is_rpc()) {
112 if (
phi && chit->nphiHits() > 0)
114 else if (!
phi && chit->netaHits() > 0)
◆ nrpcEtaPhiCh()
unsigned int MuonCalib::MuonCalibTrackSummary::nrpcEtaPhiCh |
( |
| ) |
const |
Definition at line 151 of file MuonCalibTrackSummary.cxx.
152 unsigned int nCh = 0;
154 std::vector<ChamberHitSummary>::const_iterator chit_end =
chamberHitSummary.end();
155 for (; chit != chit_end; ++chit) {
156 if (chit->chId.is_rpc()) {
157 if (chit->nphiHits() > 0 && chit->netaHits() > 0) ++nCh;
◆ ntgcCh()
unsigned int MuonCalib::MuonCalibTrackSummary::ntgcCh |
( |
bool |
phi | ) |
const |
Definition at line 121 of file MuonCalibTrackSummary.cxx.
122 unsigned int nCh = 0;
124 std::vector<ChamberHitSummary>::const_iterator chit_end =
chamberHitSummary.end();
125 for (; chit != chit_end; ++chit) {
126 if (chit->chId.is_tgc()) {
127 if (
phi && chit->nphiHits() > 0)
129 else if (!
phi && chit->netaHits() > 0)
◆ ntgcEtaPhiCh()
unsigned int MuonCalib::MuonCalibTrackSummary::ntgcEtaPhiCh |
( |
| ) |
const |
Definition at line 163 of file MuonCalibTrackSummary.cxx.
164 unsigned int nCh = 0;
166 std::vector<ChamberHitSummary>::const_iterator chit_end =
chamberHitSummary.end();
167 for (; chit != chit_end; ++chit) {
168 if (chit->chId.is_tgc()) {
169 if (chit->nphiHits() > 0 && chit->netaHits() > 0) ++nCh;
◆ ntrt()
unsigned int MuonCalib::MuonCalibTrackSummary::ntrt |
( |
| ) |
const |
|
inline |
◆ chamberHitSummary
◆ goodPrecisionStationLayers
set of precision layers with (MDT: two multi layers, CSC: at least 2 eta and phi hits) on the track
Definition at line 119 of file MuonCalibTrackSummary.h.
◆ hasBarrel
bool MuonCalib::MuonCalibTrackSummary::hasBarrel {false} |
◆ hasBarrelLayersWithRPC
bool MuonCalib::MuonCalibTrackSummary::hasBarrelLayersWithRPC {false} |
◆ hasEndcapA
bool MuonCalib::MuonCalibTrackSummary::hasEndcapA {false} |
◆ hasEndcapC
bool MuonCalib::MuonCalibTrackSummary::hasEndcapC {false} |
◆ hasEndcapLayersWithTGC
bool MuonCalib::MuonCalibTrackSummary::hasEndcapLayersWithTGC {false} |
◆ isTrack
bool MuonCalib::MuonCalibTrackSummary::isTrack {false} |
◆ ncscEtaHits
unsigned int MuonCalib::MuonCalibTrackSummary::ncscEtaHits {0} |
◆ ncscPhiHits
unsigned int MuonCalib::MuonCalibTrackSummary::ncscPhiHits {0} |
◆ nhits
unsigned int MuonCalib::MuonCalibTrackSummary::nhits {0} |
◆ nhitsLowerHemisphere
unsigned int MuonCalib::MuonCalibTrackSummary::nhitsLowerHemisphere {0} |
◆ nhitsUpperHemisphere
unsigned int MuonCalib::MuonCalibTrackSummary::nhitsUpperHemisphere {0} |
◆ nholes
unsigned int MuonCalib::MuonCalibTrackSummary::nholes {0} |
◆ nmdtHits
unsigned int MuonCalib::MuonCalibTrackSummary::nmdtHits {0} |
◆ nmdtHitsBelowADCCut
unsigned int MuonCalib::MuonCalibTrackSummary::nmdtHitsBelowADCCut {0} |
◆ noutliers
unsigned int MuonCalib::MuonCalibTrackSummary::noutliers {0} |
◆ npixel
unsigned int MuonCalib::MuonCalibTrackSummary::npixel {0} |
◆ npseudo
unsigned int MuonCalib::MuonCalibTrackSummary::npseudo {0} |
◆ nrpcEtaHits
unsigned int MuonCalib::MuonCalibTrackSummary::nrpcEtaHits {0} |
◆ nrpcPhiHits
unsigned int MuonCalib::MuonCalibTrackSummary::nrpcPhiHits {0} |
◆ nscatters
unsigned int MuonCalib::MuonCalibTrackSummary::nscatters {0} |
◆ nsct
unsigned int MuonCalib::MuonCalibTrackSummary::nsct {0} |
◆ ntgcEtaHits
unsigned int MuonCalib::MuonCalibTrackSummary::ntgcEtaHits {0} |
◆ ntgcPhiHits
unsigned int MuonCalib::MuonCalibTrackSummary::ntgcPhiHits {0} |
◆ ntrtBarrel
unsigned int MuonCalib::MuonCalibTrackSummary::ntrtBarrel {0} |
◆ ntrtEndcap
unsigned int MuonCalib::MuonCalibTrackSummary::ntrtEndcap {0} |
◆ ntubeHits
unsigned int MuonCalib::MuonCalibTrackSummary::ntubeHits {0} |
◆ phiEtaStationLayers
◆ phiStationLayers
◆ precisionStationLayers
The documentation for this class was generated from the following files: