Skip to content

Commit

Permalink
fix: add missing proto track output for truth seeding algo (#2082)
Browse files Browse the repository at this point in the history
somehow the proto track output in `TruthSeedingAlgorithm` is missing. this PR fixes this
  • Loading branch information
andiwand committed May 4, 2023
1 parent 14e722e commit 6a0cb8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ ActsExamples::TruthSeedingAlgorithm::TruthSeedingAlgorithm(
m_inputParticles.initialize(m_cfg.inputParticles);
m_inputMeasurementParticlesMap.initialize(m_cfg.inputMeasurementParticlesMap);
m_outputParticles.initialize(m_cfg.outputParticles);
m_outputProtoTracks.initialize(m_cfg.outputProtoTracks);
m_outputSeeds.initialize(m_cfg.outputSeeds);
}

Expand Down Expand Up @@ -184,6 +185,7 @@ ActsExamples::ProcessCode ActsExamples::TruthSeedingAlgorithm::execute(
ACTS_VERBOSE("Found " << seeds.size() << " seeds");

m_outputParticles(ctx, std::move(seededParticles));
m_outputProtoTracks(ctx, std::move(tracks));
m_outputSeeds(ctx, std::move(seeds));

return ActsExamples::ProcessCode::SUCCESS;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ class TruthSeedingAlgorithm final : public IAlgorithm {

WriteDataHandle<SimParticleContainer> m_outputParticles{this,
"OutputParticles"};
WriteDataHandle<ProtoTrackContainer> m_outputFullProtoTracks{
this, "OutputFullProtoTracks"};
WriteDataHandle<ProtoTrackContainer> m_outputProtoTracks{this,
"OutputProtoTracks"};
WriteDataHandle<SimSeedContainer> m_outputSeeds{this, "OutputSeeds"};
};

Expand Down

0 comments on commit 6a0cb8a

Please sign in to comment.