21 if (selPlots.empty()) {
29 m_oMatchedPlots = std::make_unique< Trk::ParamPlots>(
this,
"/kinematics/",
"Matched Muons");
32 m_oMatchedRecoPlots = std::make_unique< Trk::ParamPlots>(
this,
"/kinematicsReco/",
"Matched Muons");
44 m_oMuonResolutionPlots = std::make_unique< Muon::MuonResolutionPlots>(
this,
"/resolution/",
"",doBinnedResolutionPlots);
76 if (!primaryTrk)
return;
96 extrapLinkAcc(
"extrapolatedMuonSpectrometerTrackParticleLink");
101 msTrk =
mu.trackParticle( xAOD::Muon::MuonSpectrometerTrackParticle );
107 truthParticleLinkAcc(
"truthParticleLink");
108 if (msExtrapTrkLink.
isValid()) {
111 if( truthParticleLinkAcc.
isAvailable(**msExtrapTrkLink) ) {
112 truthLink_muTrk = truthParticleLinkAcc(**msExtrapTrkLink);
114 if (truthLink_muTrk.
isValid()) {
115 for (
const auto trk: *MSTracks) {
118 truthLink_msTrk = truthParticleLinkAcc(*trk);
119 if (truthLink_msTrk.
isValid()) {
120 if (truthLink_msTrk == truthLink_muTrk) {
130 #ifndef XAOD_ANALYSIS
132 if (
mu.parameter(eloss,xAOD::Muon::EnergyLoss)) {
133 if (
mu.energyLossType()!=xAOD::Muon::Tail ) {
140 #endif // not XAOD_ANALYSIS