Skip to content

Commit 6f4dcd7

Browse files
MPGDTrackerDigi: Multi-SensitiveVolume solution for the 2D-strip read… (fix: iwyu) (#2180)
This PR applies the include-what-you-use fixes as suggested by https://github.com/eic/EICrecon/actions/runs/19181728533. Please merge this PR into the branch `MultiSensitiveMPGD` to resolve failures in PR #2177. Auto-generated by [create-pull-request][1] [1]: https://github.com/peter-evans/create-pull-request Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 6bfac70 commit 6f4dcd7

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/algorithms/digi/MPGDTrackerDigi.cc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
#include <DD4hep/IDDescriptor.h>
9191
#include <DD4hep/Objects.h>
9292
#include <DD4hep/Readout.h>
93+
#include <DD4hep/Shapes.h>
9394
#include <DD4hep/VolumeManager.h>
9495
#include <DD4hep/detail/SegmentationsInterna.h>
9596
#include <DDSegmentation/BitFieldCoder.h>
@@ -98,32 +99,33 @@
9899
#include <Math/GenVector/Cartesian3D.h>
99100
#include <Math/GenVector/DisplacementVector3D.h>
100101
#include <Parsers/Primitives.h>
102+
#include <TGeoMatrix.h>
103+
#include <TMath.h>
101104
// Access "algorithms:GeoSvc"
102105
#include <algorithms/geo.h>
103106
#include <algorithms/logger.h>
107+
#include <edm4eic/unit_system.h>
104108
#include <edm4hep/EDM4hepVersion.h>
105109
#include <edm4hep/MCParticleCollection.h>
106110
#include <edm4hep/Vector3d.h>
107111
#include <edm4hep/Vector3f.h>
108-
#include <edm4eic/unit_system.h>
109112
#include <fmt/core.h>
113+
#include <stdio.h>
114+
#include <string.h>
110115
#include <algorithm>
111116
#include <cmath>
112117
#include <cstdint>
113118
#include <gsl/pointers>
114119
#include <initializer_list>
115120
#include <iterator>
121+
#include <map>
116122
#include <random>
117123
#include <unordered_map>
118124
#include <utility>
119125
#include <vector>
120126

121127
#include "algorithms/digi/MPGDTrackerDigiConfig.h"
122128

123-
#include "DDRec/SurfaceManager.h"
124-
#include "DDRec/SurfaceHelper.h"
125-
#include "DDRec/Surface.h"
126-
127129
using namespace dd4hep;
128130

129131
namespace eicrecon {

src/algorithms/digi/MPGDTrackerDigi.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
#include <DD4hep/Detector.h>
77
#include <DD4hep/Segmentations.h>
8+
#include <Parsers/Primitives.h>
89
#include <algorithms/algorithm.h>
910
#include <edm4eic/MCRecoTrackerHitAssociationCollection.h>
1011
#include <edm4eic/RawTrackerHitCollection.h>
@@ -14,6 +15,7 @@
1415
#ifdef MC_PARTICLE_ASSOCIATION
1516
#include <edm4hep/MCParticle.h>
1617
#endif
18+
#include <functional>
1719
#include <string>
1820
#include <string_view>
1921

0 commit comments

Comments
 (0)