ATLAS Offline Software
Loading...
Searching...
No Matches
ActsTrk::GnnSeedingTool Class Reference

Seeding tool that delegates seed finding to the GNN pipeline and exposes the result through the ISeedingTool interface. More...

#include <GnnSeedingTool.h>

Inheritance diagram for ActsTrk::GnnSeedingTool:
Collaboration diagram for ActsTrk::GnnSeedingTool:

Public Member Functions

virtual StatusCode initialize () override
virtual StatusCode createSeeds (const EventContext &ctx, const std::vector< const xAOD::SpacePointContainer * > &spacePointCollections, const Eigen::Vector3f &beamSpotPos, float bFieldInZ, ActsTrk::SeedContainer &seedContainer) const override

Private Attributes

ToolHandle< ActsTrk::IGnnPipelineToolm_gnnPipelineTool

Detailed Description

Seeding tool that delegates seed finding to the GNN pipeline and exposes the result through the ISeedingTool interface.

Each GNN track candidate is passed on as one (long) seed.

Definition at line 23 of file GnnSeedingTool.h.

Member Function Documentation

◆ createSeeds()

StatusCode ActsTrk::GnnSeedingTool::createSeeds ( const EventContext & ctx,
const std::vector< const xAOD::SpacePointContainer * > & spacePointCollections,
const Eigen::Vector3f & beamSpotPos,
float bFieldInZ,
ActsTrk::SeedContainer & seedContainer ) const
overridevirtual

Definition at line 18 of file GnnSeedingTool.cxx.

22 {
23 ATH_CHECK(m_gnnPipelineTool->buildSeed(spacePointCollections, seedContainer));
24 ATH_MSG_DEBUG("GNN pipeline produced " << seedContainer.size() << " seeds");
25 return StatusCode::SUCCESS;
26}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x,...)
ToolHandle< ActsTrk::IGnnPipelineTool > m_gnnPipelineTool
std::size_t size() const noexcept

◆ initialize()

StatusCode ActsTrk::GnnSeedingTool::initialize ( )
overridevirtual

Definition at line 12 of file GnnSeedingTool.cxx.

12 {
13 ATH_MSG_DEBUG("Initializing " << name() << " ...");
14 ATH_CHECK(m_gnnPipelineTool.retrieve());
15 return StatusCode::SUCCESS;
16}

Member Data Documentation

◆ m_gnnPipelineTool

ToolHandle<ActsTrk::IGnnPipelineTool> ActsTrk::GnnSeedingTool::m_gnnPipelineTool
private
Initial value:
{
this, "GnnPipelineTool", "", "GNN seeding pipeline"}

Definition at line 37 of file GnnSeedingTool.h.

37 {
38 this, "GnnPipelineTool", "", "GNN seeding pipeline"};

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