ATLAS Offline Software
Loading...
Searching...
No Matches
Simulation
ISF
ISF_Tracking
ISF_TrackingTools
src
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
13
#include "
ISF_TrackingInterfaces/ITrkExtrapolator.h
"
14
15
// STL includes
16
#include <string>
17
18
// FrameWork includes
19
#include "GaudiKernel/ToolHandle.h"
20
#include "
AthenaBaseComps/AthAlgTool.h
"
21
#include "
CxxUtils/CachedPointer.h
"
22
#include "
CxxUtils/checker_macros.h
"
23
24
// ISF includes
25
#include "
ISF_Event/ISFParticle.h
"
26
#include "
TrkGeometry/TrackingGeometry.h
"
27
28
namespace
Trk
{
29
class
IExtrapolator
;
30
class
TrackingGeometry
;
31
class
TrackingVolume
;
32
class
PdgToParticleHypothesis
;
33
}
34
35
namespace
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
53
~TrkExtrapolator
();
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
71
std::string
m_trackingVolumeName
;
72
mutable
CxxUtils::CachedPointer<const Trk::TrackingVolume>
m_trackingVolume
ATLAS_THREAD_SAFE
;
73
74
Trk::PdgToParticleHypothesis
*
m_pdgToParticleHypothesis
;
75
76
77
};
78
79
}
80
81
82
#endif
//> !ISF_TRACKINGTOOLS_TRKEXTRAPOLATOR_H
AthAlgTool.h
CachedPointer.h
Cached pointer with atomic update.
ISFParticle.h
ITrkExtrapolator.h
TrackingGeometry.h
checker_macros.h
Define macros for attributes used to control the static checker.
ISF::ISFParticle
The generic ISF particle definition,.
Definition
ISFParticle.h:42
ISF::TrkExtrapolator::initialize
virtual StatusCode initialize() override
Athena AlgTool initialization.
Definition
TrkExtrapolator.cxx:40
ISF::TrkExtrapolator::m_extrapolator
ToolHandle< Trk::IExtrapolator > m_extrapolator
extrapolation to calo entry
Definition
TrkExtrapolator.h:69
ISF::TrkExtrapolator::ATLAS_THREAD_SAFE
CxxUtils::CachedPointer< const Trk::TrackingVolume > m_trackingVolume ATLAS_THREAD_SAFE
volume within the extrapolation is carried out
Definition
TrkExtrapolator.h:72
ISF::TrkExtrapolator::m_pdgToParticleHypothesis
Trk::PdgToParticleHypothesis * m_pdgToParticleHypothesis
converts PDG ID to hypothesis for TrackParameters
Definition
TrkExtrapolator.h:74
ISF::TrkExtrapolator::~TrkExtrapolator
~TrkExtrapolator()
Destructor.
Definition
TrkExtrapolator.cxx:33
ISF::TrkExtrapolator::finalize
virtual StatusCode finalize() override
Athena AlgTool finalization.
Definition
TrkExtrapolator.cxx:57
ISF::TrkExtrapolator::TrkExtrapolator
TrkExtrapolator(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
Definition
TrkExtrapolator.cxx:17
ISF::TrkExtrapolator::m_trackingVolumeName
std::string m_trackingVolumeName
name of the volume within the extrapolation is carried out
Definition
TrkExtrapolator.h:71
ISF::TrkExtrapolator::extrapolate
virtual ISF::ISFParticle * extrapolate(const ISF::ISFParticle &particle) const override
Extrapolate the given ISFParticle.
Definition
TrkExtrapolator.cxx:66
ISF::TrkExtrapolator::m_trackingGeometryReadKey
SG::ReadCondHandleKey< Trk::TrackingGeometry > m_trackingGeometryReadKey
tracking geometry for geometry signature
Definition
TrkExtrapolator.h:66
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
Trk::IExtrapolator
Interface class for the extrapolation AlgTool, it inherits from IAlgTool Detailed information about p...
Definition
IExtrapolator.h:62
Trk::PdgToParticleHypothesis
small converter from the (abs) PDG code to the particle hypothsis used in Tracking
Definition
PdgToParticleHypothesis.h:29
Trk::TrackingGeometry
The TrackingGeometry class is the owner of the constructed TrackingVolumes.
Definition
TrackingGeometry.h:66
Trk::TrackingVolume
Full Volume description used in Tracking, it inherits from Volume to get the geometrical structure,...
Definition
TrackingVolume.h:119
ISF
ISFParticleOrderedQueue.
Definition
PrimaryParticleInformation.h:13
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
CxxUtils::CachedPointer
Cached pointer with atomic update.
Definition
CachedPointer.h:57
Generated on
for ATLAS Offline Software by
1.14.0