Skip to content
Snippets Groups Projects
Commit db27f8fa authored by Edward Moyse's avatar Edward Moyse
Browse files

Merge branch 'clang.TrkAssociationTools-20191017' into 'master'

TrkAssociationTools+ISF_FatrasRecoTools: Fix clang warnings.

See merge request atlas/athena!27267
parents 4b994452 f0b6e2e5
No related branches found
No related tags found
No related merge requests found
...@@ -37,8 +37,8 @@ namespace iFatras { ...@@ -37,8 +37,8 @@ namespace iFatras {
virtual ~ISF_TrackSummaryHelperTool(); virtual ~ISF_TrackSummaryHelperTool();
/** standard AlgTool methods: initialise retrieves Tools, finalize does nothing */ /** standard AlgTool methods: initialise retrieves Tools, finalize does nothing */
virtual StatusCode initialize(); virtual StatusCode initialize() override;
virtual StatusCode finalize(); virtual StatusCode finalize() override;
/** Input : rot, tsos /** Input : rot, tsos
Output: Changes in information and hitPattern Output: Changes in information and hitPattern
...@@ -66,7 +66,8 @@ namespace iFatras { ...@@ -66,7 +66,8 @@ namespace iFatras {
const Trk::RIO_OnTrack* rot, const Trk::RIO_OnTrack* rot,
const Trk::TrackStateOnSurface* tsos, const Trk::TrackStateOnSurface* tsos,
std::vector<int>& information, std::vector<int>& information,
std::bitset<Trk::numberOfDetectorTypes>& hitPattern ) const { std::bitset<Trk::numberOfDetectorTypes>& hitPattern ) const override
{
analyse(track,nullptr,rot,tsos,information,hitPattern); analyse(track,nullptr,rot,tsos,information,hitPattern);
} }
...@@ -76,15 +77,17 @@ namespace iFatras { ...@@ -76,15 +77,17 @@ namespace iFatras {
const Trk::CompetingRIOsOnTrack* crot, const Trk::CompetingRIOsOnTrack* crot,
const Trk::TrackStateOnSurface* tsos, const Trk::TrackStateOnSurface* tsos,
std::vector<int>& information, std::vector<int>& information,
std::bitset<Trk::numberOfDetectorTypes>& hitPattern ) const { std::bitset<Trk::numberOfDetectorTypes>& hitPattern ) const override
{
analyse(track,nullptr, crot,tsos,information,hitPattern); analyse(track,nullptr, crot,tsos,information,hitPattern);
} }
/** Not used --> HoleSearchTool not used /** Not used --> HoleSearchTool not used
*/ */
virtual
void searchForHoles(const Trk::Track& track, void searchForHoles(const Trk::Track& track,
std::vector<int>& information , std::vector<int>& information ,
const Trk::ParticleHypothesis partHyp = Trk::pion) const ; const Trk::ParticleHypothesis partHyp = Trk::pion) const override;
/** this method simply updaes the shared hit content - it is designed/optimised for track collection merging */ /** this method simply updaes the shared hit content - it is designed/optimised for track collection merging */
virtual void updateSharedHitCount(const Trk::Track& track, virtual void updateSharedHitCount(const Trk::Track& track,
...@@ -92,18 +95,23 @@ namespace iFatras { ...@@ -92,18 +95,23 @@ namespace iFatras {
Trk::TrackSummary& summary) const override; Trk::TrackSummary& summary) const override;
/** this method simply updaes the shared hit content - it is designed/optimised for track collection merging */ /** this method simply updaes the shared hit content - it is designed/optimised for track collection merging */
void updateSharedHitCount(const Trk::Track& track, Trk::TrackSummary& summary) const { virtual
updateSharedHitCount(track,summary); void updateSharedHitCount(const Trk::Track& /*track*/,
Trk::TrackSummary& /*summary*/) const override
{
ATH_MSG_DEBUG("updateSharedHitCount not implemented !!");
} }
/** this method simply updaes the electron PID content - it is designed/optimised for track collection merging */ /** this method simply updaes the electron PID content - it is designed/optimised for track collection merging */
void updateAdditionalInfo(Trk::TrackSummary& summary,std::vector<float>& eprob,float& dedx, int& nclus, int& noverflowclus) const; virtual
void updateAdditionalInfo(Trk::TrackSummary& summary,std::vector<float>& eprob,float& dedx, int& nclus, int& noverflowclus) const override;
/** This method updates the expect... hit info*/ /** This method updates the expect... hit info*/
void updateExpectedHitInfo(const Trk::Track& track, Trk::TrackSummary& summary) const; virtual
void updateExpectedHitInfo(const Trk::Track& track, Trk::TrackSummary& summary) const override;
/** @copydoc Trk::ITrackSummaryHelperTool::addDetailedTrackSummary(const Trk::Track&, Trk::TrackSummary&)*/ /** @copydoc Trk::ITrackSummaryHelperTool::addDetailedTrackSummary(const Trk::Track&, Trk::TrackSummary&)*/
virtual void addDetailedTrackSummary(const Trk::Track&, Trk::TrackSummary&) const; virtual void addDetailedTrackSummary(const Trk::Track&, Trk::TrackSummary&) const override;
private: private:
......
...@@ -36,11 +36,14 @@ namespace iFatras { ...@@ -36,11 +36,14 @@ namespace iFatras {
virtual StatusCode initialize() override; virtual StatusCode initialize() override;
virtual StatusCode finalize () override; virtual StatusCode finalize () override;
virtual
std::unique_ptr<Trk::PRDtoTrackMap> createPRDtoTrackMap() const override; std::unique_ptr<Trk::PRDtoTrackMap> createPRDtoTrackMap() const override;
std::unique_ptr<Trk::PRDtoTrackMap> reduceToStorableMap(std::unique_ptr<Trk::PRDtoTrackMap> &&obj_in) const; virtual
std::unique_ptr<Trk::PRDtoTrackMap> reduceToStorableMap(std::unique_ptr<Trk::PRDtoTrackMap> &&obj_in) const override;
/** add the PRDs from this track to the store /** add the PRDs from this track to the store
@param track all PRDs from 'track' will be added to ISF_PRDtoTrackMapTool's internal store.*/ @param track all PRDs from 'track' will be added to ISF_PRDtoTrackMapTool's internal store.*/
virtual
StatusCode addPRDs(Trk::PRDtoTrackMap &virt_prd_to_track_map, const Trk::Track& track ) const override; StatusCode addPRDs(Trk::PRDtoTrackMap &virt_prd_to_track_map, const Trk::Track& track ) const override;
/**returns a vector of PRDs belonging to the passed track. /**returns a vector of PRDs belonging to the passed track.
......
...@@ -33,8 +33,10 @@ namespace Trk { ...@@ -33,8 +33,10 @@ namespace Trk {
virtual StatusCode initialize() override; virtual StatusCode initialize() override;
virtual StatusCode finalize () override; virtual StatusCode finalize () override;
virtual
std::unique_ptr<Trk::PRDtoTrackMap> createPRDtoTrackMap() const override; std::unique_ptr<Trk::PRDtoTrackMap> createPRDtoTrackMap() const override;
std::unique_ptr<Trk::PRDtoTrackMap> reduceToStorableMap(std::unique_ptr<Trk::PRDtoTrackMap> &&obj_in) const; virtual
std::unique_ptr<Trk::PRDtoTrackMap> reduceToStorableMap(std::unique_ptr<Trk::PRDtoTrackMap> &&obj_in) const override;
/** add the PRDs from this track to the store /** add the PRDs from this track to the store
@param track all PRDs from 'track' will be added to PRDtoTrackMapTool's internal store.*/ @param track all PRDs from 'track' will be added to PRDtoTrackMapTool's internal store.*/
......
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