Skip to content

Commit

Permalink
Merge branch 'main' into edm4hep-to-lcio-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell authored Oct 4, 2023
2 parents 6e825dd + ef75a5d commit d4d6e43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions k4EDM4hep2LcioConv/src/k4Lcio2EDM4hepConv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -747,8 +747,8 @@ namespace LCIO2EDM4hepConv {
for (auto& [lcio, edm] : recoparticlesMap) {
edmnum++;

const auto& vertex = lcio->getStartVertex();
if (vertex != nullptr) {
const auto vertex = lcio->getStartVertex();
if (vertex) {
if (const auto it = vertexMap.find(vertex); it != vertexMap.end()) {
edm.setStartVertex(it->second);
}
Expand Down
2 changes: 2 additions & 0 deletions tests/src/CompareEDM4hepLCIO.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

#include "IMPL/TrackerHitImpl.h"

#include <cstdint>

/**
* The basic implementation of the functionality has been generated via modified
* podio templates, employing some handwritten macros to facilitate the task.
Expand Down

0 comments on commit d4d6e43

Please sign in to comment.