ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkTools
TrkToolInterfaces
TrkToolInterfaces
ITruthToTrack.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// Dear emacs, this is -*-c++-*-
6
14
15
#ifndef ITRKTRUTHTOTRACK_H
16
#define ITRKTRUTHTOTRACK_H
17
18
#include "GaudiKernel/IAlgTool.h"
19
20
// FIXME: namespace Trk { TrackParameters; }
21
#include "
TrkParameters/TrackParameters.h
"
22
23
#include "
AtlasHepMC/GenParticle_fwd.h
"
24
25
#include "
xAODTruth/TruthParticle.h
"
26
//namespace xAOD { class TruthParticle; }
27
28
namespace
Trk
{
29
36
37
class
ITruthToTrack
:
virtual
public
IAlgTool {
38
public
:
39
40
static
const
InterfaceID&
interfaceID
() {
41
static
const
InterfaceID IID_ITruthToTrack(
"Trk::ITruthToTrack"
,1,0);
42
return
IID_ITruthToTrack;
43
}
44
45
virtual
~ITruthToTrack
() {}
46
54
virtual
const
Trk::TrackParameters
*
makeProdVertexParameters
(
HepMC::ConstGenParticlePtr
part)
const
= 0;
55
virtual
const
Trk::TrackParameters
*
makeProdVertexParameters
(
const
xAOD::TruthParticle
* part)
const
= 0;
56
64
virtual
const
Trk::TrackParameters
*
makePerigeeParameters
(
HepMC::ConstGenParticlePtr
part)
const
= 0;
65
virtual
const
Trk::TrackParameters
*
makePerigeeParameters
(
const
xAOD::TruthParticle
* part)
const
= 0;
66
67
};
68
69
}
// namespace Trk
70
71
#endif
/*ITRKTRUTHTOTRACK_H*/
TruthParticle.h
GenParticle_fwd.h
TrackParameters.h
Trk::ITruthToTrack
ITruthToTrack is an interface to create Trk::TrackParameters from a HepMC::GenParticle.
Definition
ITruthToTrack.h:37
Trk::ITruthToTrack::makeProdVertexParameters
virtual const Trk::TrackParameters * makeProdVertexParameters(const xAOD::TruthParticle *part) const =0
Trk::ITruthToTrack::interfaceID
static const InterfaceID & interfaceID()
Definition
ITruthToTrack.h:40
Trk::ITruthToTrack::makePerigeeParameters
virtual const Trk::TrackParameters * makePerigeeParameters(const xAOD::TruthParticle *part) const =0
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...
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::ITruthToTrack::~ITruthToTrack
virtual ~ITruthToTrack()
Definition
ITruthToTrack.h:45
HepMC::ConstGenParticlePtr
HepMC3::ConstGenParticlePtr ConstGenParticlePtr
Definition
GenParticle.h:20
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Trk::TrackParameters
ParametersBase< TrackParametersDim, Charged > TrackParameters
Definition
Tracking/TrkEvent/TrkParameters/TrkParameters/TrackParameters.h:27
xAOD::TruthParticle
TruthParticle_v1 TruthParticle
Typedef to implementation.
Definition
Event/xAOD/xAODTruth/xAODTruth/TruthParticle.h:15
Generated on
for ATLAS Offline Software by
1.17.0