ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkVertexFitter
TrkVertexSeedFinderTools
TrkVertexSeedFinderTools
TrackDensitySeedFinder.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRKVERTEXSEEDFINDERTOOLS_TrackDensitySeedFinder_H
6
#define TRKVERTEXSEEDFINDERTOOLS_TrackDensitySeedFinder_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "GaudiKernel/ToolHandle.h"
10
#include "
TrkVertexFitterInterfaces/IVertexAnalyticSeedFinder.h
"
11
#include "
TrkVertexFitterInterfaces/IVertexTrackDensityEstimator.h
"
12
13
namespace
Trk
14
{
15
16
class
Track
;
17
class
IMode1dFinder
;
18
class
ITrackToVertexIPEstimator
;
19
20
// @author D. Casper
21
//
22
// @ATLAS software
23
//
24
// This class implements a seed finder for the primary vertex finding
25
// which is based on the use of a density function along the beam line
26
//
27
// -------------------------------------------
28
29
class
TrackDensitySeedFinder
final:
public
extends<AthAlgTool, IVertexAnalyticSeedFinder>
30
{
31
public
:
32
// Standard Gaudi constructor.
33
TrackDensitySeedFinder
(
const
std::string& t,
34
const
std::string& n,
35
const
IInterface* p);
36
37
38
virtual
~TrackDensitySeedFinder
();
39
40
41
virtual
StatusCode
initialize
()
override
;
42
virtual
StatusCode
finalize
()
override
;
43
44
45
using
IVertexSeedFinder::findSeed
;
46
52
virtual
Amg::Vector3D
53
findSeed
(
const
std::vector<const Trk::Track*> & vectorTrk,
54
const
xAOD::Vertex
* constraint=0)
const
override final;
55
56
62
virtual
Amg
::
Vector3D
63
findSeed
(
const
std
::
vector
<
const
Trk
::
TrackParameters
*> & perigeeList,
64
const
xAOD
::
Vertex
* constraint=0)
const
override final;
65
66
virtual
std
::
pair
<
Amg
::
Vector3D
,
Amg
::MatrixX>
findAnalyticSeed
(
67
const
std
::
vector
<
const
Trk
::
TrackParameters
*>& perigeeList,
68
const
xAOD
::
Vertex
* constraint = 0)
const
override final;
69
75
virtual
std
::
vector
<
Amg
::
Vector3D
>
76
findMultiSeeds
(
const
std
::
vector
<
const
Trk
::
Track
*>& vectorTrk,
77
const
xAOD
::
Vertex
* constraint=0)
const
override final;
78
79
86
virtual
std
::
vector
<
Amg
::
Vector3D
>
87
findMultiSeeds
(
const
std
::
vector
<
const
Trk
::
TrackParameters
*>& perigeeList,
88
const
xAOD
::
Vertex
* constraint=0)
const
override final;
89
90
91
private
:
92
ToolHandle<
IVertexTrackDensityEstimator
>
m_densityEstimator
{
93
this
,
94
"DensityEstimator"
,
95
"Trk::GaussianTrackDensity"
,
96
"Track density tool"
97
};
98
};
99
}
100
#endif
AthAlgTool.h
IVertexAnalyticSeedFinder.h
IVertexTrackDensityEstimator.h
Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition
GeoPrimitives.h:47
Trk::IMode1dFinder
Interface class for the algotool which calculates the mode of a unidimensional distribution.
Definition
IMode1dFinder.h:33
Trk::ITrackToVertexIPEstimator
Definition
ITrackToVertexIPEstimator.h:46
Trk::IVertexSeedFinder::findSeed
virtual Amg::Vector3D findSeed(const std::vector< const Trk::Track * > &vectorTrk, const xAOD::Vertex *constraint=0) const =0
Finds a linearization point out of a vector of tracks and returns it as an Amg::Vector3D object.
Trk::IVertexTrackDensityEstimator
An abstract base class for implementation of weight functions for seeding.
Definition
IVertexTrackDensityEstimator.h:33
Trk::TrackDensitySeedFinder::~TrackDensitySeedFinder
virtual ~TrackDensitySeedFinder()
Trk::TrackDensitySeedFinder::m_densityEstimator
ToolHandle< IVertexTrackDensityEstimator > m_densityEstimator
Definition
TrackDensitySeedFinder.h:92
Trk::TrackDensitySeedFinder::findMultiSeeds
virtual std::vector< Amg::Vector3D > findMultiSeeds(const std::vector< const Trk::Track * > &vectorTrk, const xAOD::Vertex *constraint=0) const override final
Finds full vector of linearization points from a vector of tracks and returns it as an Amg::Vector3D ...
Definition
TrackDensitySeedFinder.cxx:136
Trk::TrackDensitySeedFinder::TrackDensitySeedFinder
TrackDensitySeedFinder(const std::string &t, const std::string &n, const IInterface *p)
Definition
TrackDensitySeedFinder.cxx:25
Trk::TrackDensitySeedFinder::findAnalyticSeed
virtual std::pair< Amg::Vector3D, Amg::MatrixX > findAnalyticSeed(const std::vector< const Trk::TrackParameters * > &perigeeList, const xAOD::Vertex *constraint=0) const override final
Definition
TrackDensitySeedFinder.cxx:93
Trk::TrackDensitySeedFinder::initialize
virtual StatusCode initialize() override
Definition
TrackDensitySeedFinder.cxx:35
Trk::TrackDensitySeedFinder::finalize
virtual StatusCode finalize() override
Definition
TrackDensitySeedFinder.cxx:42
Trk::TrackDensitySeedFinder::findSeed
virtual Amg::Vector3D findSeed(const std::vector< const Trk::Track * > &vectorTrk, const xAOD::Vertex *constraint=0) const override final
Finds a linearization point out of a vector of tracks and returns it as an Amg::Vector3D object.
Definition
TrackDensitySeedFinder.cxx:48
Trk::Track
The ATLAS Track class.
Definition
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Trk::Vertex
This class is a simplest representation of a vertex candidate.
Definition
Tracking/TrkEvent/VxVertex/VxVertex/Vertex.h:26
pair
STL class.
vector
Definition
MultiHisto.h:13
const
Amg
Definition of ATLAS Math & Geometry primitives (Amg).
Definition
AmgStringHelpers.h:19
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition
GeoPrimitives.h:47
Track
Definition
TriggerChamberClusterOnTrackCreator.h:19
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Trk::TrackParameters
ParametersBase< TrackParametersDim, Charged > TrackParameters
Definition
Tracking/TrkEvent/TrkParameters/TrkParameters/TrackParameters.h:27
std
STL namespace.
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::Vertex
Vertex_v1 Vertex
Define the latest version of the vertex class.
Definition
Event/xAOD/xAODTracking/xAODTracking/Vertex.h:16
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0