ATLAS Offline Software
ITrackHoleSearchTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // ITrackHoleSearchTool.h, (c) ATLAS Detector software
8 #ifndef ITRACKHOLESEARCHTOOL_H
9 #define ITRACKHOLESEARCHTOOL_H
10 
11 #include "GaudiKernel/IAlgTool.h"
14 
15 namespace Trk
16 {
17  class Track;
18  class TrackStateOnSurface;
20 
30  class ITrackHoleSearchTool : virtual public IAlgTool {
31  public:
33 
41  virtual void countHoles(
42  const Trk::Track& track,
43  std::vector<int>& information ,
44  const Trk::ParticleHypothesis partHyp = Trk::pion) const = 0;
45 
52  const Trk::Track& track,
53  const Trk::ParticleHypothesis partHyp = Trk::pion) const = 0;
54 
60  virtual const Trk::Track* getTrackWithHoles(
61  const Trk::Track& track,
62  const Trk::ParticleHypothesis partHyp = Trk::pion) const = 0;
63 
64 
71  const Trk::Track& track,
72  const Trk::ParticleHypothesis partHyp = Trk::pion) const = 0;
73 
74 
75  };
76 
77 } // end of namespace
78 
79 #endif
Trk::ITrackHoleSearchTool::getTrackWithHoles
virtual const Trk::Track * getTrackWithHoles(const Trk::Track &track, const Trk::ParticleHypothesis partHyp=Trk::pion) const =0
Input : track, parthyp Return: A pointer to a new Trk::Track which containes the information of the i...
Trk::ITrackHoleSearchTool::countHoles
virtual void countHoles(const Trk::Track &track, std::vector< int > &information, const Trk::ParticleHypothesis partHyp=Trk::pion) const =0
Input : track, partHyp Output: Changes in information This method fills the fields relevant to the ho...
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Trk::ITrackHoleSearchTool::DeclareInterfaceID
DeclareInterfaceID(ITrackHoleSearchTool, 1, 0)
Trk::ParticleHypothesis
ParticleHypothesis
Definition: ParticleHypothesis.h:25
Trk::TrackStates
DataVector< const Trk::TrackStateOnSurface > TrackStates
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:30
Trk::ITrackHoleSearchTool::getTrackWithHolesAndOutliers
virtual const Trk::Track * getTrackWithHolesAndOutliers(const Trk::Track &track, const Trk::ParticleHypothesis partHyp=Trk::pion) const =0
Input : track, parthyp Return: A pointer to a new Trk::Track which containes the information of the i...
Trk::pion
@ pion
Definition: ParticleHypothesis.h:29
Trk::ITrackHoleSearchTool
interface for searching, counting and adding holes on tracks anywhere in ATLAS.
Definition: ITrackHoleSearchTool.h:30
DataVector< const Trk::TrackStateOnSurface >
ParticleHypothesis.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
Trk::ITrackHoleSearchTool::getHolesOnTrack
virtual const Trk::TrackStates * getHolesOnTrack(const Trk::Track &track, const Trk::ParticleHypothesis partHyp=Trk::pion) const =0
Input : track, parthyp Return: A DataVector containing pointers to TrackStateOnSurfaces which each re...