ATLAS Offline Software
Public Member Functions | List of all members
InDet::IInDetTrackTruthOriginTool Class Referenceabstract

#include <IInDetTrackTruthOriginTool.h>

Inheritance diagram for InDet::IInDetTrackTruthOriginTool:
Collaboration diagram for InDet::IInDetTrackTruthOriginTool:

Public Member Functions

virtual StatusCode initialize ()=0
 
virtual const xAOD::TruthParticlegetTruth (const xAOD::TrackParticle *track) const =0
 Safely access a track's linked truth particle, if available. More...
 
virtual int getTruthOrigin (const xAOD::TruthParticle *truth) const =0
 Computes the truth particle origin. More...
 
virtual int getTrackOrigin (const xAOD::TrackParticle *track) const =0
 Computes the track origin. More...
 
virtual bool isFrom (const xAOD::TruthParticle *truth, int flav) const =0
 Check if a truth particle is from the specified origin (from B or D hadron, or tau) More...
 
virtual void print () const =0
 Print the state of the tool. More...
 

Detailed Description

This class determines the truth origin of a track

Author
Remi Zaidan (remi..nosp@m.zaid.nosp@m.an@ce.nosp@m.rn.c.nosp@m.h)
Felix Clark (micha.nosp@m.el.r.nosp@m.yan.c.nosp@m.lark.nosp@m.@cern.nosp@m..ch)

Definition at line 22 of file IInDetTrackTruthOriginTool.h.

Member Function Documentation

◆ getTrackOrigin()

virtual int InDet::IInDetTrackTruthOriginTool::getTrackOrigin ( const xAOD::TrackParticle track) const
pure virtual

Computes the track origin.

Implemented in InDet::InDetTrackTruthOriginTool.

◆ getTruth()

virtual const xAOD::TruthParticle* InDet::IInDetTrackTruthOriginTool::getTruth ( const xAOD::TrackParticle track) const
pure virtual

Safely access a track's linked truth particle, if available.

Implemented in InDet::InDetTrackTruthOriginTool.

◆ getTruthOrigin()

virtual int InDet::IInDetTrackTruthOriginTool::getTruthOrigin ( const xAOD::TruthParticle truth) const
pure virtual

Computes the truth particle origin.

Implemented in InDet::InDetTrackTruthOriginTool.

◆ initialize()

virtual StatusCode InDet::IInDetTrackTruthOriginTool::initialize ( )
pure virtual

◆ isFrom()

virtual bool InDet::IInDetTrackTruthOriginTool::isFrom ( const xAOD::TruthParticle truth,
int  flav 
) const
pure virtual

Check if a truth particle is from the specified origin (from B or D hadron, or tau)

Implemented in InDet::InDetTrackTruthOriginTool.

◆ print()

virtual void asg::IAsgTool::print ( ) const
pure virtualinherited

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