Skip to content
Snippets Groups Projects
Commit 14c3c765 authored by Nora Emilia Pettersson's avatar Nora Emilia Pettersson Committed by Graeme Stewart
Browse files

Fixed Support for ITk TrkTrackSummary? (ITk only) (TrkToolInterfaces-01-03-10-02)

	* Fixed defintions to avoid clashes with non-ITk clients
	* Tagged as TrkToolInterfaces-01-03-10-02 (ITk only)

2016-10-23 Nora Pettersson
	* Added new methods to support ITk TrkTrackSummary (ITk only)
	* Tagged as TrkToolInterfaces-01-03-10-01
parent 1c1900f8
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,14 @@ namespace Trk
const Trk::Track& track,
const Trk::ParticleHypothesis partHyp = Trk::pion) const = 0;
//ITk overloads
virtual void countHoles(
const Trk::Track&,
std::vector<int>&,
std::map<std::string, int>&,
const Trk::ParticleHypothesis) const { };
};
inline const InterfaceID& Trk::ITrackHoleSearchTool::interfaceID()
......
......@@ -9,6 +9,7 @@
#include "GaudiKernel/IAlgTool.h"
#include <vector>
#include <bitset>
#include <map>
#include "TrkEventPrimitives/ParticleHypothesis.h"
#include "TrkTrackSummary/TrackSummary.h" // defines Trk::numberOfDetectorTypes used below
......@@ -53,11 +54,34 @@ namespace Trk {
const TrackStateOnSurface* tsos,
std::vector<int>& information,
std::bitset<Trk::numberOfDetectorTypes>& hitPattern ) const = 0;
virtual void analyse(const Trk::Track&,
const Trk::RIO_OnTrack*,
const Trk::TrackStateOnSurface*,
std::vector<int>&,
std::bitset<Trk::numberOfDetectorTypes>&,
std::map<std::string, int>&,
std::bitset<200>&,
const std::map<std::string, int>&) const { };
virtual void analyse(const Trk::Track&,
const Trk::CompetingRIOsOnTrack*,
const Trk::TrackStateOnSurface*,
std::vector<int>&,
std::bitset<Trk::numberOfDetectorTypes>&,
std::map<std::string, int>&,
std::bitset<200>&,
const std::map<std::string, int>& ) const { };
virtual void searchForHoles(const Trk::Track& track,
std::vector<int>& information ,
const Trk::ParticleHypothesis partHyp = Trk::pion) const =0;
virtual void searchForHoles(const Trk::Track&,
std::vector<int>&,
std::map<std::string, int>&,
const Trk::ParticleHypothesis) const { };
virtual void updateSharedHitCount(const Trk::Track&, TrackSummary&) const {};
virtual void updateExpectedHitInfo(const Trk::Track&, TrackSummary&) const {};
......
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