ATLAS Offline Software
Loading...
Searching...
No Matches
Trk::ITruthTrajectoryBuilder Class Referenceabstract

#include <ITruthTrajectoryBuilder.h>

Inheritance diagram for Trk::ITruthTrajectoryBuilder:
Collaboration diagram for Trk::ITruthTrajectoryBuilder:

Public Member Functions

virtual void buildTruthTrajectory (TruthTrajectory *result, const HepMC::ConstGenParticlePtr &input) const =0
 Build a TruthTrajectory this particle belongs to.
virtual HepMC::ConstGenParticlePtr getMother (const HepMC::ConstGenParticlePtr &part) const =0
 Previous particle on the truth trajectory or 0.
virtual HepMC::ConstGenParticlePtr getDaughter (const HepMC::ConstGenParticlePtr &part) const =0
 Next particle on the truth trajectory or 0.

Static Public Member Functions

static const InterfaceID & interfaceID ()

Detailed Description

Definition at line 25 of file ITruthTrajectoryBuilder.h.

Member Function Documentation

◆ buildTruthTrajectory()

virtual void Trk::ITruthTrajectoryBuilder::buildTruthTrajectory ( TruthTrajectory * result,
const HepMC::ConstGenParticlePtr & input ) const
pure virtual

Build a TruthTrajectory this particle belongs to.


The result may be an empty TruthTrajectory (in case input did not pass the cuts).

Implemented in Muon::MuonDecayTruthTrajectoryBuilder, Trk::DecayInFlyTruthTrajectoryBuilder, and Trk::ElasticTruthTrajectoryBuilder.

◆ getDaughter()

virtual HepMC::ConstGenParticlePtr Trk::ITruthTrajectoryBuilder::getDaughter ( const HepMC::ConstGenParticlePtr & part) const
pure virtual

◆ getMother()

virtual HepMC::ConstGenParticlePtr Trk::ITruthTrajectoryBuilder::getMother ( const HepMC::ConstGenParticlePtr & part) const
pure virtual

Previous particle on the truth trajectory or 0.

Implemented in Muon::MuonDecayTruthTrajectoryBuilder, Trk::DecayInFlyTruthTrajectoryBuilder, and Trk::ElasticTruthTrajectoryBuilder.

◆ interfaceID()

const InterfaceID & Trk::ITruthTrajectoryBuilder::interfaceID ( )
inlinestatic

Definition at line 27 of file ITruthTrajectoryBuilder.h.

static const InterfaceID IID_ITruthTrajectoryBuilder("Trk::ITruthTrajectoryBuilder", 1, 0)

The documentation for this class was generated from the following file: