ATLAS Offline Software
TruthTrackRecordToTrack.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 #ifndef TRUTHRECORDTOTRACK_H
6 #define TRUTHRECORDTOTRACK_H
7 
10 #include "GaudiKernel/ToolHandle.h"
11 
13 #include <string>
16 
18 
19 namespace Trk {
20 
21  class IExtrapolator;
22 
37  class TruthTrackRecordToTrack final: virtual public ITruthToTrack, public AthAlgTool {
38  public:
39 
40  TruthTrackRecordToTrack(const std::string& type, const std::string& name, const IInterface* parent);
41  virtual StatusCode initialize();
42 
43  // virtual ~TruthTrackRecordToTrack ()
44 
53 
63 
64  private:
65  ToolHandle<Trk::IExtrapolator> m_extrapolator;
67 
72  };
73 }
74 
75 #endif/*TRUTHRECORDTOTRACK_H*/
LArG4FSStartPointFilter.part
part
Definition: LArG4FSStartPointFilter.py:21
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
Trk::TruthTrackRecordToTrack::operator=
TruthTrackRecordToTrack & operator=(const TruthTrackRecordToTrack &)=delete
Trk::TruthTrackRecordToTrack::TruthTrackRecordToTrack
TruthTrackRecordToTrack(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TruthTrackRecordToTrack.cxx:23
TrackParameters.h
Trk::TruthTrackRecordToTrack::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: TruthTrackRecordToTrack.cxx:45
Trk::TruthTrackRecordToTrack::initialize
virtual StatusCode initialize()
Definition: TruthTrackRecordToTrack.cxx:35
GenParticle_fwd.h
Trk::TruthTrackRecordToTrack::TruthTrackRecordToTrack
TruthTrackRecordToTrack(const TruthTrackRecordToTrack &)=delete
Forbid copying of Truth...ToTrack to not mess with the internal pointers.
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
Trk::TruthTrackRecordToTrack
Definition: TruthTrackRecordToTrack.h:37
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
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
Trk::TruthTrackRecordToTrack::m_reccollkey
SG::ReadHandleKey< TrackRecordCollection > m_reccollkey
Definition: TruthTrackRecordToTrack.h:66
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
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...
TrackRecordCollection.h
Trk::TruthTrackRecordToTrack::m_extrapolator
ToolHandle< Trk::IExtrapolator > m_extrapolator
Definition: TruthTrackRecordToTrack.h:65
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.
Trk::TruthTrackRecordToTrack::makePerigeeParameters
virtual const Trk::TrackParameters * makePerigeeParameters(HepMC::ConstGenParticlePtr part) const
This function extrapolates track to the perigee, and returns perigee parameters.
Definition: TruthTrackRecordToTrack.cxx:161
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26