Skip to content
Snippets Groups Projects
Verified Commit c1cea7de authored by Stephen Nicholas Swatman's avatar Stephen Nicholas Swatman
Browse files

Add getter for GXFTrajectory track states

Previously, this class had no getter to access the track states stored
within. That's a little bit weird, because it is something we access a
lot. This commit adds that getter.
parent df9b4227
No related branches found
No related tags found
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,!36828Add hole search functionality to the Trk::GlobalChi2Fitter
......@@ -71,6 +71,7 @@ namespace Trk {
int numberOfPseudoMeasurements();
int numberOfOutliers();
const std::vector<std::unique_ptr<GXFTrackState>> & trackStates() const;
std::vector<std::unique_ptr<GXFTrackState>> & trackStates();
std::vector < std::pair < double, double >>&scatteringAngles();
std::vector < std::pair < double, double >>&scatteringSigmas();
......
......@@ -558,6 +558,10 @@ namespace Trk {
}
}
const std::vector<std::unique_ptr<GXFTrackState>> & GXFTrajectory::trackStates() const {
return m_states;
}
std::vector<std::unique_ptr<GXFTrackState>> & GXFTrajectory::trackStates() {
return m_states;
}
......
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