ATLAS Offline Software
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 
9 namespace Trk {
12 {}
13 
17 {}
18 
19 const 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 
34 {
35  return new LinkToXAODTrackParticle(*this);
36 }
37 
38 } // end of namespace definitions
AthCUDAExamples::TrackParticleContainer
vecmem::edm::container< TrackParticleInterface, vecmem::edm::type::vector< float >, vecmem::edm::type::vector< float >, vecmem::edm::type::vector< float > > TrackParticleContainer
SoA, GPU friendly TrackParticleContainer.
Definition: Control/AthenaExamples/AthExCUDA/src/TrackParticleContainer.h:46
Trk::LinkToXAODTrackParticle::LinkToXAODTrackParticle
LinkToXAODTrackParticle()
default constructor (needed for persistency)
Definition: LinkToXAODTrackParticle.cxx:10
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
Trk::LinkToXAODTrackParticle::parameters
virtual const TrackParameters * parameters() const override final
return the track parameters of the track (to which the EL< TrackCollection points)
Definition: LinkToXAODTrackParticle.cxx:20
xAOD::TrackParticle_v1::perigeeParameters
const Trk::Perigee & perigeeParameters() const
Returns the Trk::MeasuredPerigee track parameters.
Definition: TrackParticle_v1.cxx:485
LinkToXAODTrackParticle.h
Trk::LinkToXAODTrackParticle
Element link to XAOD TrackParticle.
Definition: LinkToXAODTrackParticle.h:33
Trk::ParametersBase
Definition: ParametersBase.h:55
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
TrackParticle.h
Trk::LinkToXAODTrackParticle::clone
virtual LinkToXAODTrackParticle * clone() const override final
method to clone the LinkToXAODTrackParticle object
Definition: LinkToXAODTrackParticle.cxx:33
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
TrackParticleContainer.h