ATLAS Offline Software
Public Member Functions | Static Public Member Functions | List of all members
IParticleExtrapolationTool Class Referenceabstract

Interface for extending Particles with calo intersections. More...

#include <IParticleExtrapolationTool.h>

Inheritance diagram for IParticleExtrapolationTool:
Collaboration diagram for IParticleExtrapolationTool:

Public Member Functions

virtual bool particleToCaloExtrapolate (const xAOD::IParticle &particle, const Trk::CaloExtension *&extension) const =0
 Method to dress a IParticle with the calo layers crossed by its track Tracks are decorated using the calo layer index and the intersection. More...
 
virtual Trk::CaloExtensioncaloExtension (const Trk::TrackParameters &startPars, Trk::PropDirection propDir, Trk::ParticleHypothesis particleType) const =0
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 

Detailed Description

Interface for extending Particles with calo intersections.

Definition at line 18 of file IParticleExtrapolationTool.h.

Member Function Documentation

◆ caloExtension()

virtual Trk::CaloExtension* IParticleExtrapolationTool::caloExtension ( const Trk::TrackParameters startPars,
Trk::PropDirection  propDir,
Trk::ParticleHypothesis  particleType 
) const
pure virtual

◆ interfaceID()

const InterfaceID & IParticleExtrapolationTool::interfaceID ( )
inlinestatic

Definition at line 37 of file IParticleExtrapolationTool.h.

37  {
38  return IID_IParticleExtrapolationTool;
39 }

◆ particleToCaloExtrapolate()

virtual bool IParticleExtrapolationTool::particleToCaloExtrapolate ( const xAOD::IParticle particle,
const Trk::CaloExtension *&  extension 
) const
pure virtual

Method to dress a IParticle with the calo layers crossed by its track Tracks are decorated using the calo layer index and the intersection.

Parameters
IParticlereference to the particle
extensionreference to a pointer to a CaloExtesion, will be updated if call is successfull NEVER delete the pointer, you will cause a crash!
Returns
true if the call was successful

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