Skip to content

Commit

Permalink
Add the edm4hep includes to allow compilation with clang (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell authored Jan 27, 2024
1 parent 24084df commit 79d3dd4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 30 deletions.
30 changes: 14 additions & 16 deletions k4MarlinWrapper/src/components/GlobalConvertedObjectsMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@

#include "k4EDM4hep2LcioConv/MappingUtils.h"

#include "edm4hep/CalorimeterHit.h"
#include "edm4hep/Cluster.h"
#include "edm4hep/MCParticle.h"
#include "edm4hep/ParticleID.h"
#include "edm4hep/RawCalorimeterHit.h"
#include "edm4hep/RawTimeSeries.h"
#include "edm4hep/ReconstructedParticle.h"
#include "edm4hep/SimCalorimeterHit.h"
#include "edm4hep/SimTrackerHit.h"
#include "edm4hep/Track.h"
#include "edm4hep/TrackerHit.h"
#include "edm4hep/TrackerHitPlane.h"
#include "edm4hep/Vertex.h"

#include <string_view>

namespace EVENT {
Expand All @@ -39,22 +53,6 @@ namespace EVENT {
class ParticleID;
} // namespace EVENT

namespace edm4hep {
class Track;
class TrackerHit;
class TrackerHitPlane;
class SimTrackerHit;
class CalorimeterHit;
class RawCalorimeterHit;
class SimCalorimeterHit;
class RawTimeSeries;
class Cluster;
class Vertex;
class ReconstructedParticle;
class MCParticle;
class ParticleID;
} // namespace edm4hep

namespace k4MarlinWrapper {

/**
Expand Down
14 changes: 0 additions & 14 deletions k4MarlinWrapper/src/components/Lcio2EDM4hep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,6 @@
#include <EVENT/LCCollection.h>
#include <Exceptions.h>

#include <edm4hep/ClusterCollection.h>
#include <edm4hep/Constants.h>
#include <edm4hep/EventHeaderCollection.h>
#include <edm4hep/MCParticleCollection.h>
#include <edm4hep/ParticleIDCollection.h>
#include <edm4hep/RawCalorimeterHitCollection.h>
#include <edm4hep/RawTimeSeriesCollection.h>
#include <edm4hep/ReconstructedParticleCollection.h>
#include <edm4hep/SimCalorimeterHitCollection.h>
#include <edm4hep/SimTrackerHitCollection.h>
#include <edm4hep/TrackCollection.h>
#include <edm4hep/TrackerHitPlaneCollection.h>
#include <edm4hep/VertexCollection.h>

#include "k4EDM4hep2LcioConv/k4Lcio2EDM4hepConv.h"

#include <k4FWCore/DataHandle.h>
Expand Down

0 comments on commit 79d3dd4

Please sign in to comment.