16 #include <edm4hep/TrackCollection.h>
17 #include <podio/Frame.h>
19 namespace ActsExamples {
26 throw std::invalid_argument(
"Missing output trajectories collection");
35 return {0,
m_reader.getEntries(
"events")};
39 return "EDM4hepTrackReader";
45 const auto& trackCollection =
48 auto trackContainer = std::make_shared<Acts::VectorTrackContainer>();
49 auto trackStateContainer = std::make_shared<Acts::VectorMultiTrajectory>();
52 for (
const auto& inputTrack : trackCollection) {
53 auto track = tracks.getTrack(tracks.addTrack());
58 std::make_shared<Acts::ConstVectorTrackContainer>(
60 std::make_shared<Acts::ConstVectorMultiTrajectory>(