ATLAS Offline Software
TruthTrackRecordToTrack.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 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>
14 #include "StoreGate/ReadHandleKey.h"
16 
17 namespace HepPDT { class ParticleDataTable; }
19 
20 namespace Trk {
21 
22  class IExtrapolator;
23 
38  class TruthTrackRecordToTrack final: virtual public ITruthToTrack, public AthAlgTool {
39  public:
40 
41  TruthTrackRecordToTrack(const std::string& type, const std::string& name, const IInterface* parent);
42  virtual StatusCode initialize();
43 
44  // virtual ~TruthTrackRecordToTrack ()
45 
54 
64 
65  private:
66  const HepPDT::ParticleDataTable *m_particleDataTable;
67  ToolHandle<Trk::IExtrapolator> m_extrapolator;
69 
74  };
75 }
76 
77 #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:24
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:59
Trk::TruthTrackRecordToTrack::initialize
virtual StatusCode initialize()
Definition: TruthTrackRecordToTrack.cxx:37
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:38
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:41
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
Trk::TruthTrackRecordToTrack::m_particleDataTable
const HepPDT::ParticleDataTable * m_particleDataTable
Definition: TruthTrackRecordToTrack.h:66
Trk::ParametersBase
Definition: ParametersBase.h:55
HepPDT
Definition: BeamHaloGenerator.h:13
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:68
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
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:67
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:197
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26