Skip to content

Commit

Permalink
fix: iwyu
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc committed Apr 11, 2024
1 parent 8354062 commit b441fe4
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 19 deletions.
1 change: 1 addition & 0 deletions src/algorithms/pid/MergeParticleID.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <podio/RelationRange.h>
#include <spdlog/common.h>
#include <stddef.h>
#include <gsl/pointers>
#include <stdexcept>
#include <unordered_map>
#include <utility>
Expand Down
4 changes: 3 additions & 1 deletion src/algorithms/pid/MergeParticleID.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
// data model
#include <algorithms/algorithm.h>
#include <edm4eic/CherenkovParticleIDCollection.h>
#include <memory>
#include <spdlog/logger.h>
#include <memory>
#include <string>
#include <string_view>
#include <vector>

// EICrecon
Expand Down
7 changes: 4 additions & 3 deletions src/algorithms/pid/MergeTracks.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@

#include "MergeTracks.h"

#include <algorithm>
#include <cstddef>
#include <edm4eic/TrackPoint.h>
#include <fmt/core.h>
#include <fmt/format.h>
#include <iterator>
#include <podio/RelationRange.h>
#include <algorithm>
#include <cstddef>
#include <gsl/pointers>
#include <iterator>
#include <unordered_map>
#include <utility>

Expand Down
4 changes: 3 additions & 1 deletion src/algorithms/pid/MergeTracks.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
// data model
#include <algorithms/algorithm.h>
#include <edm4eic/TrackSegmentCollection.h>
#include <memory>
#include <spdlog/logger.h>
#include <memory>
#include <string>
#include <string_view>
#include <vector>

namespace eicrecon {
Expand Down
1 change: 1 addition & 0 deletions src/algorithms/reco/JetReconstruction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <edm4hep/MCParticleCollection.h> // IWYU pragma: keep
#include <edm4hep/Vector3f.h>
#include <edm4hep/utils/vector_utils.h>
#include <fastjet/ClusterSequenceArea.hh>
#include <fastjet/GhostedAreaSpec.hh>
// for fastjet objects
#include <fastjet/PseudoJet.hh>
Expand Down
3 changes: 1 addition & 2 deletions src/algorithms/reco/JetReconstruction.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
#include <algorithms/algorithm.h>
#include <edm4eic/ReconstructedParticleCollection.h>
#include <fastjet/AreaDefinition.hh>
#include <fastjet/ClusterSequenceArea.hh>
#include <fastjet/JetDefinition.hh>
#include <spdlog/logger.h>
#include <map>
#include <memory>
#include <spdlog/logger.h>
#include <string>
#include <string_view>

Expand Down
8 changes: 4 additions & 4 deletions src/algorithms/tracking/IterativeVertexFinder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
#include <Acts/Vertexing/VertexingOptions.hpp>
#include <Acts/Vertexing/ZScanVertexFinder.hpp>
#include <ActsExamples/EventData/Trajectories.hpp>
#include <boost/container/vector.hpp>
#include <edm4eic/Cov4f.h>
#include <edm4eic/EDM4eicVersion.h>
#include <math.h>
#include <Eigen/Core>
#include <Eigen/Geometry>
#include <Eigen/LU>
#include <algorithm>
#include <boost/container/vector.hpp>
#include <edm4eic/Cov3f.h>
#include <edm4eic/EDM4eicVersion.h>
#include <math.h>
#include <optional>
#include <tuple>
#include <utility>
Expand Down
3 changes: 1 addition & 2 deletions src/algorithms/tracking/TrackProjector.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@

#include <ActsExamples/EventData/Trajectories.hpp>
#include <edm4eic/TrackSegmentCollection.h>
#include <memory>
#include <spdlog/logger.h>
#include <memory>
#include <vector>

#include "ActsGeometryProvider.h"
#include "algorithms/interfaces/WithPodConfig.h"

namespace eicrecon {

Expand Down
7 changes: 5 additions & 2 deletions src/tests/algorithms_test/calorimetry_CalorimeterHitDigi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,22 @@

#include <DD4hep/Detector.h>
#include <DD4hep/IDDescriptor.h>
#include <DD4hep/Readout.h>
#include <Evaluator/DD4hepUnits.h>
#include <algorithms/geo.h>
#include <algorithms/logger.h>
#include <catch2/catch_test_macros.hpp>
#include <edm4hep/CaloHitContributionCollection.h>
#include <edm4hep/RawCalorimeterHitCollection.h>
#include <edm4hep/SimCalorimeterHitCollection.h>
#include <edm4hep/Vector3f.h>
#include <math.h>
#include <memory>
#include <spdlog/common.h>
#include <spdlog/logger.h>
#include <spdlog/spdlog.h>
#include <string>
#include <gsl/pointers>
#include <memory>
#include <utility>
#include <vector>

#include "algorithms/calorimetry/CalorimeterHitDigi.h"
Expand Down
5 changes: 3 additions & 2 deletions src/tests/algorithms_test/pid_MergeParticleID.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@
#include <catch2/catch_test_macros.hpp>
#include <catch2/matchers/catch_matchers.hpp>
#include <catch2/matchers/catch_matchers_floating_point.hpp>
#include <cmath>
#include <edm4eic/CherenkovParticleIDCollection.h>
#include <edm4eic/CherenkovParticleIDHypothesis.h>
#include <edm4eic/TrackSegmentCollection.h>
#include <edm4hep/Vector2f.h>
#include <memory>
#include <podio/RelationRange.h>
#include <spdlog/common.h>
#include <spdlog/logger.h>
#include <spdlog/spdlog.h>
#include <cmath>
#include <gsl/pointers>
#include <memory>
#include <stdexcept>
#include <vector>

Expand Down
5 changes: 3 additions & 2 deletions src/tests/algorithms_test/pid_MergeTracks.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
#include <catch2/catch_test_macros.hpp>
#include <catch2/matchers/catch_matchers.hpp>
#include <catch2/matchers/catch_matchers_floating_point.hpp>
#include <cmath>
#include <edm4eic/TrackPoint.h>
#include <edm4eic/TrackSegmentCollection.h>
#include <edm4hep/Vector3f.h>
#include <memory>
#include <spdlog/common.h>
#include <spdlog/logger.h>
#include <spdlog/spdlog.h>
#include <cmath>
#include <gsl/pointers>
#include <memory>
#include <vector>

#include "algorithms/pid/MergeTracks.h"
Expand Down

0 comments on commit b441fe4

Please sign in to comment.