ATLAS Offline Software
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
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
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*/
LArG4FSStartPointFilter.part
part
Definition:
LArG4FSStartPointFilter.py:21
TrackParameters.h
GenParticle_fwd.h
Trk::ITruthToTrack::interfaceID
static const InterfaceID & interfaceID()
Definition:
ITruthToTrack.h:40
Trk::ITruthToTrack::makeProdVertexParameters
virtual const Trk::TrackParameters * makeProdVertexParameters(const xAOD::TruthParticle *part) const =0
Trk::ITruthToTrack::~ITruthToTrack
virtual ~ITruthToTrack()
Definition:
ITruthToTrack.h:45
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition:
TruthParticle_v1.h:37
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::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.
TruthParticle.h
Trk::ITruthToTrack::makePerigeeParameters
virtual const Trk::TrackParameters * makePerigeeParameters(const xAOD::TruthParticle *part) const =0
Generated on Sun Dec 22 2024 21:12:08 for ATLAS Offline Software by
1.8.18