Skip to content

Commit

Permalink
Clean up includes (key4hep#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell authored Aug 9, 2024
1 parent 87d40e0 commit 976c22e
Show file tree
Hide file tree
Showing 101 changed files with 21 additions and 262 deletions.
4 changes: 0 additions & 4 deletions detector/CaloTB/CaloPrototype_v01.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
#include "DD4hep/DetFactoryHelper.h"
#include "XML/Layering.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
#include "LcgeoExceptions.h"

#include <iostream>
#include <vector>

using namespace std;

Expand Down
4 changes: 0 additions & 4 deletions detector/CaloTB/CaloPrototype_v02.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@
#include "DD4hep/DetFactoryHelper.h"
#include "XML/Layering.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
#include "DDSegmentation/TiledLayerGridXY.h"
#include "LcgeoExceptions.h"

#include <iostream>
#include <vector>

using namespace std;

Expand Down
1 change: 0 additions & 1 deletion detector/CaloTB/CaloPrototype_v03.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "DD4hep/DetFactoryHelper.h"
#include "XML/Layering.h"
#include "XML/Utilities.h"
#include "LcgeoExceptions.h"

#include <string>

Expand Down
4 changes: 0 additions & 4 deletions detector/CaloTB/TBecal4d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
#include "DD4hep/DetFactoryHelper.h"
#include "XML/Layering.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
#include "DDSegmentation/TiledLayerGridXY.h"
#include "LcgeoExceptions.h"

#include <iostream>
#include <vector>

using namespace std;
Expand Down
4 changes: 0 additions & 4 deletions detector/CaloTB/TBhcal4d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
#include "DD4hep/DetFactoryHelper.h"
#include "XML/Layering.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
#include "DDSegmentation/TiledLayerGridXY.h"
#include "LcgeoExceptions.h"

#include <iostream>
#include <vector>

using namespace std;
Expand Down
2 changes: 0 additions & 2 deletions detector/calorimeter/ECalBarrel_o1_v01_geo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
//=========================================================================

#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/Printout.h"
#include "XML/Layering.h"
#include "TGeoTrd2.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
#include "DDSegmentation/Segmentation.h"
Expand Down
2 changes: 0 additions & 2 deletions detector/calorimeter/ECalBarrel_o1_v02_geo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
#define VERBOSE_LEVEL 2

#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/Printout.h"
#include "XML/Layering.h"
#include "TGeoTrd2.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
#include "DDSegmentation/Segmentation.h"
Expand Down
2 changes: 0 additions & 2 deletions detector/calorimeter/ECalBarrel_o1_v03_geo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
#define VERBOSE_LEVEL 0

#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/Printout.h"
#include "XML/Layering.h"
#include "TGeoTrd2.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
#include "DDSegmentation/Segmentation.h"
Expand Down
2 changes: 0 additions & 2 deletions detector/calorimeter/ECalBarrel_o2_v03_geo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
#define VERBOSE_LEVEL 0

#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/Printout.h"
#include "XML/Layering.h"
#include "TGeoTrd2.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
#include "DDSegmentation/Segmentation.h"
Expand Down
2 changes: 0 additions & 2 deletions detector/calorimeter/ECalBarrel_o2_v04_geo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
#define VERBOSE_LEVEL 0

#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/Printout.h"
#include "XML/Layering.h"
#include "TGeoTrd2.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
#include "DDSegmentation/Segmentation.h"
Expand Down
2 changes: 0 additions & 2 deletions detector/calorimeter/ECalEndcap_o1_v01_geo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
//=========================================================================

#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/Printout.h"
#include "XML/Layering.h"
#include "TGeoTrd2.h"
#include "TMath.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
Expand Down
3 changes: 0 additions & 3 deletions detector/calorimeter/ECalPlug_o1_v01_geo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
//=========================================================================

#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/Printout.h"
#include "XML/Layering.h"
#include "TGeoTrd2.h"
#include "XML/Utilities.h"

using namespace std;
Expand Down
3 changes: 0 additions & 3 deletions detector/calorimeter/Hcal_BarrelSD_v00.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
//====================================================================

#include "DD4hep/DetFactoryHelper.h"
#include "XML/Layering.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
#include "LcgeoExceptions.h"

using namespace std;

Expand Down
2 changes: 0 additions & 2 deletions detector/calorimeter/Hcal_Barrel_SD_v01.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
// $Id: $
//====================================================================
#include "DD4hep/DetFactoryHelper.h"
#include "XML/Layering.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
#include "LcgeoExceptions.h"

using namespace std;

Expand Down
2 changes: 0 additions & 2 deletions detector/calorimeter/Hcal_Barrel_SD_v02.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
// $Id: $
//====================================================================
#include "DD4hep/DetFactoryHelper.h"
#include "XML/Layering.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
#include "LcgeoExceptions.h"

using namespace std;

Expand Down
1 change: 0 additions & 1 deletion detector/calorimeter/Hcal_EndcapRing_SD_v01.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
*/

#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/DetType.h"
#include "XML/Layering.h"
#include "DD4hep/Shapes.h"
#include "XML/Utilities.h"
Expand Down
1 change: 0 additions & 1 deletion detector/calorimeter/Hcal_Endcaps_SD_v01.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
*/

#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/DetType.h"
#include "XML/Layering.h"
#include "DD4hep/Shapes.h"
#include "XML/Utilities.h"
Expand Down
1 change: 0 additions & 1 deletion detector/calorimeter/Hcal_Endcaps_SD_v02.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
// ²
//====================================================================
#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/DetType.h"
#include "XML/Layering.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
Expand Down
2 changes: 0 additions & 2 deletions detector/calorimeter/SECalEndcap_o1_v01_geo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@
//=========================================================================

#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/Printout.h"
#include "DD4hep/DetType.h"
#include "XML/Layering.h"
#include "TGeoTrd2.h"
#include "TMath.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
Expand Down
2 changes: 0 additions & 2 deletions detector/calorimeter/SEcal04_Barrel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
//====================================================================

#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/DetType.h"
#include "XML/Layering.h"
#include "TGeoTrd2.h"

#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
Expand Down
2 changes: 0 additions & 2 deletions detector/calorimeter/SEcal04_Barrel_v01.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
//====================================================================

#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/DetType.h"
#include "XML/Layering.h"
#include "TGeoTrd2.h"

#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
Expand Down
1 change: 0 additions & 1 deletion detector/calorimeter/SEcal04_ECRing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
*/

#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/DetType.h"
#include "XML/Layering.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
Expand Down
4 changes: 0 additions & 4 deletions detector/calorimeter/SEcal05_Barrel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,12 @@
//====================================================================

#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/DetType.h"

#include "XML/Layering.h"
#include "TGeoTrd2.h"

#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"

#include "DDSegmentation/MegatileLayerGridXY.h"
#include "DDSegmentation/WaferGridXY.h"

#include "SEcal05_Helpers.h"

Expand Down
1 change: 0 additions & 1 deletion detector/calorimeter/SEcal05_ECRing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ Start ECRing ...


#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/DetType.h"
#include "XML/Layering.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
Expand Down
1 change: 0 additions & 1 deletion detector/calorimeter/SEcal05_Endcaps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#include "DD4hep/Shapes.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
#include "DDSegmentation/WaferGridXY.h"
#include <sstream>

using namespace std;
Expand Down
2 changes: 0 additions & 2 deletions detector/calorimeter/SEcal05_Helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
#include "DDRec/DetectorData.h"

#include "XML/Layering.h"
#include "XML/Utilities.h"

#include "DD4hep/Segmentations.h"

#include "DDSegmentation/MegatileLayerGridXY.h"

Expand Down
2 changes: 0 additions & 2 deletions detector/calorimeter/SEcal06_Barrel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
//====================================================================

#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/DetType.h"

#include "XML/Layering.h"
#include "TGeoTrd2.h"

#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
Expand Down
1 change: 0 additions & 1 deletion detector/calorimeter/SEcal06_Helpers.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include "SEcal06_Helpers.h"
#include "LcgeoExceptions.h"
#include <sstream>

#include "DDSegmentation/MegatileLayerGridXY.h"
#include "DDSegmentation/WaferGridXY.h"
Expand Down
1 change: 0 additions & 1 deletion detector/calorimeter/SEcal06_Helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include "DDRec/DetectorData.h"

#include "XML/Layering.h"
#include "XML/Utilities.h"

#include "DD4hep/Segmentations.h"

Expand Down
1 change: 0 additions & 1 deletion detector/calorimeter/SHcalSc04_Barrel_v01.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
//====================================================================
#include "DD4hep/Printout.h"
#include "DD4hep/DetFactoryHelper.h"
#include "XML/Layering.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
#include "DDSegmentation/TiledLayerGridXY.h"
Expand Down
1 change: 0 additions & 1 deletion detector/calorimeter/SHcalSc04_Barrel_v02.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "DD4hep/DetFactoryHelper.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
#include "LcgeoExceptions.h"

using namespace std;

Expand Down
2 changes: 0 additions & 2 deletions detector/calorimeter/SHcalSc04_Barrel_v03.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
#include "DDSegmentation/TiledLayerGridXY.h"
#include "LcgeoExceptions.h"

#include <iostream>
#include <vector>

using namespace std;
Expand Down
1 change: 0 additions & 1 deletion detector/calorimeter/SHcalSc04_EndcapRing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
*/

#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/DetType.h"
#include "XML/Layering.h"
#include "DD4hep/Shapes.h"
#include "XML/Utilities.h"
Expand Down
1 change: 0 additions & 1 deletion detector/calorimeter/SHcalSc04_EndcapRing_v01.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
*/

#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/DetType.h"
#include "XML/Layering.h"
#include "DD4hep/Shapes.h"
#include "XML/Utilities.h"
Expand Down
1 change: 0 additions & 1 deletion detector/calorimeter/Yoke05_Barrel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/DetType.h"
#include "XML/Layering.h"
#include "TGeoTrd2.h"
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"

Expand Down
4 changes: 0 additions & 4 deletions detector/calorimeter/dual-readout/include/DRconstructor.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
#ifndef DRconstructor_h
#define DRconstructor_h 1

#include "detectorSegmentations/DRparamBarrel_k4geo.h"
#include "detectorSegmentations/GridDRcaloHandle_k4geo.h"

#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/OpticalSurfaces.h"
#include "DD4hep/Printout.h"
#include "DD4hep/Detector.h"

namespace ddDRcalo {
class DRconstructor {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
#include "detectorSegmentations/DRparamBarrel_k4geo.h"
#include "detectorSegmentations/DRparamEndcap_k4geo.h"
#include "detectorSegmentations/GridDRcaloHandle_k4geo.h"

#include "DRconstructor.h"

#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/OpticalSurfaces.h"
#include "DD4hep/Printout.h"
#include "DD4hep/Detector.h"

namespace ddDRcalo {
Expand Down Expand Up @@ -71,4 +69,4 @@ namespace ddDRcalo {
return drDet;
}
} // namespace detector
DECLARE_DETELEMENT(FiberDualReadoutCalo_o1_v01, ddDRcalo::create_detector) // factory method
DECLARE_DETELEMENT(FiberDualReadoutCalo_o1_v01, ddDRcalo::create_detector) // factory method
1 change: 0 additions & 1 deletion detector/fcal/BeamCal_o1_v01_geo.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include <DD4hep/DetFactoryHelper.h>
#include "DD4hep/DetType.h"
#include <XML/Layering.h>
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
Expand Down
1 change: 0 additions & 1 deletion detector/fcal/BeamCal_o1_v02_geo.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include <DD4hep/DetFactoryHelper.h>
#include "DD4hep/DetType.h"
#include <XML/Layering.h>
#include "XML/Utilities.h"
#include "DDRec/DetectorData.h"
Expand Down
4 changes: 1 addition & 3 deletions detector/muonSystem/muonSystemMuRWELL_o1_v01.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ If used with sensitive layers, the readout must contain a "slice" field


#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/Printout.h"
#include "XML/XMLElements.h"
#include <sstream>
#include <iostream>
#include <sstream>
#include <cmath>

using namespace std;
Expand Down
Loading

0 comments on commit 976c22e

Please sign in to comment.