Skip to content

Commit

Permalink
Remove the check for TrackerHit3D from edm4hep (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell authored Jan 3, 2025
1 parent d542997 commit dd9afc8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ find_package(ROOT COMPONENTS RIO Tree)
# Load macros and functions for Gaudi-based projects
find_package(Gaudi)
find_package(k4FWCore)
find_package(EDM4HEP 0.10.1)
find_package(Geant4)
find_package(DD4hep)
find_package(CLHEP)
find_package(EDM4HEP 0.99)
#---------------------------------------------------------------

include(GNUInstallDirs)
Expand Down
7 changes: 0 additions & 7 deletions SimG4Components/src/SimG4SaveTrajectory.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,7 @@
#include "SimG4Interface/ISimG4SaveOutputTool.h"
class IGeoSvc;

#if __has_include("edm4hep/TrackerHit3DCollection.h")
#include "edm4hep/TrackerHit3DCollection.h"
#else
#include "edm4hep/TrackerHitCollection.h"
namespace edm4hep {
using TrackerHit3DCollection = edm4hep::TrackerHitCollection;
}
#endif

/** @class SimG4SaveTrajectory SimG4Components/src/SimG4SaveTrajectory.h SimG4SaveTrajectory.h
*
Expand Down

0 comments on commit dd9afc8

Please sign in to comment.