Skip to content

Commit

Permalink
Remove the check for TrackerHit3D from edm4hep (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell authored Dec 10, 2024
1 parent 7a9b961 commit 09a5767
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 27 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ project(k4FWCore)
find_package(ROOT COMPONENTS RIO Tree REQUIRED)
find_package(Gaudi REQUIRED)
find_package(podio 1.0.1 REQUIRED)
find_package(EDM4HEP REQUIRED)
find_package(EDM4HEP 0.99 REQUIRED)

include(cmake/Key4hepConfig.cmake)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,7 @@
#include "edm4hep/MCParticleCollection.h"
#include "edm4hep/SimTrackerHitCollection.h"
#include "edm4hep/TrackCollection.h"
#if __has_include("edm4hep/TrackerHit3DCollection.h")
#include "edm4hep/TrackerHit3DCollection.h"
#else
#include "edm4hep/TrackerHitCollection.h"
namespace edm4hep {
using TrackerHit3DCollection = edm4hep::TrackerHitCollection;
} // namespace edm4hep
#endif
#include "podio/UserDataCollection.h"

#include <string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,8 @@
#include "edm4hep/MCParticleCollection.h"
#include "edm4hep/SimTrackerHitCollection.h"
#include "edm4hep/TrackCollection.h"
#if __has_include("edm4hep/TrackerHit3DCollection.h")
#include "edm4hep/TrackerHit3DCollection.h"
#else
#include "edm4hep/TrackerHitCollection.h"

namespace edm4hep {
using TrackerHit3DCollection = edm4hep::TrackerHitCollection;
} // namespace edm4hep
#endif
#include "podio/UserDataCollection.h"

#include "k4FWCore/Transformer.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,14 @@
#ifndef K4FWCORE_K4FWCORETEST_CREATEEXAMPLEEVENTDATA
#define K4FWCORE_K4FWCORETEST_CREATEEXAMPLEEVENTDATA

// GAUDI
#include "Gaudi/Algorithm.h"

// key4hep
#include "k4FWCore/DataHandle.h"

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

// podio
#include "podio/UserDataCollection.h"

// datamodel
namespace edm4hep {
class MCParticleCollection;
class SimTrackerHitCollection;
Expand Down

0 comments on commit 09a5767

Please sign in to comment.