Skip to content
Snippets Groups Projects
Commit bf98370e authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'cppcheck.InDetTrackHoleSearch-20200417' into 'master'

InDetTrackHoleSearch: Fix cppcheck warning.

See merge request !32117
parents 10b24d2d c9fb9e14
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!32117InDetTrackHoleSearch: Fix cppcheck warning.
......@@ -343,12 +343,15 @@ bool InDet::InDetTrackHoleSearchTool::getMapOfHits(const Trk::Track& track,
trtDisc = static_cast<const Trk::DiscSurface*> (trtSurface);
}
}
// extrapolate track to disk
startParameters.reset(m_extrapolator->extrapolate(*firstsipar,
*trtDisc,
Trk::oppositeMomentum,
true,
partHyp));
if (trtDisc) {
// extrapolate track to disk
startParameters.reset(m_extrapolator->extrapolate(*firstsipar,
*trtDisc,
Trk::oppositeMomentum,
true,
partHyp));
}
}
} else { // no cosmics
......
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