Skip to content

Commit

Permalink
Merge pull request #265 from mirguest/master
Browse files Browse the repository at this point in the history
According to comment from Thomas, use (0, 10, 5)
  • Loading branch information
mirguest authored Feb 22, 2024
2 parents 23b8021 + 637085a commit b16c531
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Utilities/DataHelper/include/DataHelper/Navigation.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Navigation{
void AddTrackerHitCollection(const edm4hep::TrackerHitCollection* col){m_hitColVec.push_back(col);};
void AddTrackerAssociationCollection(const edm4hep::MCRecoTrackerAssociationCollection* col){m_assColVec.push_back(col);};

#if EDM4HEP_BUILD_VERSION <= EDM4HEP_VERSION(0, 10, 4)
#if EDM4HEP_BUILD_VERSION <= EDM4HEP_VERSION(0, 10, 5)
edm4hep::TrackerHit GetTrackerHit(const edm4hep::ObjectID& id, bool delete_by_caller=true);
std::vector<edm4hep::SimTrackerHit> GetRelatedTrackerHit(const edm4hep::ObjectID& id);
#else
Expand Down
4 changes: 2 additions & 2 deletions Utilities/DataHelper/src/Navigation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void Navigation::Initialize(){
m_trkHits.clear();
}

#if EDM4HEP_BUILD_VERSION <= EDM4HEP_VERSION(0, 10, 4)
#if EDM4HEP_BUILD_VERSION <= EDM4HEP_VERSION(0, 10, 5)
edm4hep::TrackerHit Navigation::GetTrackerHit(const edm4hep::ObjectID& obj_id, bool delete_by_caller){
#else
edm4hep::TrackerHit Navigation::GetTrackerHit(const podio::ObjectID& obj_id, bool delete_by_caller){
Expand Down Expand Up @@ -61,7 +61,7 @@ edm4hep::TrackerHit Navigation::GetTrackerHit(const podio::ObjectID& obj_id, boo
throw std::runtime_error("Not found TrackerHit");
}

#if EDM4HEP_BUILD_VERSION <= EDM4HEP_VERSION(0, 10, 4)
#if EDM4HEP_BUILD_VERSION <= EDM4HEP_VERSION(0, 10, 5)
std::vector<edm4hep::SimTrackerHit> Navigation::GetRelatedTrackerHit(const edm4hep::ObjectID& id){
#else
std::vector<edm4hep::SimTrackerHit> Navigation::GetRelatedTrackerHit(const podio::ObjectID& id){
Expand Down

0 comments on commit b16c531

Please sign in to comment.