ATLAS Offline Software
Public Member Functions | Static Public Member Functions | List of all members
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. More...
 
virtual HepMC::ConstGenParticlePtr getMother (const HepMC::ConstGenParticlePtr &part) const =0
 Previous particle on the truth trajectory or 0. More...
 
virtual HepMC::ConstGenParticlePtr getDaughter (const HepMC::ConstGenParticlePtr &part) const =0
 Next particle on the truth trajectory or 0. More...
 

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()

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

Definition at line 27 of file ITruthTrajectoryBuilder.h.

27 { return IID_ITruthTrajectoryBuilder; }

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