ATLAS Offline Software
Loading...
Searching...
No Matches
TrkExtrapolator.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6// TrkExtrapolator.h, (c) ATLAS Detector software
8
9#ifndef ISF_TRACKINGTOOLS_TRKEXTRAPOLATOR_H
10#define ISF_TRACKINGTOOLS_TRKEXTRAPOLATOR_H 1
11
12// class header
14
15// STL includes
16#include <string>
17
18// FrameWork includes
19#include "GaudiKernel/ToolHandle.h"
23
24// ISF includes
27
28namespace Trk {
29 class IExtrapolator;
30 class TrackingGeometry;
31 class TrackingVolume;
33}
34
35namespace ISF {
36
37 class ISFParticle;
38
39
46 class TrkExtrapolator : public extends<AthAlgTool, ISF::ITrkExtrapolator> {
47
48 public:
50 TrkExtrapolator( const std::string& t, const std::string& n, const IInterface* p );
51
54
56 virtual StatusCode initialize() override;
58 virtual StatusCode finalize() override;
59
61 virtual ISF::ISFParticle* extrapolate( const ISF::ISFParticle &particle ) const override;
62
63 private:
64
66 SG::ReadCondHandleKey<Trk::TrackingGeometry> m_trackingGeometryReadKey{this, "TrackingGeometryReadKey", "AtlasTrackingGeometry", "Key of input TrackingGeometry"};
67
69 ToolHandle<Trk::IExtrapolator> m_extrapolator;
70
73
75
76
77 };
78
79}
80
81
82#endif //> !ISF_TRACKINGTOOLS_TRKEXTRAPOLATOR_H
Cached pointer with atomic update.
Define macros for attributes used to control the static checker.
The generic ISF particle definition,.
Definition ISFParticle.h:42
virtual StatusCode initialize() override
Athena AlgTool initialization.
ToolHandle< Trk::IExtrapolator > m_extrapolator
extrapolation to calo entry
CxxUtils::CachedPointer< const Trk::TrackingVolume > m_trackingVolume ATLAS_THREAD_SAFE
volume within the extrapolation is carried out
Trk::PdgToParticleHypothesis * m_pdgToParticleHypothesis
converts PDG ID to hypothesis for TrackParameters
~TrkExtrapolator()
Destructor.
virtual StatusCode finalize() override
Athena AlgTool finalization.
TrkExtrapolator(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
std::string m_trackingVolumeName
name of the volume within the extrapolation is carried out
virtual ISF::ISFParticle * extrapolate(const ISF::ISFParticle &particle) const override
Extrapolate the given ISFParticle.
SG::ReadCondHandleKey< Trk::TrackingGeometry > m_trackingGeometryReadKey
tracking geometry for geometry signature
Interface class for the extrapolation AlgTool, it inherits from IAlgTool Detailed information about p...
small converter from the (abs) PDG code to the particle hypothsis used in Tracking
The TrackingGeometry class is the owner of the constructed TrackingVolumes.
Full Volume description used in Tracking, it inherits from Volume to get the geometrical structure,...
ISFParticleOrderedQueue.
Ensure that the ATLAS eigen extensions are properly loaded.
Cached pointer with atomic update.