#include <TrkExtrapolator.h>
An Athena AlgTool wrapper for the Tracking Extrapolator engine.
- Author
- Elmar.nosp@m..Rit.nosp@m.sch@c.nosp@m.ern..nosp@m.ch (refactored original implementation by Robert Harrington rober.nosp@m.th@c.nosp@m.ern.c.nosp@m.h)
Definition at line 46 of file TrkExtrapolator.h.
◆ TrkExtrapolator()
ISF::TrkExtrapolator::TrkExtrapolator |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
Constructor with parameters.
Constructor.
Definition at line 17 of file TrkExtrapolator.cxx.
24 declareProperty(
"TrackingVolumeName",
26 "Name of the TrackingVolume within which the extrapolation is to be carried out");
27 declareProperty(
"Extrapolator",
29 "Extrapolator used for track extrapolation" );
◆ ~TrkExtrapolator()
ISF::TrkExtrapolator::~TrkExtrapolator |
( |
| ) |
|
◆ extrapolate()
Extrapolate the given ISFParticle.
Extrapolate the given ISFParticle to the given TrackingVolume name.
Definition at line 66 of file TrkExtrapolator.cxx.
68 const EventContext& ctx = Gaudi::Hive::currentContext();
74 if ( !m_trackingVolume.get() ) {
77 if (!readHandle.isValid() || *readHandle ==
nullptr) {
84 if (!trackingVolume) {
88 m_trackingVolume.set(trackingVolume);
94 int absPdg = abs(
particle.pdgCode());
106 *m_trackingVolume.get(),
108 particleHypo).release();
111 ISFParticle *extrapolatedParticle =
new ISFParticle( extrapolatedPars->
position(),
123 delete extrapolatedPars;
125 return extrapolatedParticle;
◆ finalize()
StatusCode ISF::TrkExtrapolator::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
StatusCode ISF::TrkExtrapolator::initialize |
( |
| ) |
|
|
overridevirtual |
Athena AlgTool initialization.
Definition at line 40 of file TrkExtrapolator.cxx.
47 return StatusCode::FAILURE;
53 return StatusCode::SUCCESS;
◆ ATLAS_THREAD_SAFE
volume within the extrapolation is carried out
Definition at line 72 of file TrkExtrapolator.h.
◆ m_extrapolator
extrapolation to calo entry
ToolHandle for track extrapolator
Definition at line 69 of file TrkExtrapolator.h.
◆ m_pdgToParticleHypothesis
converts PDG ID to hypothesis for TrackParameters
Definition at line 74 of file TrkExtrapolator.h.
◆ m_trackingGeometryReadKey
◆ m_trackingVolumeName
std::string ISF::TrkExtrapolator::m_trackingVolumeName |
|
private |
name of the volume within the extrapolation is carried out
Definition at line 71 of file TrkExtrapolator.h.
The documentation for this class was generated from the following files:
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Trk::ParticleHypothesis convert(int pdg, bool &stable, bool &exiting, double charge=1.) const
Converter method : PDG -> Particle Hyptothesis.