ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkTools
TrkToolInterfaces
TrkToolInterfaces
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"
12
#include "
TrkEventPrimitives/ParticleHypothesis.h
"
13
#include "
AthContainers/DataVector.h
"
14
15
namespace
Trk
16
{
17
class
Track
;
18
class
TrackStateOnSurface
;
19
using
TrackStates
= DataVector<const Trk::TrackStateOnSurface>;
20
29
30
class
ITrackHoleSearchTool
:
virtual
public
IAlgTool {
31
public
:
32
DeclareInterfaceID
(
ITrackHoleSearchTool
,1,0);
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
51
virtual
const
Trk::TrackStates
*
getHolesOnTrack
(
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
70
virtual
const
Trk::Track
*
getTrackWithHolesAndOutliers
(
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
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
ParticleHypothesis.h
Trk::ITrackHoleSearchTool
interface for searching, counting and adding holes on tracks anywhere in ATLAS.
Definition
ITrackHoleSearchTool.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::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...
Trk::ITrackHoleSearchTool::DeclareInterfaceID
DeclareInterfaceID(ITrackHoleSearchTool, 1, 0)
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::TrackStateOnSurface
represents the track state (measurement, material, fit parameters and quality) at a surface.
Definition
TrackStateOnSurface.h:71
Trk::Track
The ATLAS Track class.
Definition
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Trk::TrackStates
DataVector< const Trk::TrackStateOnSurface > TrackStates
Definition
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:30
Trk::ParticleHypothesis
ParticleHypothesis
Enumeration for Particle hypothesis respecting the interaction with material.
Definition
ParticleHypothesis.h:28
Trk::pion
@ pion
Definition
ParticleHypothesis.h:32
Generated on
for ATLAS Offline Software by
1.17.0