ATLAS Offline Software
Loading...
Searching...
No Matches
Z0PVTrackCompatibilityEstimator.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRK_Z0PVTRACKCOMPATIBILITYESTIMATOR_H
6#define TRK_Z0PVTRACKCOMPATIBILITYESTIMATOR_H
7
8
10#include "GaudiKernel/ToolHandle.h"
16
17
18
19namespace Trk{
20
21 class Track;
23
24
42
43
44 class Z0PVTrackCompatibilityEstimator : public extends<AthAlgTool, IPVTrackCompatibilityEstimator> {
45
46 public:
47 Z0PVTrackCompatibilityEstimator(const std::string& type, const std::string& name, const IInterface* parent);
49
50 virtual StatusCode initialize();
51 virtual StatusCode finalize();
52
53 bool isCompatible(const xAOD::TrackParticle* track,
54 const xAOD::VertexContainer* pvContainer, unsigned int pvIndex = 0) const;
55
56 bool isCompatible(const TrackParameters* track,
57 const xAOD::VertexContainer* pvContainer, unsigned int pvIndex = 0) const;
58
59 private:
60 ToolHandle< Trk::ITrackToVertexIPEstimator > m_ipEstimator;
61
63
64 };
65
66}
67
68#endif
ToolHandle< Trk::ITrackToVertexIPEstimator > m_ipEstimator
Z0PVTrackCompatibilityEstimator(const std::string &type, const std::string &name, const IInterface *parent)
bool isCompatible(const xAOD::TrackParticle *track, const xAOD::VertexContainer *pvContainer, unsigned int pvIndex=0) const
Ensure that the ATLAS eigen extensions are properly loaded.
ParametersBase< TrackParametersDim, Charged > TrackParameters
TrackParticle_v1 TrackParticle
Reference the current persistent version:
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".