ATLAS Offline Software
Public Member Functions | Static Public Member Functions | List of all members
xAOD::ITruthParticlesInConeTool Class Referenceabstract

interface for collecting truth particles inside a cone More...

#include <ITruthParticlesInConeTool.h>

Inheritance diagram for xAOD::ITruthParticlesInConeTool:
Collaboration diagram for xAOD::ITruthParticlesInConeTool:

Public Member Functions

virtual bool particlesInCone (const EventContext &ctx, float eta, float phi, float dr, std::vector< const TruthParticle * > &output) const =0
 ITruthParticlesInConeTool interface: More...
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 

Detailed Description

interface for collecting truth particles inside a cone

Author
Niels van Eldik

Definition at line 25 of file ITruthParticlesInConeTool.h.

Member Function Documentation

◆ interfaceID()

const InterfaceID & xAOD::ITruthParticlesInConeTool::interfaceID ( )
inlinestatic

Definition at line 46 of file ITruthParticlesInConeTool.h.

47 {
48  return IID_ITruthParticlesInConeTool;
49 }

◆ particlesInCone()

virtual bool xAOD::ITruthParticlesInConeTool::particlesInCone ( const EventContext &  ctx,
float  eta,
float  phi,
float  dr,
std::vector< const TruthParticle * > &  output 
) const
pure virtual

ITruthParticlesInConeTool interface:

Parameters
[in]etaeta for matching
[in]phiphi for matching
[in]drcone size
[in]outputoutput vector to be filled
Returns
true if the calculation was successfull

Implemented in xAOD::TruthParticlesInConeTool.


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