233 TEveRecTrack recTrack;
245 if (
muon->isTrackerMuon() &&
muon->innerTrack().isAvailable() &&
muon->isMatchesValid() &&
253 addMatchInformation(&(*
muon), pb, tList, showEndcap);
257 if (
muon->isGlobalMuon() &&
muon->globalTrack().isAvailable()) {
258 std::vector<TEveVector> extraPoints;
259 if (
muon->innerTrack().isAvailable() &&
muon->innerTrack()->extra().isAvailable()) {
260 extraPoints.push_back(TEveVector(
muon->innerTrack()->innerPosition().x(),
261 muon->innerTrack()->innerPosition().y(),
262 muon->innerTrack()->innerPosition().z()));
263 extraPoints.push_back(TEveVector(
muon->innerTrack()->outerPosition().x(),
264 muon->innerTrack()->outerPosition().y(),
265 muon->innerTrack()->outerPosition().z()));
267 if (
muon->outerTrack().isAvailable() &&
muon->outerTrack()->extra().isAvailable()) {
268 extraPoints.push_back(TEveVector(
muon->outerTrack()->innerPosition().x(),
269 muon->outerTrack()->innerPosition().y(),
270 muon->outerTrack()->innerPosition().z()));
271 extraPoints.push_back(TEveVector(
muon->outerTrack()->outerPosition().x(),
272 muon->outerTrack()->outerPosition().y(),
273 muon->outerTrack()->outerPosition().z()));
275 TEveTrack* trk =
nullptr;
276 if (extraPoints.empty())
288 if (
muon->innerTrack().isAvailable()) {
295 if (
muon->outerTrack().isAvailable()) {