ATLAS Offline Software
LinkToXAODNeutralParticle.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRKTRACK_LINKTOXAODNEUTRALPARTICLE_H
6 #define TRKTRACK_LINKTOXAODNEUTRALPARTICLE_H
7 
8 #include "AthLinks/ElementLink.h"
10 
13 
14 namespace Trk {
30  : public ITrackLink
31  , public ElementLink<xAOD::NeutralParticleContainer>
32 {
33 
34 public:
37 
40 
45  virtual ~LinkToXAODNeutralParticle() = default;
46 
48  const TrackParameters* parameters() const override final { return nullptr; }
49 
52  const NeutralParameters* neutralParameters() const override final;
53 
55  LinkToXAODNeutralParticle* clone() const override final;
56 
57  virtual ITrackLinkType type() const override final
58  {
59  return ToxAODNeutralParticle;
60  }
61 }; // end of class definitions
62 } // end of namespace definitions
63 
64 #endif // TRKTRACK_LINKTOXAODNEUTRALPARTICLE_H
Trk::LinkToXAODNeutralParticle::operator=
LinkToXAODNeutralParticle & operator=(LinkToXAODNeutralParticle &&)=default
NeutralParameters.h
Trk::LinkToXAODNeutralParticle::LinkToXAODNeutralParticle
LinkToXAODNeutralParticle(const LinkToXAODNeutralParticle &)=default
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
Trk::LinkToXAODNeutralParticle::LinkToXAODNeutralParticle
LinkToXAODNeutralParticle()
default constructor (needed for persistency)
Definition: LinkToXAODNeutralParticle.cxx:10
Trk::LinkToXAODNeutralParticle::parameters
const TrackParameters * parameters() const override final
dummy function to return 0 if TrackParameters are asked for
Definition: LinkToXAODNeutralParticle.h:48
Trk::LinkToXAODNeutralParticle::operator=
LinkToXAODNeutralParticle & operator=(const LinkToXAODNeutralParticle &)=default
Trk::LinkToXAODNeutralParticle::LinkToXAODNeutralParticle
LinkToXAODNeutralParticle(LinkToXAODNeutralParticle &&)=default
Trk::LinkToXAODNeutralParticle::neutralParameters
const NeutralParameters * neutralParameters() const override final
return the neutral parameters of the neutral (to which the EL< NeutralCollection > points)
Definition: LinkToXAODNeutralParticle.cxx:20
Trk::ParametersBase
Definition: ParametersBase.h:55
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::LinkToXAODNeutralParticle::~LinkToXAODNeutralParticle
virtual ~LinkToXAODNeutralParticle()=default
NeutralParticleContainer.h
Trk::LinkToXAODNeutralParticle
Element link to XAOD NeutralParticle.
Definition: LinkToXAODNeutralParticle.h:32
Trk::LinkToXAODNeutralParticle::clone
LinkToXAODNeutralParticle * clone() const override final
method to clone the LinkToXAODNeutralParticle object
Definition: LinkToXAODNeutralParticle.cxx:33
Trk::LinkToXAODNeutralParticle::type
virtual ITrackLinkType type() const override final
return the type
Definition: LinkToXAODNeutralParticle.h:57