ATLAS Offline Software
|
ITruthToTrack is an interface to create Trk::TrackParameters from a HepMC::GenParticle. More...
#include <ITruthToTrack.h>
Public Member Functions | |
virtual | ~ITruthToTrack () |
virtual const Trk::TrackParameters * | makeProdVertexParameters (HepMC::ConstGenParticlePtr part) const =0 |
This function produces a Trk::TrackParameters object corresponding to the HepMC::GenParticle at the production vertex. More... | |
virtual const Trk::TrackParameters * | makeProdVertexParameters (const xAOD::TruthParticle *part) const =0 |
virtual const Trk::TrackParameters * | makePerigeeParameters (HepMC::ConstGenParticlePtr part) const =0 |
This function extrapolates track to the perigee, and returns perigee parameters. More... | |
virtual const Trk::TrackParameters * | makePerigeeParameters (const xAOD::TruthParticle *part) const =0 |
Static Public Member Functions | |
static const InterfaceID & | interfaceID () |
ITruthToTrack is an interface to create Trk::TrackParameters from a HepMC::GenParticle.
The motivation is to use a Trk::IExtrapolator for extrapolation of "true" track parameters.
Definition at line 37 of file ITruthToTrack.h.
|
inlinevirtual |
Definition at line 45 of file ITruthToTrack.h.
|
inlinestatic |
Definition at line 40 of file ITruthToTrack.h.
|
pure virtual |
Implemented in Trk::TruthTrackRecordToTrack, and Trk::TruthToTrack.
|
pure virtual |
This function extrapolates track to the perigee, and returns perigee parameters.
The return value points to an object allocated with the operator new. The caller is responsible for deletion of the object.
Implemented in Trk::TruthTrackRecordToTrack, and Trk::TruthToTrack.
|
pure virtual |
Implemented in Trk::TruthTrackRecordToTrack, and Trk::TruthToTrack.
|
pure virtual |
This function produces a Trk::TrackParameters object corresponding to the HepMC::GenParticle at the production vertex.
The object is allocated using operator new and returned by pointer. The caller is responsible for deletion of the object. (Wrapping it into a smart pointer may be the most convenient way to make sure the memory is freed.)
Implemented in Trk::TruthTrackRecordToTrack, and Trk::TruthToTrack.