Skip to content
Snippets Groups Projects
Commit 3f7fa61c authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'fsextrptrks' into 'master'

Add extrapolated tracks to muon candidates created for full scan muon triggers

See merge request atlas/athena!26830
parents 504fd7f5 6a565b92
Branches rm-zstd-cmake
No related tags found
No related merge requests found
......@@ -132,7 +132,8 @@ StatusCode EventViewCreatorAlgorithmWithMuons::placeMuonInView( const xAOD::Muon
auto muonCandidate = std::make_unique< ConstDataVector< MuonCandidateCollection > >();
muonCandidate->clear( SG::VIEW_ELEMENTS );
auto msLink = theObject->muonSpectrometerTrackParticleLink();
if(msLink.isValid()) muonCandidate->push_back( new MuonCombined::MuonCandidate(msLink) );
auto extTrackLink = theObject->extrapolatedMuonSpectrometerTrackParticleLink();
if(msLink.isValid() && extTrackLink.isValid()) muonCandidate->push_back( new MuonCombined::MuonCandidate(msLink, (*extTrackLink)->trackLink()) );
//store in the view
auto handle = SG::makeHandle( m_inViewMuons,context );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment