ATLAS Offline Software
TruthToTrack.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // Dear emacs, this is -*-c++-*-
6 
15 #ifndef TRUTHTOTRACK_H
16 #define TRUTHTOTRACK_H
17 
18 #include "GaudiKernel/ToolHandle.h"
23 
24 namespace Trk {
25 
26 
27  class TruthToTrack : virtual public ITruthToTrack,
28  public ::AthAlgTool
29  {
30  public:
31  // FIXME: interfaceID() should not be here, but clients that use TruthToTrack directly
32  // (not via ITruthToTrack) will break without this:
33  // static const InterfaceID& interfaceID() { return ITruthToTrack::interfaceID(); }
34 
35  TruthToTrack(const std::string& type, const std::string& name, const IInterface* parent);
36 
37  virtual StatusCode initialize();
38 
43 
50 
51  private:
52  ToolHandle<Trk::IExtrapolator> m_extrapolator;
53  };
54 }
55 
56 #endif/*TRUTHTOTRACK_H*/
LArG4FSStartPointFilter.part
part
Definition: LArG4FSStartPointFilter.py:21
Trk::TruthToTrack::TruthToTrack
TruthToTrack(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TruthToTrack.cxx:23
TrackParameters.h
IExtrapolator.h
Trk::TruthToTrack
Definition: TruthToTrack.h:29
Trk::TruthToTrack::makeProdVertexParameters
virtual const Trk::TrackParameters * makeProdVertexParameters(HepMC::ConstGenParticlePtr part) const
This function produces a Trk::TrackParameters object corresponding to the HepMC::GenParticle at the p...
Definition: TruthToTrack.cxx:40
Trk::TruthToTrack::makePerigeeParameters
virtual const Trk::TrackParameters * makePerigeeParameters(HepMC::ConstGenParticlePtr part) const
This function extrapolates track to the perigee, and returns perigee parameters.
Definition: TruthToTrack.cxx:99
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition: TruthParticle_v1.h:37
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
Trk::ParametersBase
Definition: ParametersBase.h:55
Trk::TruthToTrack::m_extrapolator
ToolHandle< Trk::IExtrapolator > m_extrapolator
Definition: TruthToTrack.h:52
HepMC::ConstGenParticlePtr
const GenParticle * ConstGenParticlePtr
Definition: GenParticle.h:38
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::ITruthToTrack
ITruthToTrack is an interface to create Trk::TrackParameters from a HepMC::GenParticle.
Definition: ITruthToTrack.h:37
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
Trk::ITruthToTrack::makeProdVertexParameters
virtual const Trk::TrackParameters * makeProdVertexParameters(HepMC::ConstGenParticlePtr part) const =0
This function produces a Trk::TrackParameters object corresponding to the HepMC::GenParticle at the p...
ITruthToTrack.h
Trk::ITruthToTrack::makePerigeeParameters
virtual const Trk::TrackParameters * makePerigeeParameters(HepMC::ConstGenParticlePtr part) const =0
This function extrapolates track to the perigee, and returns perigee parameters.
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Trk::TruthToTrack::initialize
virtual StatusCode initialize()
Definition: TruthToTrack.cxx:32
AthAlgTool
Definition: AthAlgTool.h:26