ATLAS Offline Software
Loading...
Searching...
No Matches
LinkToXAODTrackParticle.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
8
9namespace Trk {
13
18
19const TrackParameters*
21{
22 if (isValid()) {
23 const xAOD::TrackParticle* trk = this->cachedElement();
24 if (nullptr != trk) {
25 return &(trk->perigeeParameters());
26 }
27 return nullptr;
28 }
29 return nullptr;
30} // end of parameters method
31
37
38} // end of namespace definitions
Element link to XAOD TrackParticle.
LinkToXAODTrackParticle()
default constructor (needed for persistency)
virtual const TrackParameters * parameters() const override final
return the track parameters of the track (to which the EL< TrackCollection
virtual LinkToXAODTrackParticle * clone() const override final
method to clone the LinkToXAODTrackParticle object
const Trk::Perigee & perigeeParameters() const
Returns the Trk::MeasuredPerigee track parameters.
Ensure that the ATLAS eigen extensions are properly loaded.
ParametersBase< TrackParametersDim, Charged > TrackParameters
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
TrackParticle_v1 TrackParticle
Reference the current persistent version: