Skip to content
Snippets Groups Projects
Commit 028d8254 authored by Scott Snyder's avatar Scott Snyder Committed by Graeme Stewart
Browse files

'const tool handle fixes.' (MuonTrackFinderTools-01-00-47)

	* Tagging MuonTrackFinderTools-01-00-47.
	* const tool handle fixes.
parent 509f1188
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,7 @@ namespace Muon { ...@@ -87,7 +87,7 @@ namespace Muon {
return sc; return sc;
} }
Trk::TrackScore MuonTrackScoringTool::score( const Trk::Track& track, const bool suppressHoleSearch ) Trk::TrackScore MuonTrackScoringTool::score( const Trk::Track& track, const bool suppressHoleSearch ) const
{ {
const Trk::TrackSummary* summary = 0; const Trk::TrackSummary* summary = 0;
...@@ -102,7 +102,7 @@ namespace Muon { ...@@ -102,7 +102,7 @@ namespace Muon {
return score; return score;
} }
Trk::TrackScore MuonTrackScoringTool::simpleScore( const Trk::Track& track, const Trk::TrackSummary& trackSummary ) Trk::TrackScore MuonTrackScoringTool::simpleScore( const Trk::Track& track, const Trk::TrackSummary& trackSummary ) const
{ {
// --- reject bad tracks // --- reject bad tracks
......
...@@ -32,13 +32,15 @@ namespace Muon { ...@@ -32,13 +32,15 @@ namespace Muon {
public: public:
MuonTrackScoringTool(const std::string&,const std::string&,const IInterface*); MuonTrackScoringTool(const std::string&,const std::string&,const IInterface*);
virtual ~MuonTrackScoringTool (); virtual ~MuonTrackScoringTool ();
virtual StatusCode initialize(); virtual StatusCode initialize() override;
virtual StatusCode finalize (); virtual StatusCode finalize () override;
/** create a score based on how good the passed track is*/ /** create a score based on how good the passed track is*/
Trk::TrackScore score( const Trk::Track& track, const bool suppressHoleSearch ); virtual
Trk::TrackScore score( const Trk::Track& track, const bool suppressHoleSearch ) const override;
/** create a score based on how good the passed TrackSummary is*/ /** create a score based on how good the passed TrackSummary is*/
Trk::TrackScore simpleScore( const Trk::Track& track, const Trk::TrackSummary& trackSummary ); virtual
Trk::TrackScore simpleScore( const Trk::Track& track, const Trk::TrackSummary& trackSummary ) const override;
private: private:
......
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