ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCalib::MuonCalibExtendedSegment Class Reference

A segment plus everything one can dream of knowing about it. More...

#include <MuonCalibExtendedSegment.h>

Inheritance diagram for MuonCalib::MuonCalibExtendedSegment:
Collaboration diagram for MuonCalib::MuonCalibExtendedSegment:

Public Types

using MdtHitPtr = std::shared_ptr<MdtCalibHitBase>
 typedef for a collection of MdtCalibHitBase s
using MdtHitVec = std::vector<MdtHitPtr>
using CscHitPtr = std::shared_ptr<const CscCalibHitBase>
 typedef for a collection of CscCalibHitBase s
using CscHitVec = std::vector<CscHitPtr>
using RpcHitPtr = std::shared_ptr<const RpcCalibHitBase>
 typedef for a collection of RpcCalibHitBase s
using RpcHitVec = std::vector<RpcHitPtr>
using TgcHitPtr = std::shared_ptr<const TgcCalibHitBase>
 typedef for a collection of TgcCalibHitBase s
using TgcHitVec = std::vector<TgcHitPtr>

Public Member Functions

 MuonCalibExtendedSegment (const MuonCalibSegment &segment)
 Constructor taking input track.
const MuonCalibTrackSummarysummary () const
 access to hit counts
const IdSetidSet () const
 access hit identifier map (hits give the MuonFixedId
std::string dump () const
 dump all information to string
std::string dumpPars () const
 dump track parameters to string
std::string dumpSummary () const
 dump track summary to string
const MuonCalibRawHitAssociationMaprawHitAssociationMap () const
 access to list of tracks the segment was associated to
MuonCalibRawHitAssociationMaprawHitAssociationMap ()
void set (double chi2, const Amg::Vector3D &pos, const Amg::Vector3D &dir)
void setSegment (const Amg::Vector3D &pos, const Amg::Vector3D &dir)
void setErrors (double error_dy0, double error_dtheta)
 sets Local errors on MuonCalibSegment parameters
void setAuthor (int author)
 sets author field
void setFittedT0 (double t0)
 sets t0 field
unsigned int hitsOnTrack () const
 retrieve the sum of all XxxCalibHits assigned to the MuonCalibSegment
unsigned int closeHits () const
 retrieve the sum of all hits close to the MuonCalibSegment.
unsigned int mdtHitsOnTrack () const
 retrieve the number of MdtCalibHitBase s assigned to this segment
unsigned int mdtCloseHits () const
 retrieve the number of nearby mdt hits.
unsigned int cscHitsOnTrack () const
 retrieve the number of CscCalibHitBase s assigned to this segment
unsigned int cscCloseHits () const
 retrieve the number of nearby csc hits.
unsigned int rpcHitsOnTrack () const
 retrieve the number of RpcCalibHitBase s assigned to this segment
unsigned int rpcCloseHits () const
 retrieve the number of nearby rpc hits.
unsigned int tgcHitsOnTrack () const
 retrieve the number of TgcCalibHitBase s assigned to this segment
unsigned int tgcCloseHits () const
 retrieve the number of nearby tgc hits.
unsigned int hitsPerML (int ML) const
 number of hits per multilayer of this segment
unsigned int missedHits () const
 number of missed hits of this segment (out of time + empty tubes)
unsigned int deltaHits () const
 number of delta hits of this segment
unsigned int emptyTubes () const
 number of empty tubes of this segment
unsigned int outOfTimeHits () const
 number of hits out of time of this segment
const MdtHitVecmdtHOT () const
 retrieve the full set of MdtCalibHitBase s assigned to this segment
MdtHitVecmdtHOT ()
 retrieve the full set of MdtCalibHitBase s assigned to this segment
const MdtHitVecmdtClose () const
 retrieve the full set of nearby mdt hits of this segment.
MdtHitVecmdtClose ()
 retrieve the full set of nearby mdt hits of this segment.
const CscHitVeccscHOT () const
 retrieve the full set of CscCalibHitBase s assigned to this segment
CscHitVeccscHOT ()
 retrieve the full set of CscCalibHitBase s assigned to this segment
const CscHitVeccscClose () const
 retrieve the full set of nearby mdt hits of this segment.
CscHitVeccscClose ()
 retrieve the full set of nearby mdt hits of this segment.
const RpcHitVecrpcHOT () const
 retrieve the full set of RpcCalibHitBase s assigned to this segment
RpcHitVecrpcHOT ()
 retrieve the full set of RpcCalibHitBase s assigned to this segment
const RpcHitVecrpcClose () const
 retrieve the full set of nearby mdt hits of this segment.
RpcHitVecrpcClose ()
 retrieve the full set of nearby mdt hits of this segment.
const TgcHitVectgcHOT () const
 retrieve the full set of TgcCalibHitBase s assigned to this segment
TgcHitVectgcHOT ()
 retrieve the full set of TgcCalibHitBase s assigned to this segment
const TgcHitVectgcClose () const
 retrieve the full set of nearby mdt hits of this segment.
TgcHitVectgcClose ()
 retrieve the full set of nearby mdt hits of this segment.
double chi2 () const
 retrieve chi2
double error_dy0 () const
 retrieve error position
double error_dtheta () const
 retrieve error angle
bool hasFittedT0 () const
 check whether t0 was fitted
double fittedT0 () const
 retrieve fitted T0, return -99999 if no fit was performed
const Amg::Vector3Dposition () const
 retrieve local position of segment (on station level)
const Amg::Vector3Ddirection () const
 retrieve local direction of segment (on station level) retrieve the transformation from local chamber coordinates into global coordinates
const Amg::Transform3DlocalToGlobal () const
Amg::Vector3D globalPosition () const
 retrieve global position
Amg::Vector3D globalDirection () const
 retrieve global direction
int author () const
 retrieve the segment author
unsigned int qualityFlag () const
 retrieve the Fit quality flag
void addHitOnTrack (MdtCalibHitBase *hit)
 add the MdtCalibHitBase to the set assigned to the segment
void addHitOnTrack (CscCalibHitBase *hit)
 add the CscCalibHitBase to the set assigned to the segment
void addHitOnTrack (RpcCalibHitBase *hit)
 add the CscCalibHitBase to the set assigned to the segment
void addHitOnTrack (TgcCalibHitBase *hit)
 add the TgcCalibHitBase to the set assigned to the segment
void addHitOnTrack (const MdtHitPtr &hit)
 add the MdtCalibHitBase to the set assigned to the segment
void addHitOnTrack (const CscHitPtr &hit)
 add the CscCalibHitBase to the set assigned to the segment
void addHitOnTrack (const RpcHitPtr &hit)
 add the CscCalibHitBase to the set assigned to the segment
void addHitOnTrack (const TgcHitPtr &hit)
 add the TgcCalibHitBase to the set assigned to the segment
void addCloseHit (MdtCalibHitBase *hit)
 add the mdt hit to the set nearby the segment
void addCloseHit (CscCalibHitBase *hit)
 add the csc hit to the set nearby the segment
void addCloseHit (RpcCalibHitBase *hit)
 add the csc hit to the set nearby the segment
void addCloseHit (TgcCalibHitBase *hit)
 add the tgc hit to the set nearby the segment
void addCloseHit (const MdtHitPtr &hit)
 add the mdt hit to the set nearby the segment
void addCloseHit (const CscHitPtr &hit)
 add the csc hit to the set nearby the segment
void addCloseHit (const RpcHitPtr &hit)
 add the csc hit to the set nearby the segment
void addCloseHit (const TgcHitPtr &hit)
 add the tgc hit to the set nearby the segment
void refineMdtSelection (const std::vector< unsigned int > &new_selection)
 move trck hits to close hits
std::ostream & dump (std::ostream &stream) const

Private Member Functions

void copy (const MuonCalibSegment &other)

Private Attributes

MuonCalibTrackSummary m_summary
 track summary
IdSet m_idSet
 set with Identifiers on segment
MuonCalibRawHitAssociationMap m_rawHitAssociationMap
 list of tracks to which the segment was associated
MdtHitVec m_mdtHitsOnTrack
 hits
MdtHitVec m_mdtCloseHits
 set of mdt hits nearby the segment
CscHitVec m_cscHitsOnTrack
 set of CscCalibHitBase s assigned to the segment
CscHitVec m_cscCloseHits
 set of csc hits nearby the segment
RpcHitVec m_rpcHitsOnTrack
 set of RpcCalibHitBase s assigned to the segment
RpcHitVec m_rpcCloseHits
 set of rpc hits nearby the segment
TgcHitVec m_tgcHitsOnTrack
 set of TgcCalibHitBase s assigned to the segment
TgcHitVec m_tgcCloseHits
 set of tgc hits nearby the segment
double m_chi2 {FLT_MAX}
 goodness of (DC)fit
double m_dy0 {FLT_MAX}
 error on local position
double m_dtheta {FLT_MAX}
 error on local direction
Amg::Vector3D m_localPosition {0., 0., 0.}
 position in station (local) coordinates
Amg::Vector3D m_localDirection {0., 0., 0.}
 direction in station (local) coordinates
Amg::Transform3D m_localToGlobal {}
 transformation local->global
double m_fittedT0 {s_dummy_ctor_dbl}
 fitted t0
unsigned int m_qualityFlag {0}
 flag describing the fit quality
int m_author {-1}
 author flag

Static Private Attributes

static constexpr double s_dummy_ctor_dbl {-99999.}

Detailed Description

A segment plus everything one can dream of knowing about it.

Definition at line 27 of file MuonCalibExtendedSegment.h.

Member Typedef Documentation

◆ CscHitPtr

using MuonCalib::MuonCalibSegment::CscHitPtr = std::shared_ptr<const CscCalibHitBase>
inherited

typedef for a collection of CscCalibHitBase s

Definition at line 47 of file MuonCalibSegment.h.

◆ CscHitVec

using MuonCalib::MuonCalibSegment::CscHitVec = std::vector<CscHitPtr>
inherited

Definition at line 49 of file MuonCalibSegment.h.

◆ MdtHitPtr

using MuonCalib::MuonCalibSegment::MdtHitPtr = std::shared_ptr<MdtCalibHitBase>
inherited

typedef for a collection of MdtCalibHitBase s

Definition at line 43 of file MuonCalibSegment.h.

◆ MdtHitVec

using MuonCalib::MuonCalibSegment::MdtHitVec = std::vector<MdtHitPtr>
inherited

Definition at line 45 of file MuonCalibSegment.h.

◆ RpcHitPtr

using MuonCalib::MuonCalibSegment::RpcHitPtr = std::shared_ptr<const RpcCalibHitBase>
inherited

typedef for a collection of RpcCalibHitBase s

Definition at line 51 of file MuonCalibSegment.h.

◆ RpcHitVec

using MuonCalib::MuonCalibSegment::RpcHitVec = std::vector<RpcHitPtr>
inherited

Definition at line 53 of file MuonCalibSegment.h.

◆ TgcHitPtr

using MuonCalib::MuonCalibSegment::TgcHitPtr = std::shared_ptr<const TgcCalibHitBase>
inherited

typedef for a collection of TgcCalibHitBase s

Definition at line 55 of file MuonCalibSegment.h.

◆ TgcHitVec

using MuonCalib::MuonCalibSegment::TgcHitVec = std::vector<TgcHitPtr>
inherited

Definition at line 57 of file MuonCalibSegment.h.

Constructor & Destructor Documentation

◆ MuonCalibExtendedSegment()

MuonCalib::MuonCalibExtendedSegment::MuonCalibExtendedSegment ( const MuonCalibSegment & segment)

Constructor taking input track.

add associated track

Definition at line 28 of file MuonCalibExtendedSegment.cxx.

28 : MuonCalibSegment(segment) {
29 MuonFixedIdManipulator idManip;
30
31 MuonCalibTrackSummary::ChamberHitSummary* currentChamberSummary = nullptr;
32
33 for (const MdtHitPtr& mdt_hit : mdtHOT()) {
34 const MuonFixedId& id = mdt_hit->identify();
35 if (!id.isValid()) {
36 MsgStream log(Athena::getMessageSvc(), "MuonCalibExtendedSegment");
37 log << MSG::WARNING << "invalid MDT id!" << endmsg;
38 continue;
39 }
40
41 m_idSet.insert(id);
42
43 MuonFixedId chId = idManip.chamberIdentifier(id);
44
45 bool measuresPhi = idManip.measuresPhi(id);
46 bool isMdt = id.is_mdt();
47 bool isFirst = isMdt ? id.mdtMultilayer() == 1 : !measuresPhi;
48
49 // check whether first chamber or new chamber
50 if (!currentChamberSummary || currentChamberSummary->chId != chId) {
51 m_summary.chamberHitSummary.emplace_back(chId);
52 currentChamberSummary = &m_summary.chamberHitSummary.back();
53 }
54
55 MuonCalibTrackSummary::ChamberHitSummary::Projection& proj =
56 isFirst ? currentChamberSummary->etaProjection() : currentChamberSummary->phiProjection();
57
58 ++proj.nhits;
59
60 ++m_summary.nhits;
61 ++m_summary.nmdtHits;
62
63 if (mdt_hit->adcCount() < adc_lower_threshold) ++m_summary.nmdtHitsBelowADCCut;
64
65 MuonFixedIdManipulator::StationIndex stationIndex = idManip.stationLayerIndex(id);
66 if (idManip.isEndcap(id)) {
67 if (id.eta() < 0.)
68 m_summary.hasEndcapA = true;
69 else
70 m_summary.hasEndcapC = true;
71 if (stationIndex == MuonFixedIdManipulator::EIA || stationIndex == MuonFixedIdManipulator::EIC ||
72 stationIndex == MuonFixedIdManipulator::EMA || stationIndex == MuonFixedIdManipulator::EMC)
73 m_summary.hasEndcapLayersWithTGC = true;
74 } else {
75 m_summary.hasBarrel = true;
76 if (stationIndex == MuonFixedIdManipulator::BM || stationIndex == MuonFixedIdManipulator::BO)
77 m_summary.hasBarrelLayersWithRPC = true;
78 }
79
80 m_summary.precisionStationLayers.insert(stationIndex);
81 if (currentChamberSummary->nMdtHitsMl1() > 0 && currentChamberSummary->nMdtHitsMl2() && currentChamberSummary->nhits() > 3) {
82 m_summary.goodPrecisionStationLayers.insert(stationIndex);
83 }
84 }
85 for (const RpcHitPtr& rpc_hit : rpcHOT()) {
86 MuonFixedId id = rpc_hit->identify();
87 if (!id.isValid()) {
88 MsgStream log(Athena::getMessageSvc(), "MuonCalibExtendedSegment");
89 log << MSG::WARNING << "invalid RPC id!" << endmsg;
90 continue;
91 }
92
93 m_idSet.insert(id);
94
95 MuonFixedId chId = idManip.chamberIdentifier(id);
96
97 bool measuresPhi = idManip.measuresPhi(id);
98 bool isMdt = id.is_mdt();
99 bool isFirst = isMdt ? id.mdtMultilayer() == 1 : measuresPhi;
100
101 // check whether first chamber or new chamber
102 if (!currentChamberSummary || currentChamberSummary->chId != chId) {
103 m_summary.chamberHitSummary.emplace_back(chId);
104 currentChamberSummary = &m_summary.chamberHitSummary.back();
105 }
106
107 MuonCalibTrackSummary::ChamberHitSummary::Projection& proj =
108 isFirst ? currentChamberSummary->etaProjection() : currentChamberSummary->phiProjection();
109
110 ++proj.nhits;
111
112 ++m_summary.nhits;
113 if (measuresPhi)
114 ++m_summary.nrpcPhiHits;
115 else
116 ++m_summary.nrpcEtaHits;
117
118 MuonFixedIdManipulator::PhiStationIndex phiStationIndex = idManip.phiStationLayerIndex(id);
119 if (measuresPhi) m_summary.phiStationLayers.insert(phiStationIndex);
120 if (currentChamberSummary->netaHits() > 0 && currentChamberSummary->nphiHits() > 0) {
121 m_summary.phiEtaStationLayers.insert(phiStationIndex);
122 }
123 }
124
125 if (m_summary.nrpcEtaHits + m_summary.nrpcPhiHits > 0) {
126 m_summary.hasBarrel = true;
127 m_summary.hasBarrelLayersWithRPC = true;
128 }
129
130 for (const TgcHitPtr& tgc_hit : tgcHOT()) {
131 const MuonFixedId& id = tgc_hit->identify();
132 if (!id.isValid()) {
133 MsgStream log(Athena::getMessageSvc(), "MuonCalibExtendedSegment");
134 log << MSG::WARNING << "invalid TGC id!" << endmsg;
135 continue;
136 }
137
138 m_idSet.insert(id);
139
140 MuonFixedId chId = idManip.chamberIdentifier(id);
141
142 bool measuresPhi = idManip.measuresPhi(id);
143 bool isMdt = id.is_mdt();
144 bool isFirst = isMdt ? id.mdtMultilayer() == 1 : measuresPhi;
145
146 // check whether first chamber or new chamber
147 if (!currentChamberSummary || currentChamberSummary->chId != chId) {
148 m_summary.chamberHitSummary.push_back(MuonCalibTrackSummary::ChamberHitSummary(chId));
149 currentChamberSummary = &m_summary.chamberHitSummary.back();
150 }
151
152 MuonCalibTrackSummary::ChamberHitSummary::Projection& proj =
153 isFirst ? currentChamberSummary->etaProjection() : currentChamberSummary->phiProjection();
154
155 ++proj.nhits;
156
157 ++m_summary.nhits;
158 if (measuresPhi)
159 ++m_summary.ntgcPhiHits;
160 else
161 ++m_summary.ntgcEtaHits;
162
163 if (id.eta() < 0)
164 m_summary.hasEndcapA = true;
165 else
166 m_summary.hasEndcapC = true;
167
168 MuonFixedIdManipulator::PhiStationIndex phiStationIndex = idManip.phiStationLayerIndex(id);
169 if (measuresPhi) m_summary.phiStationLayers.insert(phiStationIndex);
170 if (currentChamberSummary->netaHits() > 0 && currentChamberSummary->nphiHits() > 0) {
171 m_summary.phiEtaStationLayers.insert(phiStationIndex);
172 }
173 }
174
175 for (const CscHitPtr& csc_hit : cscHOT()) {
176 const MuonFixedId& id = csc_hit->identify();
177 if (!id.isValid()) {
178 MsgStream log(Athena::getMessageSvc(), "MuonCalibExtendedSegment");
179 log << MSG::WARNING << "invalid CSC id!" << endmsg;
180 continue;
181 }
182
183 m_idSet.insert(id);
184
185 MuonFixedId chId = idManip.chamberIdentifier(id);
186
187 bool measuresPhi = idManip.measuresPhi(id);
188 bool isMdt = id.is_mdt();
189 bool isFirst = isMdt ? id.mdtMultilayer() == 1 : measuresPhi;
190
191 // check whether first chamber or new chamber
192 if (!currentChamberSummary || currentChamberSummary->chId != chId) {
193 m_summary.chamberHitSummary.emplace_back(chId);
194 currentChamberSummary = &m_summary.chamberHitSummary.back();
195 }
196
197 MuonCalibTrackSummary::ChamberHitSummary::Projection& proj =
198 isFirst ? currentChamberSummary->etaProjection() : currentChamberSummary->phiProjection();
199
200 ++proj.nhits;
201
202 ++m_summary.nhits;
203 if (measuresPhi)
204 ++m_summary.ncscPhiHits;
205 else
206 ++m_summary.ncscEtaHits;
207
208 MuonFixedIdManipulator::PhiStationIndex phiStationIndex = idManip.phiStationLayerIndex(id);
209 if (measuresPhi) { m_summary.phiStationLayers.insert(phiStationIndex); }
210 MuonFixedIdManipulator::StationIndex stationIndex = idManip.stationLayerIndex(id);
211 m_summary.precisionStationLayers.insert(stationIndex);
212 if (currentChamberSummary->netaHits() > 2 && currentChamberSummary->nphiHits() > 2) {
213 m_summary.goodPrecisionStationLayers.insert(stationIndex);
214 m_summary.phiEtaStationLayers.insert(phiStationIndex);
215 }
216 }
217 }
Scalar eta() const
pseudorapidity method
#define endmsg
bool isValid(const T &p)
Av: we implement here an ATLAS-sepcific convention: all particles which are 99xxxxx are fine.
Definition AtlasPID.h:878
IdSet m_idSet
set with Identifiers on segment
MuonCalibTrackSummary m_summary
track summary
std::shared_ptr< MdtCalibHitBase > MdtHitPtr
typedef for a collection of MdtCalibHitBase s
std::shared_ptr< const RpcCalibHitBase > RpcHitPtr
typedef for a collection of RpcCalibHitBase s
const CscHitVec & cscHOT() const
retrieve the full set of CscCalibHitBase s assigned to this segment
std::shared_ptr< const TgcCalibHitBase > TgcHitPtr
typedef for a collection of TgcCalibHitBase s
std::shared_ptr< const CscCalibHitBase > CscHitPtr
typedef for a collection of CscCalibHitBase s
const MdtHitVec & mdtHOT() const
retrieve the full set of MdtCalibHitBase s assigned to this segment
MuonCalibSegment(double chi2, const Amg::Vector3D &pos, const Amg::Vector3D &dir, const Amg::Transform3D &locToGlo, unsigned int qualityFlag=0)
constructor fully initializing the segment-parameters, do we need default constructor?
const TgcHitVec & tgcHOT() const
retrieve the full set of TgcCalibHitBase s assigned to this segment
const RpcHitVec & rpcHOT() const
retrieve the full set of RpcCalibHitBase s assigned to this segment
StationIndex
enum defining station layers
PhiStationIndex
enum defining trigger phi layers
IMessageSvc * getMessageSvc(bool quiet=false)

Member Function Documentation

◆ addCloseHit() [1/8]

void MuonCalib::MuonCalibSegment::addCloseHit ( const CscHitPtr & hit)
inherited

add the csc hit to the set nearby the segment

Definition at line 209 of file MuonCalibSegment.cxx.

209{ m_cscCloseHits.emplace_back(hit); }
CscHitVec m_cscCloseHits
set of csc hits nearby the segment

◆ addCloseHit() [2/8]

void MuonCalib::MuonCalibSegment::addCloseHit ( const MdtHitPtr & hit)
inherited

add the mdt hit to the set nearby the segment

Definition at line 206 of file MuonCalibSegment.cxx.

206{ m_mdtCloseHits.emplace_back(hit); }
MdtHitVec m_mdtCloseHits
set of mdt hits nearby the segment

◆ addCloseHit() [3/8]

void MuonCalib::MuonCalibSegment::addCloseHit ( const RpcHitPtr & hit)
inherited

add the csc hit to the set nearby the segment

Definition at line 212 of file MuonCalibSegment.cxx.

212{ m_rpcCloseHits.emplace_back(hit); }
RpcHitVec m_rpcCloseHits
set of rpc hits nearby the segment

◆ addCloseHit() [4/8]

void MuonCalib::MuonCalibSegment::addCloseHit ( const TgcHitPtr & hit)
inherited

add the tgc hit to the set nearby the segment

Definition at line 215 of file MuonCalibSegment.cxx.

215{ m_tgcCloseHits.emplace_back(hit); }
TgcHitVec m_tgcCloseHits
set of tgc hits nearby the segment

◆ addCloseHit() [5/8]

void MuonCalib::MuonCalibSegment::addCloseHit ( CscCalibHitBase * hit)
inherited

add the csc hit to the set nearby the segment

Definition at line 197 of file MuonCalibSegment.cxx.

197{ m_cscCloseHits.emplace_back(hit); }

◆ addCloseHit() [6/8]

void MuonCalib::MuonCalibSegment::addCloseHit ( MdtCalibHitBase * hit)
inherited

add the mdt hit to the set nearby the segment

Definition at line 194 of file MuonCalibSegment.cxx.

194{ m_mdtCloseHits.emplace_back(hit); }

◆ addCloseHit() [7/8]

void MuonCalib::MuonCalibSegment::addCloseHit ( RpcCalibHitBase * hit)
inherited

add the csc hit to the set nearby the segment

Definition at line 200 of file MuonCalibSegment.cxx.

200{ m_rpcCloseHits.emplace_back(hit); }

◆ addCloseHit() [8/8]

void MuonCalib::MuonCalibSegment::addCloseHit ( TgcCalibHitBase * hit)
inherited

add the tgc hit to the set nearby the segment

Version using the smart pointers

Definition at line 203 of file MuonCalibSegment.cxx.

203{ m_tgcCloseHits.emplace_back(hit); }

◆ addHitOnTrack() [1/8]

void MuonCalib::MuonCalibSegment::addHitOnTrack ( const CscHitPtr & hit)
inherited

add the CscCalibHitBase to the set assigned to the segment

Definition at line 208 of file MuonCalibSegment.cxx.

208{ m_cscHitsOnTrack.emplace_back(hit); }
CscHitVec m_cscHitsOnTrack
set of CscCalibHitBase s assigned to the segment

◆ addHitOnTrack() [2/8]

void MuonCalib::MuonCalibSegment::addHitOnTrack ( const MdtHitPtr & hit)
inherited

add the MdtCalibHitBase to the set assigned to the segment

Definition at line 205 of file MuonCalibSegment.cxx.

205{ m_mdtHitsOnTrack.emplace_back(hit); }

◆ addHitOnTrack() [3/8]

void MuonCalib::MuonCalibSegment::addHitOnTrack ( const RpcHitPtr & hit)
inherited

add the CscCalibHitBase to the set assigned to the segment

Definition at line 211 of file MuonCalibSegment.cxx.

211{ m_rpcHitsOnTrack.emplace_back(hit); }
RpcHitVec m_rpcHitsOnTrack
set of RpcCalibHitBase s assigned to the segment

◆ addHitOnTrack() [4/8]

void MuonCalib::MuonCalibSegment::addHitOnTrack ( const TgcHitPtr & hit)
inherited

add the TgcCalibHitBase to the set assigned to the segment

Definition at line 214 of file MuonCalibSegment.cxx.

214{ m_tgcHitsOnTrack.emplace_back(hit); }
TgcHitVec m_tgcHitsOnTrack
set of TgcCalibHitBase s assigned to the segment

◆ addHitOnTrack() [5/8]

void MuonCalib::MuonCalibSegment::addHitOnTrack ( CscCalibHitBase * hit)
inherited

add the CscCalibHitBase to the set assigned to the segment

Definition at line 196 of file MuonCalibSegment.cxx.

196{ m_cscHitsOnTrack.emplace_back(hit); }

◆ addHitOnTrack() [6/8]

void MuonCalib::MuonCalibSegment::addHitOnTrack ( MdtCalibHitBase * hit)
inherited

add the MdtCalibHitBase to the set assigned to the segment

Definition at line 193 of file MuonCalibSegment.cxx.

193{ m_mdtHitsOnTrack.emplace_back(hit); }

◆ addHitOnTrack() [7/8]

void MuonCalib::MuonCalibSegment::addHitOnTrack ( RpcCalibHitBase * hit)
inherited

add the CscCalibHitBase to the set assigned to the segment

Definition at line 199 of file MuonCalibSegment.cxx.

199{ m_rpcHitsOnTrack.emplace_back(hit); }

◆ addHitOnTrack() [8/8]

void MuonCalib::MuonCalibSegment::addHitOnTrack ( TgcCalibHitBase * hit)
inherited

add the TgcCalibHitBase to the set assigned to the segment

Definition at line 202 of file MuonCalibSegment.cxx.

202{ m_tgcHitsOnTrack.emplace_back(hit); }

◆ author()

int MuonCalib::MuonCalibSegment::author ( ) const
inherited

retrieve the segment author

Definition at line 125 of file MuonCalibSegment.cxx.

125{ return m_author; }

◆ chi2()

double MuonCalib::MuonCalibSegment::chi2 ( ) const
inherited

retrieve chi2

Definition at line 182 of file MuonCalibSegment.cxx.

182{ return m_chi2; }
double m_chi2
goodness of (DC)fit

◆ closeHits()

unsigned int MuonCalib::MuonCalibSegment::closeHits ( ) const
inherited

retrieve the sum of all hits close to the MuonCalibSegment.

Definition at line 137 of file MuonCalibSegment.cxx.

137{ return m_mdtCloseHits.size(); }

◆ copy()

void MuonCalib::MuonCalibSegment::copy ( const MuonCalibSegment & other)
privateinherited

Definition at line 20 of file MuonCalibSegment.cxx.

20 {
21 m_chi2 = other.chi2();
22 m_dy0 = other.error_dy0();
23 m_dtheta = other.error_dtheta();
24 m_localPosition = other.position();
25 m_localDirection = other.direction();
26 m_localToGlobal = other.localToGlobal();
27 m_qualityFlag = other.qualityFlag();
28 m_author = other.author();
29 m_fittedT0 = other.m_fittedT0; // don't use function as it would return 0 if m_fittedT0 == -99999.
30
31 m_mdtHitsOnTrack.clear();
32 for (const MdtHitPtr& mdt_it : other.mdtHOT()) { addHitOnTrack(new MdtCalibHitBase(*mdt_it)); }
33
34 m_mdtCloseHits.clear();
35 for (const MdtHitPtr& mdt_it : other.mdtClose()) { addCloseHit(new MdtCalibHitBase(*mdt_it)); }
36
37 m_cscHitsOnTrack.clear();
38 for (const CscHitPtr& csc_it : other.cscHOT()) { addHitOnTrack(new CscCalibHitBase(*csc_it)); }
39 for (const CscHitPtr& csc_it : other.cscClose()) { addCloseHit(new CscCalibHitBase(*csc_it)); }
40
41 m_rpcHitsOnTrack.clear();
42 for (const RpcHitPtr& rpc_it : other.rpcHOT()) { addHitOnTrack(new RpcCalibHitBase(*rpc_it)); }
43
44 m_rpcCloseHits.clear();
45 for (const RpcHitPtr& rpc_it : other.rpcClose()) { addCloseHit(new RpcCalibHitBase(*rpc_it)); }
46
47 m_tgcHitsOnTrack.clear();
48 for (const TgcHitPtr& tgc_it : other.tgcHOT()) { addHitOnTrack(new TgcCalibHitBase(*tgc_it)); }
49
50 m_tgcCloseHits.clear();
51 for (const TgcHitPtr& tgc_it : other.tgcClose()) { addCloseHit(new TgcCalibHitBase(*tgc_it)); }
52 }
Amg::Vector3D m_localDirection
direction in station (local) coordinates
void addCloseHit(MdtCalibHitBase *hit)
add the mdt hit to the set nearby the segment
unsigned int m_qualityFlag
flag describing the fit quality
Amg::Vector3D m_localPosition
position in station (local) coordinates
double m_dy0
error on local position
double m_dtheta
error on local direction
void addHitOnTrack(MdtCalibHitBase *hit)
add the MdtCalibHitBase to the set assigned to the segment
Amg::Transform3D m_localToGlobal
transformation local->global

◆ cscClose() [1/2]

MuonCalibSegment::CscHitVec & MuonCalib::MuonCalibSegment::cscClose ( )
inherited

retrieve the full set of nearby mdt hits of this segment.

Definition at line 161 of file MuonCalibSegment.cxx.

161{ return m_cscCloseHits; }

◆ cscClose() [2/2]

const MuonCalibSegment::CscHitVec & MuonCalib::MuonCalibSegment::cscClose ( ) const
inherited

retrieve the full set of nearby mdt hits of this segment.

Definition at line 160 of file MuonCalibSegment.cxx.

160{ return m_cscCloseHits; }

◆ cscCloseHits()

unsigned int MuonCalib::MuonCalibSegment::cscCloseHits ( ) const
inherited

retrieve the number of nearby csc hits.

Definition at line 159 of file MuonCalibSegment.cxx.

159{ return m_cscCloseHits.size(); }

◆ cscHitsOnTrack()

unsigned int MuonCalib::MuonCalibSegment::cscHitsOnTrack ( ) const
inherited

retrieve the number of CscCalibHitBase s assigned to this segment

Definition at line 155 of file MuonCalibSegment.cxx.

155{ return m_cscHitsOnTrack.size(); }

◆ cscHOT() [1/2]

MuonCalibSegment::CscHitVec & MuonCalib::MuonCalibSegment::cscHOT ( )
inherited

retrieve the full set of CscCalibHitBase s assigned to this segment

Definition at line 157 of file MuonCalibSegment.cxx.

157{ return m_cscHitsOnTrack; }

◆ cscHOT() [2/2]

const MuonCalibSegment::CscHitVec & MuonCalib::MuonCalibSegment::cscHOT ( ) const
inherited

retrieve the full set of CscCalibHitBase s assigned to this segment

Definition at line 156 of file MuonCalibSegment.cxx.

156{ return m_cscHitsOnTrack; }

◆ deltaHits()

unsigned int MuonCalib::MuonCalibSegment::deltaHits ( ) const
inherited

number of delta hits of this segment

Definition at line 141 of file MuonCalibSegment.cxx.

141{ return m_qualityFlag % 10; }

◆ direction()

const Amg::Vector3D & MuonCalib::MuonCalibSegment::direction ( ) const
inherited

retrieve local direction of segment (on station level) retrieve the transformation from local chamber coordinates into global coordinates

Definition at line 186 of file MuonCalibSegment.cxx.

186{ return m_localDirection; }

◆ dump() [1/2]

std::string MuonCalib::MuonCalibExtendedSegment::dump ( ) const

dump all information to string

Definition at line 219 of file MuonCalibExtendedSegment.cxx.

219 {
220 std::ostringstream sout;
221 sout << dumpPars() << std::endl << dumpSummary();
222 return sout.str();
223 }
std::string dumpSummary() const
dump track summary to string
std::string dumpPars() const
dump track parameters to string

◆ dump() [2/2]

std::ostream & MuonCalib::MuonCalibSegment::dump ( std::ostream & stream) const
inherited

Definition at line 65 of file MuonCalibSegment.cxx.

65 {
66 stream << "MuonCalibSegment with chi2 " << chi2() << std::endl;
67 stream << " -- local position " << position() << " direction " << direction() << std::endl;
68 stream << " -- HitsOnTrack " << hitsOnTrack() << std::endl;
69
70 // Dump MdtCalibHit
71 for (const MdtHitPtr& mdt_it : mdtHOT()) { mdt_it->dump(stream); }
72 stream << " -- CloseHits " << mdtCloseHits() << std::endl;
73 for (const MdtHitPtr& mdt_it : mdtClose()) { mdt_it->dump(stream); }
74
75 // Dump CscCalibHit
76 for (const CscHitPtr& csc_it : cscHOT()) { csc_it->dump(stream); }
77 stream << " -- CloseHits " << cscCloseHits() << std::endl;
78 for (const CscHitPtr& csc_it : cscClose()) { csc_it->dump(stream); }
79
80 // Dump RpcCalibHit
81 for (const RpcHitPtr& rpc_it : rpcHOT()) { rpc_it->dump(stream); }
82 stream << " -- CloseHits " << rpcCloseHits() << std::endl;
83 for (const RpcHitPtr& rpc_it : rpcClose()) { rpc_it->dump(stream); }
84
85 // Dump TgcCalibHit
86 for (const TgcHitPtr& tgc_it : tgcHOT()) { tgc_it->dump(stream); }
87 stream << " -- CloseHits " << tgcCloseHits() << std::endl;
88 for (const TgcHitPtr& tgc_it : tgcClose()) { tgc_it->dump(stream); }
89
90 return stream;
91 } // end MuonCalibSegment::dump
const CscHitVec & cscClose() const
retrieve the full set of nearby mdt hits of this segment.
unsigned int tgcCloseHits() const
retrieve the number of nearby tgc hits.
const MdtHitVec & mdtClose() const
retrieve the full set of nearby mdt hits of this segment.
const Amg::Vector3D & direction() const
retrieve local direction of segment (on station level) retrieve the transformation from local chamber...
const RpcHitVec & rpcClose() const
retrieve the full set of nearby mdt hits of this segment.
unsigned int rpcCloseHits() const
retrieve the number of nearby rpc hits.
unsigned int hitsOnTrack() const
retrieve the sum of all XxxCalibHits assigned to the MuonCalibSegment
unsigned int mdtCloseHits() const
retrieve the number of nearby mdt hits.
double chi2() const
retrieve chi2
const TgcHitVec & tgcClose() const
retrieve the full set of nearby mdt hits of this segment.
const Amg::Vector3D & position() const
retrieve local position of segment (on station level)
unsigned int cscCloseHits() const
retrieve the number of nearby csc hits.

◆ dumpPars()

std::string MuonCalib::MuonCalibExtendedSegment::dumpPars ( ) const

dump track parameters to string

Definition at line 225 of file MuonCalibExtendedSegment.cxx.

225 {
226 std::ostringstream sout;
227 sout << "Extended Segment: " << std::setprecision(4) << "chi2 " << chi2() << " r " << (int)globalPosition().perp() << " z "
228 << (int)globalPosition().z() << std::setprecision(5) << " phi " << globalDirection().phi() << " theta "
229 << globalDirection().theta(); // << " nassociatedTracks " << m_associatedTracks.size();
230 return sout.str();
231 }
Amg::Vector3D globalPosition() const
retrieve global position
Amg::Vector3D globalDirection() const
retrieve global direction

◆ dumpSummary()

std::string MuonCalib::MuonCalibExtendedSegment::dumpSummary ( ) const

dump track summary to string

Definition at line 233 of file MuonCalibExtendedSegment.cxx.

233 {
234 std::ostringstream sout;
235 sout << m_summary.dump();
236 return sout.str();
237 }

◆ emptyTubes()

unsigned int MuonCalib::MuonCalibSegment::emptyTubes ( ) const
inherited

number of empty tubes of this segment

Definition at line 142 of file MuonCalibSegment.cxx.

142{ return (m_qualityFlag % 1000) / 100; }

◆ error_dtheta()

double MuonCalib::MuonCalibSegment::error_dtheta ( ) const
inherited

retrieve error angle

Definition at line 184 of file MuonCalibSegment.cxx.

184{ return m_dtheta; }

◆ error_dy0()

double MuonCalib::MuonCalibSegment::error_dy0 ( ) const
inherited

retrieve error position

Definition at line 183 of file MuonCalibSegment.cxx.

183{ return m_dy0; }

◆ fittedT0()

double MuonCalib::MuonCalibSegment::fittedT0 ( ) const
inherited

retrieve fitted T0, return -99999 if no fit was performed

Definition at line 112 of file MuonCalibSegment.cxx.

112{ return hasFittedT0() ? m_fittedT0 : 0; }
bool hasFittedT0() const
check whether t0 was fitted

◆ globalDirection()

Amg::Vector3D MuonCalib::MuonCalibSegment::globalDirection ( ) const
inherited

retrieve global direction

Definition at line 190 of file MuonCalibSegment.cxx.

190{ return Amg::Vector3D(localToGlobal().linear() * direction()); }
const Amg::Transform3D & localToGlobal() const
Eigen::Matrix< double, 3, 1 > Vector3D

◆ globalPosition()

Amg::Vector3D MuonCalib::MuonCalibSegment::globalPosition ( ) const
inherited

retrieve global position

Definition at line 189 of file MuonCalibSegment.cxx.

189{ return Amg::Vector3D(localToGlobal() * position()); }

◆ hasFittedT0()

bool MuonCalib::MuonCalibSegment::hasFittedT0 ( ) const
inherited

check whether t0 was fitted

Definition at line 111 of file MuonCalibSegment.cxx.

111{ return m_fittedT0 != s_dummy_ctor_dbl; }
static constexpr double s_dummy_ctor_dbl

◆ hitsOnTrack()

unsigned int MuonCalib::MuonCalibSegment::hitsOnTrack ( ) const
inherited

retrieve the sum of all XxxCalibHits assigned to the MuonCalibSegment

Definition at line 135 of file MuonCalibSegment.cxx.

135{ return m_mdtHitsOnTrack.size() + m_cscHitsOnTrack.size(); }

◆ hitsPerML()

unsigned int MuonCalib::MuonCalibSegment::hitsPerML ( int ML) const
inherited

number of hits per multilayer of this segment

Definition at line 59 of file MuonCalibSegment.cxx.

59 {
60 int counter{0};
61 for (const MdtHitPtr& hit_it : mdtHOT()) { counter += (hit_it->identify().mdtMultilayer() == ML); }
62 return counter;
63 }

◆ idSet()

const IdSet & MuonCalib::MuonCalibExtendedSegment::idSet ( ) const
inline

access hit identifier map (hits give the MuonFixedId

Definition at line 36 of file MuonCalibExtendedSegment.h.

36{ return m_idSet; }

◆ localToGlobal()

const Amg::Transform3D & MuonCalib::MuonCalibSegment::localToGlobal ( ) const
inherited

Definition at line 187 of file MuonCalibSegment.cxx.

187{ return m_localToGlobal; }

◆ mdtClose() [1/2]

MuonCalibSegment::MdtHitVec & MuonCalib::MuonCalibSegment::mdtClose ( )
inherited

retrieve the full set of nearby mdt hits of this segment.

Definition at line 152 of file MuonCalibSegment.cxx.

152{ return m_mdtCloseHits; }

◆ mdtClose() [2/2]

const MuonCalibSegment::MdtHitVec & MuonCalib::MuonCalibSegment::mdtClose ( ) const
inherited

retrieve the full set of nearby mdt hits of this segment.

Definition at line 151 of file MuonCalibSegment.cxx.

151{ return m_mdtCloseHits; }

◆ mdtCloseHits()

unsigned int MuonCalib::MuonCalibSegment::mdtCloseHits ( ) const
inherited

retrieve the number of nearby mdt hits.

Definition at line 150 of file MuonCalibSegment.cxx.

150{ return m_mdtCloseHits.size(); }

◆ mdtHitsOnTrack()

unsigned int MuonCalib::MuonCalibSegment::mdtHitsOnTrack ( ) const
inherited

retrieve the number of MdtCalibHitBase s assigned to this segment

Definition at line 146 of file MuonCalibSegment.cxx.

146{ return m_mdtHitsOnTrack.size(); }

◆ mdtHOT() [1/2]

MuonCalibSegment::MdtHitVec & MuonCalib::MuonCalibSegment::mdtHOT ( )
inherited

retrieve the full set of MdtCalibHitBase s assigned to this segment

Definition at line 148 of file MuonCalibSegment.cxx.

148{ return m_mdtHitsOnTrack; }

◆ mdtHOT() [2/2]

const MuonCalibSegment::MdtHitVec & MuonCalib::MuonCalibSegment::mdtHOT ( ) const
inherited

retrieve the full set of MdtCalibHitBase s assigned to this segment

Definition at line 147 of file MuonCalibSegment.cxx.

147{ return m_mdtHitsOnTrack; }

◆ missedHits()

unsigned int MuonCalib::MuonCalibSegment::missedHits ( ) const
inherited

number of missed hits of this segment (out of time + empty tubes)

Definition at line 140 of file MuonCalibSegment.cxx.

140{ return outOfTimeHits() + emptyTubes(); }
unsigned int emptyTubes() const
number of empty tubes of this segment
unsigned int outOfTimeHits() const
number of hits out of time of this segment

◆ outOfTimeHits()

unsigned int MuonCalib::MuonCalibSegment::outOfTimeHits ( ) const
inherited

number of hits out of time of this segment

Definition at line 143 of file MuonCalibSegment.cxx.

143{ return (m_qualityFlag % 100) / 10; }

◆ position()

const Amg::Vector3D & MuonCalib::MuonCalibSegment::position ( ) const
inherited

retrieve local position of segment (on station level)

Definition at line 185 of file MuonCalibSegment.cxx.

185{ return m_localPosition; }

◆ qualityFlag()

unsigned int MuonCalib::MuonCalibSegment::qualityFlag ( ) const
inherited

retrieve the Fit quality flag

Definition at line 126 of file MuonCalibSegment.cxx.

126{ return m_qualityFlag; }

◆ rawHitAssociationMap() [1/2]

MuonCalibRawHitAssociationMap & MuonCalib::MuonCalibExtendedSegment::rawHitAssociationMap ( )
inline

Definition at line 55 of file MuonCalibExtendedSegment.h.

55{ return m_rawHitAssociationMap; }
MuonCalibRawHitAssociationMap m_rawHitAssociationMap
list of tracks to which the segment was associated

◆ rawHitAssociationMap() [2/2]

const MuonCalibRawHitAssociationMap & MuonCalib::MuonCalibExtendedSegment::rawHitAssociationMap ( ) const
inline

access to list of tracks the segment was associated to

add associated track access raw hit assocation map

Definition at line 54 of file MuonCalibExtendedSegment.h.

54{ return m_rawHitAssociationMap; }

◆ refineMdtSelection()

void MuonCalib::MuonCalibSegment::refineMdtSelection ( const std::vector< unsigned int > & new_selection)
inherited

move trck hits to close hits

Definition at line 93 of file MuonCalibSegment.cxx.

93 {
94 if (new_selection.size() != m_mdtHitsOnTrack.size()) {
95 MsgStream log(Athena::getMessageSvc(), "MuonCalibSegment");
96 log << MSG::WARNING << "MuonCalibSegment::refineMdtSelection: Wrong size of vector!" << endmsg;
97 return;
98 }
99 // copy old hit vector
100 MdtHitVec old_hit_vec(m_mdtHitsOnTrack);
101 m_mdtHitsOnTrack.clear();
102 for (unsigned int i = 0; i < old_hit_vec.size(); i++) {
103 if (!new_selection[i]) {
104 m_mdtHitsOnTrack.emplace_back(old_hit_vec[i]);
105 } else {
106 m_mdtCloseHits.emplace_back(old_hit_vec[i]);
107 }
108 }
109 } // end MuonCalibSegment::refineMdtSelection
std::vector< MdtHitPtr > MdtHitVec

◆ rpcClose() [1/2]

MuonCalibSegment::RpcHitVec & MuonCalib::MuonCalibSegment::rpcClose ( )
inherited

retrieve the full set of nearby mdt hits of this segment.

Definition at line 170 of file MuonCalibSegment.cxx.

170{ return m_rpcCloseHits; }

◆ rpcClose() [2/2]

const MuonCalibSegment::RpcHitVec & MuonCalib::MuonCalibSegment::rpcClose ( ) const
inherited

retrieve the full set of nearby mdt hits of this segment.

Definition at line 169 of file MuonCalibSegment.cxx.

169{ return m_rpcCloseHits; }

◆ rpcCloseHits()

unsigned int MuonCalib::MuonCalibSegment::rpcCloseHits ( ) const
inherited

retrieve the number of nearby rpc hits.

Definition at line 168 of file MuonCalibSegment.cxx.

168{ return m_rpcCloseHits.size(); }

◆ rpcHitsOnTrack()

unsigned int MuonCalib::MuonCalibSegment::rpcHitsOnTrack ( ) const
inherited

retrieve the number of RpcCalibHitBase s assigned to this segment

Definition at line 164 of file MuonCalibSegment.cxx.

164{ return m_rpcHitsOnTrack.size(); }

◆ rpcHOT() [1/2]

MuonCalibSegment::RpcHitVec & MuonCalib::MuonCalibSegment::rpcHOT ( )
inherited

retrieve the full set of RpcCalibHitBase s assigned to this segment

Definition at line 166 of file MuonCalibSegment.cxx.

166{ return m_rpcHitsOnTrack; }

◆ rpcHOT() [2/2]

const MuonCalibSegment::RpcHitVec & MuonCalib::MuonCalibSegment::rpcHOT ( ) const
inherited

retrieve the full set of RpcCalibHitBase s assigned to this segment

Definition at line 165 of file MuonCalibSegment.cxx.

165{ return m_rpcHitsOnTrack; }

◆ set()

void MuonCalib::MuonCalibSegment::set ( double chi2,
const Amg::Vector3D & pos,
const Amg::Vector3D & dir )
inherited

Definition at line 128 of file MuonCalibSegment.cxx.

◆ setAuthor()

void MuonCalib::MuonCalibSegment::setAuthor ( int author)
inherited

sets author field

Definition at line 122 of file MuonCalibSegment.cxx.

122{ m_author = author; }
int author() const
retrieve the segment author

◆ setErrors()

void MuonCalib::MuonCalibSegment::setErrors ( double error_dy0,
double error_dtheta )
inherited

sets Local errors on MuonCalibSegment parameters

Definition at line 118 of file MuonCalibSegment.cxx.

118 {
121 }
double error_dy0() const
retrieve error position
double error_dtheta() const
retrieve error angle

◆ setFittedT0()

void MuonCalib::MuonCalibSegment::setFittedT0 ( double t0)
inherited

sets t0 field

Definition at line 123 of file MuonCalibSegment.cxx.

123{ m_fittedT0 = t0; }
static Double_t t0

◆ setSegment()

void MuonCalib::MuonCalibSegment::setSegment ( const Amg::Vector3D & pos,
const Amg::Vector3D & dir )
inherited

Definition at line 114 of file MuonCalibSegment.cxx.

114 {
117 }

◆ summary()

const MuonCalibTrackSummary & MuonCalib::MuonCalibExtendedSegment::summary ( ) const
inline

access to hit counts

Definition at line 33 of file MuonCalibExtendedSegment.h.

33{ return m_summary; }

◆ tgcClose() [1/2]

MuonCalibSegment::TgcHitVec & MuonCalib::MuonCalibSegment::tgcClose ( )
inherited

retrieve the full set of nearby mdt hits of this segment.

Definition at line 179 of file MuonCalibSegment.cxx.

179{ return m_tgcCloseHits; }

◆ tgcClose() [2/2]

const MuonCalibSegment::TgcHitVec & MuonCalib::MuonCalibSegment::tgcClose ( ) const
inherited

retrieve the full set of nearby mdt hits of this segment.

Definition at line 178 of file MuonCalibSegment.cxx.

178{ return m_tgcCloseHits; }

◆ tgcCloseHits()

unsigned int MuonCalib::MuonCalibSegment::tgcCloseHits ( ) const
inherited

retrieve the number of nearby tgc hits.

Definition at line 177 of file MuonCalibSegment.cxx.

177{ return m_tgcCloseHits.size(); }

◆ tgcHitsOnTrack()

unsigned int MuonCalib::MuonCalibSegment::tgcHitsOnTrack ( ) const
inherited

retrieve the number of TgcCalibHitBase s assigned to this segment

Definition at line 173 of file MuonCalibSegment.cxx.

173{ return m_tgcHitsOnTrack.size(); }

◆ tgcHOT() [1/2]

MuonCalibSegment::TgcHitVec & MuonCalib::MuonCalibSegment::tgcHOT ( )
inherited

retrieve the full set of TgcCalibHitBase s assigned to this segment

Definition at line 175 of file MuonCalibSegment.cxx.

175{ return m_tgcHitsOnTrack; }

◆ tgcHOT() [2/2]

const MuonCalibSegment::TgcHitVec & MuonCalib::MuonCalibSegment::tgcHOT ( ) const
inherited

retrieve the full set of TgcCalibHitBase s assigned to this segment

Definition at line 174 of file MuonCalibSegment.cxx.

174{ return m_tgcHitsOnTrack; }

Member Data Documentation

◆ m_author

int MuonCalib::MuonCalibSegment::m_author {-1}
privateinherited

author flag

Definition at line 195 of file MuonCalibSegment.h.

195{-1};

◆ m_chi2

double MuonCalib::MuonCalibSegment::m_chi2 {FLT_MAX}
privateinherited

goodness of (DC)fit

Definition at line 187 of file MuonCalibSegment.h.

187{FLT_MAX};

◆ m_cscCloseHits

CscHitVec MuonCalib::MuonCalibSegment::m_cscCloseHits
privateinherited

set of csc hits nearby the segment

Definition at line 178 of file MuonCalibSegment.h.

◆ m_cscHitsOnTrack

CscHitVec MuonCalib::MuonCalibSegment::m_cscHitsOnTrack
privateinherited

set of CscCalibHitBase s assigned to the segment

Definition at line 177 of file MuonCalibSegment.h.

◆ m_dtheta

double MuonCalib::MuonCalibSegment::m_dtheta {FLT_MAX}
privateinherited

error on local direction

Definition at line 189 of file MuonCalibSegment.h.

189{FLT_MAX};

◆ m_dy0

double MuonCalib::MuonCalibSegment::m_dy0 {FLT_MAX}
privateinherited

error on local position

Definition at line 188 of file MuonCalibSegment.h.

188{FLT_MAX};

◆ m_fittedT0

double MuonCalib::MuonCalibSegment::m_fittedT0 {s_dummy_ctor_dbl}
privateinherited

fitted t0

Definition at line 193 of file MuonCalibSegment.h.

◆ m_idSet

IdSet MuonCalib::MuonCalibExtendedSegment::m_idSet
private

set with Identifiers on segment

Definition at line 62 of file MuonCalibExtendedSegment.h.

◆ m_localDirection

Amg::Vector3D MuonCalib::MuonCalibSegment::m_localDirection {0., 0., 0.}
privateinherited

direction in station (local) coordinates

Definition at line 191 of file MuonCalibSegment.h.

191{0., 0., 0.};

◆ m_localPosition

Amg::Vector3D MuonCalib::MuonCalibSegment::m_localPosition {0., 0., 0.}
privateinherited

position in station (local) coordinates

Definition at line 190 of file MuonCalibSegment.h.

190{0., 0., 0.};

◆ m_localToGlobal

Amg::Transform3D MuonCalib::MuonCalibSegment::m_localToGlobal {}
privateinherited

transformation local->global

Definition at line 192 of file MuonCalibSegment.h.

192{};

◆ m_mdtCloseHits

MdtHitVec MuonCalib::MuonCalibSegment::m_mdtCloseHits
privateinherited

set of mdt hits nearby the segment

Definition at line 175 of file MuonCalibSegment.h.

◆ m_mdtHitsOnTrack

MdtHitVec MuonCalib::MuonCalibSegment::m_mdtHitsOnTrack
privateinherited

hits

set of MdtCalibHitBase s assigned to the segment

Definition at line 174 of file MuonCalibSegment.h.

◆ m_qualityFlag

unsigned int MuonCalib::MuonCalibSegment::m_qualityFlag {0}
privateinherited

flag describing the fit quality

Definition at line 194 of file MuonCalibSegment.h.

194{0};

◆ m_rawHitAssociationMap

MuonCalibRawHitAssociationMap MuonCalib::MuonCalibExtendedSegment::m_rawHitAssociationMap
private

list of tracks to which the segment was associated

raw hit association map

Definition at line 68 of file MuonCalibExtendedSegment.h.

◆ m_rpcCloseHits

RpcHitVec MuonCalib::MuonCalibSegment::m_rpcCloseHits
privateinherited

set of rpc hits nearby the segment

Definition at line 181 of file MuonCalibSegment.h.

◆ m_rpcHitsOnTrack

RpcHitVec MuonCalib::MuonCalibSegment::m_rpcHitsOnTrack
privateinherited

set of RpcCalibHitBase s assigned to the segment

Definition at line 180 of file MuonCalibSegment.h.

◆ m_summary

MuonCalibTrackSummary MuonCalib::MuonCalibExtendedSegment::m_summary
private

track summary

Definition at line 59 of file MuonCalibExtendedSegment.h.

◆ m_tgcCloseHits

TgcHitVec MuonCalib::MuonCalibSegment::m_tgcCloseHits
privateinherited

set of tgc hits nearby the segment

Definition at line 184 of file MuonCalibSegment.h.

◆ m_tgcHitsOnTrack

TgcHitVec MuonCalib::MuonCalibSegment::m_tgcHitsOnTrack
privateinherited

set of TgcCalibHitBase s assigned to the segment

Definition at line 183 of file MuonCalibSegment.h.

◆ s_dummy_ctor_dbl

double MuonCalib::MuonCalibSegment::s_dummy_ctor_dbl {-99999.}
staticconstexprprivateinherited

Definition at line 171 of file MuonCalibSegment.h.

171{-99999.};

The documentation for this class was generated from the following files: