ATLAS Offline Software
Loading...
Searching...
No Matches
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
15namespace Trk
16{
17 class Track;
19 using TrackStates = DataVector<const Trk::TrackStateOnSurface>;
20
29
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
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
An STL vector of pointers that by default owns its pointed-to elements.
interface for searching, counting and adding holes on tracks anywhere in ATLAS.
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...
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...
DeclareInterfaceID(ITrackHoleSearchTool, 1, 0)
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...
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...
represents the track state (measurement, material, fit parameters and quality) at a surface.
Ensure that the ATLAS eigen extensions are properly loaded.
DataVector< const Trk::TrackStateOnSurface > TrackStates
ParticleHypothesis
Enumeration for Particle hypothesis respecting the interaction with material.