diff --git a/Alignment/APEEstimation/BuildFile.xml b/Alignment/APEEstimation/BuildFile.xml
index 897f40305fe48..ec4d6de7c2a22 100644
--- a/Alignment/APEEstimation/BuildFile.xml
+++ b/Alignment/APEEstimation/BuildFile.xml
@@ -23,7 +23,6 @@
-
diff --git a/Alignment/APEEstimation/plugins/ApeEstimator.cc b/Alignment/APEEstimation/plugins/ApeEstimator.cc
index f055d31bd63f0..28ef49a4e31d0 100644
--- a/Alignment/APEEstimation/plugins/ApeEstimator.cc
+++ b/Alignment/APEEstimation/plugins/ApeEstimator.cc
@@ -72,7 +72,7 @@
//added by Ajay 6Nov 2014
//.......................
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "CondFormats/AlignmentRecord/interface/TrackerAlignmentErrorExtendedRcd.h"
diff --git a/Alignment/CommonAlignmentMonitor/plugins/BuildFile.xml b/Alignment/CommonAlignmentMonitor/plugins/BuildFile.xml
index 465d07a43a0bb..21eecf465303d 100644
--- a/Alignment/CommonAlignmentMonitor/plugins/BuildFile.xml
+++ b/Alignment/CommonAlignmentMonitor/plugins/BuildFile.xml
@@ -91,7 +91,6 @@
-
@@ -104,7 +103,6 @@
-
diff --git a/Alignment/CommonAlignmentProducer/BuildFile.xml b/Alignment/CommonAlignmentProducer/BuildFile.xml
index 1693cf982482a..63eb882b76ba2 100644
--- a/Alignment/CommonAlignmentProducer/BuildFile.xml
+++ b/Alignment/CommonAlignmentProducer/BuildFile.xml
@@ -28,7 +28,6 @@
-
diff --git a/Alignment/OfflineValidation/plugins/OverlapValidation.cc b/Alignment/OfflineValidation/plugins/OverlapValidation.cc
index 4ac42dc2951b1..f97a627b892b8 100644
--- a/Alignment/OfflineValidation/plugins/OverlapValidation.cc
+++ b/Alignment/OfflineValidation/plugins/OverlapValidation.cc
@@ -40,8 +40,8 @@
#include "FWCore/ParameterSet/interface/FileInPath.h"
#include "CalibTracker/SiStripCommon/interface/SiStripDetInfoFileReader.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
#include "Geometry/CommonDetUnit/interface/GeomDetType.h"
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
#include "Geometry/TrackerGeometryBuilder/interface/RectangularPixelTopology.h"
diff --git a/CalibTracker/SiPixelConnectivity/src/SiPixelFedCablingMapBuilder.cc b/CalibTracker/SiPixelConnectivity/src/SiPixelFedCablingMapBuilder.cc
index d2a8022227a81..072ccd93c2071 100644
--- a/CalibTracker/SiPixelConnectivity/src/SiPixelFedCablingMapBuilder.cc
+++ b/CalibTracker/SiPixelConnectivity/src/SiPixelFedCablingMapBuilder.cc
@@ -3,7 +3,7 @@
#include "CalibTracker/SiPixelConnectivity/interface/SiPixelFedCablingMapBuilder.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "DataFormats/FEDRawData/interface/FEDNumbering.h"
#include "FWCore/Framework/interface/ESHandle.h"
diff --git a/CalibTracker/SiPixelESProducers/plugins/SiPixelDetInfoFileWriter.cc b/CalibTracker/SiPixelESProducers/plugins/SiPixelDetInfoFileWriter.cc
index a561f8f897158..5cd3ccbb028b7 100644
--- a/CalibTracker/SiPixelESProducers/plugins/SiPixelDetInfoFileWriter.cc
+++ b/CalibTracker/SiPixelESProducers/plugins/SiPixelDetInfoFileWriter.cc
@@ -13,7 +13,7 @@
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
using namespace cms;
using namespace std;
diff --git a/CalibTracker/SiPixelESProducers/test/SiPixelFakeGainForHLTReader.cc b/CalibTracker/SiPixelESProducers/test/SiPixelFakeGainForHLTReader.cc
index d9543467e26e9..ada6c3a063323 100644
--- a/CalibTracker/SiPixelESProducers/test/SiPixelFakeGainForHLTReader.cc
+++ b/CalibTracker/SiPixelESProducers/test/SiPixelFakeGainForHLTReader.cc
@@ -2,7 +2,7 @@
#include "CalibTracker/SiPixelESProducers/test/SiPixelFakeGainForHLTReader.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
namespace cms {
diff --git a/CalibTracker/SiPixelESProducers/test/SiPixelFakeGainOfflineReader.cc b/CalibTracker/SiPixelESProducers/test/SiPixelFakeGainOfflineReader.cc
index a1d46eb24e4c8..2cefd90a64e9b 100644
--- a/CalibTracker/SiPixelESProducers/test/SiPixelFakeGainOfflineReader.cc
+++ b/CalibTracker/SiPixelESProducers/test/SiPixelFakeGainOfflineReader.cc
@@ -2,7 +2,7 @@
#include "CalibTracker/SiPixelESProducers/test/SiPixelFakeGainOfflineReader.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
namespace cms {
diff --git a/CalibTracker/SiPixelESProducers/test/SiPixelFakeGainReader.cc b/CalibTracker/SiPixelESProducers/test/SiPixelFakeGainReader.cc
index 5becb3de42ac5..9943129073c13 100644
--- a/CalibTracker/SiPixelESProducers/test/SiPixelFakeGainReader.cc
+++ b/CalibTracker/SiPixelESProducers/test/SiPixelFakeGainReader.cc
@@ -2,7 +2,7 @@
#include "CalibTracker/SiPixelESProducers/test/SiPixelFakeGainReader.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
namespace cms {
diff --git a/CalibTracker/SiPixelErrorEstimation/interface/SiPixelErrorEstimation.h b/CalibTracker/SiPixelErrorEstimation/interface/SiPixelErrorEstimation.h
index a3efb55b51c6d..a45822ebe8ce2 100644
--- a/CalibTracker/SiPixelErrorEstimation/interface/SiPixelErrorEstimation.h
+++ b/CalibTracker/SiPixelErrorEstimation/interface/SiPixelErrorEstimation.h
@@ -37,14 +37,14 @@
#include "SimTracker/TrackerHitAssociation/interface/TrackerHitAssociator.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonDetUnit/interface/GeomDetType.h"
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
#include "Geometry/CommonDetUnit/interface/GluedGeomDet.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
#include "DataFormats/TrackerRecHit2D/interface/SiPixelRecHitCollection.h"
#include "SimDataFormats/Track/interface/SimTrackContainer.h"
diff --git a/CalibTracker/SiPixelLorentzAngle/src/SiPixelLorentzAngle.h b/CalibTracker/SiPixelLorentzAngle/src/SiPixelLorentzAngle.h
index 46e8efc7d6d92..78bf54246ca83 100644
--- a/CalibTracker/SiPixelLorentzAngle/src/SiPixelLorentzAngle.h
+++ b/CalibTracker/SiPixelLorentzAngle/src/SiPixelLorentzAngle.h
@@ -24,7 +24,7 @@
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "SimDataFormats/TrackingHit/interface/PSimHit.h"
#include "SimDataFormats/TrackingHit/interface/PSimHitContainer.h"
-#include
+#include
#include "SimTracker/TrackerHitAssociation/interface/TrackerHitAssociator.h"
#include "TrackingTools/PatternTools/interface/TrajTrackAssociation.h"
#include
diff --git a/CalibTracker/SiPixelQuality/plugins/SiPixelStatusHarvester.cc b/CalibTracker/SiPixelQuality/plugins/SiPixelStatusHarvester.cc
index b4aa80659dd44..1b0221e495594 100644
--- a/CalibTracker/SiPixelQuality/plugins/SiPixelStatusHarvester.cc
+++ b/CalibTracker/SiPixelQuality/plugins/SiPixelStatusHarvester.cc
@@ -21,7 +21,7 @@
// Pixel geometry and cabling map
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "CondFormats/SiPixelObjects/interface/SiPixelFedCabling.h"
#include "CondFormats/SiPixelObjects/interface/SiPixelFedCablingMap.h"
#include "CondFormats/DataRecord/interface/SiPixelFedCablingMapRcd.h"
diff --git a/CalibTracker/SiPixelQuality/plugins/SiPixelStatusProducer.cc b/CalibTracker/SiPixelQuality/plugins/SiPixelStatusProducer.cc
index 26022939c8a15..e388169b8c355 100644
--- a/CalibTracker/SiPixelQuality/plugins/SiPixelStatusProducer.cc
+++ b/CalibTracker/SiPixelQuality/plugins/SiPixelStatusProducer.cc
@@ -34,7 +34,7 @@
#include "CondFormats/DataRecord/interface/SiPixelFedCablingMapRcd.h"
#include "CondFormats/SiPixelObjects/interface/SiPixelFrameConverter.h"
#include "CondFormats/SiPixelObjects/interface/SiPixelFedCablingMap.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
// EDProducer related dataformat
#include "DQM/SiPixelPhase1Common/interface/SiPixelCoordinates.h"
diff --git a/CalibTracker/SiPixelTools/plugins/SiPixelErrorsDigisToCalibDigis.h b/CalibTracker/SiPixelTools/plugins/SiPixelErrorsDigisToCalibDigis.h
index 2e0881dab959a..66b5c2cd3727b 100644
--- a/CalibTracker/SiPixelTools/plugins/SiPixelErrorsDigisToCalibDigis.h
+++ b/CalibTracker/SiPixelTools/plugins/SiPixelErrorsDigisToCalibDigis.h
@@ -36,8 +36,8 @@ Description: Create monitorElements for the Errors in created in the reduction o
#include "DQM/SiPixelCommon/interface/SiPixelFolderOrganizer.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "CondFormats/SiPixelObjects/interface/SiPixelFedCablingMap.h"
diff --git a/CalibTracker/SiPixelTools/src/SiPixelOfflineCalibAnalysisBase.cc b/CalibTracker/SiPixelTools/src/SiPixelOfflineCalibAnalysisBase.cc
index d1f8b74af9f06..68c637febc01d 100644
--- a/CalibTracker/SiPixelTools/src/SiPixelOfflineCalibAnalysisBase.cc
+++ b/CalibTracker/SiPixelTools/src/SiPixelOfflineCalibAnalysisBase.cc
@@ -19,8 +19,8 @@
#include "CalibTracker/SiPixelTools/interface/SiPixelOfflineCalibAnalysisBase.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "CondFormats/SiPixelObjects/interface/SiPixelFrameConverter.h"
diff --git a/CalibTracker/SiStripChannelGain/interface/SiStripGainsPCLWorker.h b/CalibTracker/SiStripChannelGain/interface/SiStripGainsPCLWorker.h
index 81cf97a9093f2..c111fd7e23de3 100644
--- a/CalibTracker/SiStripChannelGain/interface/SiStripGainsPCLWorker.h
+++ b/CalibTracker/SiStripChannelGain/interface/SiStripGainsPCLWorker.h
@@ -54,7 +54,7 @@
#include "Geometry/CommonDetUnit/interface/TrackingGeometry.h"
#include "Geometry/CommonTopologies/interface/StripTopology.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
diff --git a/CalibTracker/SiStripChannelGain/plugins/SiStripGainCosmicCalculator.cc b/CalibTracker/SiStripChannelGain/plugins/SiStripGainCosmicCalculator.cc
index 1e1bd5287c5a9..e94c32a3c1115 100644
--- a/CalibTracker/SiStripChannelGain/plugins/SiStripGainCosmicCalculator.cc
+++ b/CalibTracker/SiStripChannelGain/plugins/SiStripGainCosmicCalculator.cc
@@ -19,8 +19,8 @@
#include "CLHEP/Random/RandGauss.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "DataFormats/TrackReco/interface/TrackFwd.h"
#include "DataFormats/TrackerRecHit2D/interface/SiStripRecHit2D.h"
diff --git a/CalibTracker/SiStripChannelGain/plugins/SiStripGainFromCalibTree.cc b/CalibTracker/SiStripChannelGain/plugins/SiStripGainFromCalibTree.cc
index 19597fc579310..332e65e73d3fb 100644
--- a/CalibTracker/SiStripChannelGain/plugins/SiStripGainFromCalibTree.cc
+++ b/CalibTracker/SiStripChannelGain/plugins/SiStripGainFromCalibTree.cc
@@ -26,7 +26,7 @@
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/Records/interface/TrackerTopologyRcd.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
#include "Geometry/CommonDetUnit/interface/TrackingGeometry.h"
diff --git a/CalibTracker/SiStripChannelGain/plugins/SiStripGainFromData.cc b/CalibTracker/SiStripChannelGain/plugins/SiStripGainFromData.cc
index 7c63c26eeacbc..6116bd8ab775a 100644
--- a/CalibTracker/SiStripChannelGain/plugins/SiStripGainFromData.cc
+++ b/CalibTracker/SiStripChannelGain/plugins/SiStripGainFromData.cc
@@ -21,7 +21,7 @@
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
#include "Geometry/CommonDetUnit/interface/TrackingGeometry.h"
diff --git a/CalibTracker/SiStripChannelGain/src/SiStripGainsPCLHarvester.cc b/CalibTracker/SiStripChannelGain/src/SiStripGainsPCLHarvester.cc
index cbd213fee0a98..06b048d9ef318 100644
--- a/CalibTracker/SiStripChannelGain/src/SiStripGainsPCLHarvester.cc
+++ b/CalibTracker/SiStripChannelGain/src/SiStripGainsPCLHarvester.cc
@@ -21,7 +21,7 @@
#include "Geometry/CommonDetUnit/interface/TrackingGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/Records/interface/TrackerTopologyRcd.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h"
#include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
diff --git a/CalibTracker/SiStripCommon/interface/ShallowGainCalibration.h b/CalibTracker/SiStripCommon/interface/ShallowGainCalibration.h
index e773eb93abc97..b310eebae6834 100644
--- a/CalibTracker/SiStripCommon/interface/ShallowGainCalibration.h
+++ b/CalibTracker/SiStripCommon/interface/ShallowGainCalibration.h
@@ -33,7 +33,7 @@
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
#include "Geometry/CommonDetUnit/interface/TrackingGeometry.h"
diff --git a/CondFormats/SiPixelObjects/src/SiPixelFrameReverter.cc b/CondFormats/SiPixelObjects/src/SiPixelFrameReverter.cc
index fcd9e483eff3f..21ef569319eca 100644
--- a/CondFormats/SiPixelObjects/src/SiPixelFrameReverter.cc
+++ b/CondFormats/SiPixelObjects/src/SiPixelFrameReverter.cc
@@ -13,7 +13,7 @@
// Geometry
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
diff --git a/CondFormats/SiPixelObjects/src/SiPixelQuality.cc b/CondFormats/SiPixelObjects/src/SiPixelQuality.cc
index 8959af1d13aff..6ecd3507104c2 100644
--- a/CondFormats/SiPixelObjects/src/SiPixelQuality.cc
+++ b/CondFormats/SiPixelObjects/src/SiPixelQuality.cc
@@ -16,7 +16,7 @@
#include "CondFormats/SiPixelObjects/interface/SiPixelFedCablingTree.h"
#include "CondFormats/SiPixelObjects/interface/PixelROC.h"
#include "CondFormats/SiPixelObjects/interface/LocalPixel.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
diff --git a/CondFormats/SiPixelObjects/test/SiPixelTestSummary.cc b/CondFormats/SiPixelObjects/test/SiPixelTestSummary.cc
index af6c89e9911fa..710d7815c82be 100644
--- a/CondFormats/SiPixelObjects/test/SiPixelTestSummary.cc
+++ b/CondFormats/SiPixelObjects/test/SiPixelTestSummary.cc
@@ -12,7 +12,7 @@
#include "CondFormats/SiPixelObjects/interface/SiPixelDetSummary.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
diff --git a/CondTools/SiPixel/test/SiPixel2DTemplateDBObjectUploader.cc b/CondTools/SiPixel/test/SiPixel2DTemplateDBObjectUploader.cc
index e0c70b55ac7a0..49694198b5a60 100644
--- a/CondTools/SiPixel/test/SiPixel2DTemplateDBObjectUploader.cc
+++ b/CondTools/SiPixel/test/SiPixel2DTemplateDBObjectUploader.cc
@@ -7,7 +7,7 @@
#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/Records/interface/TrackerTopologyRcd.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "DataFormats/DetId/interface/DetId.h"
diff --git a/CondTools/SiPixel/test/SiPixelBadModuleReader.cc b/CondTools/SiPixel/test/SiPixelBadModuleReader.cc
index 69d106788ee22..b7cec357b4f56 100644
--- a/CondTools/SiPixel/test/SiPixelBadModuleReader.cc
+++ b/CondTools/SiPixel/test/SiPixelBadModuleReader.cc
@@ -9,7 +9,7 @@
#include "CondFormats/SiPixelObjects/interface/SiPixelFedCabling.h"
#include "CondFormats/SiPixelObjects/interface/PixelROC.h"
#include "CondFormats/SiPixelObjects/interface/PixelFEDCabling.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "CommonTools/UtilAlgos/interface/TFileService.h"
diff --git a/CondTools/SiPixel/test/SiPixelCondObjAllPayloadsReader.cc b/CondTools/SiPixel/test/SiPixelCondObjAllPayloadsReader.cc
index 97f9c7b4dbf03..3a353b5ac2200 100644
--- a/CondTools/SiPixel/test/SiPixelCondObjAllPayloadsReader.cc
+++ b/CondTools/SiPixel/test/SiPixelCondObjAllPayloadsReader.cc
@@ -2,7 +2,7 @@
#include "CondTools/SiPixel/test/SiPixelCondObjAllPayloadsReader.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
diff --git a/CondTools/SiPixel/test/SiPixelCondObjBuilder.cc b/CondTools/SiPixel/test/SiPixelCondObjBuilder.cc
index 596e9ef02a710..3123c6b70672e 100644
--- a/CondTools/SiPixel/test/SiPixelCondObjBuilder.cc
+++ b/CondTools/SiPixel/test/SiPixelCondObjBuilder.cc
@@ -6,7 +6,7 @@
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
diff --git a/CondTools/SiPixel/test/SiPixelCondObjForHLTBuilder.cc b/CondTools/SiPixel/test/SiPixelCondObjForHLTBuilder.cc
index 3af1099435017..ed9659e24fcd2 100644
--- a/CondTools/SiPixel/test/SiPixelCondObjForHLTBuilder.cc
+++ b/CondTools/SiPixel/test/SiPixelCondObjForHLTBuilder.cc
@@ -6,7 +6,7 @@
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
diff --git a/CondTools/SiPixel/test/SiPixelCondObjForHLTReader.cc b/CondTools/SiPixel/test/SiPixelCondObjForHLTReader.cc
index bb3056f621759..cfce356827012 100644
--- a/CondTools/SiPixel/test/SiPixelCondObjForHLTReader.cc
+++ b/CondTools/SiPixel/test/SiPixelCondObjForHLTReader.cc
@@ -2,7 +2,7 @@
#include "CondTools/SiPixel/test/SiPixelCondObjForHLTReader.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
diff --git a/CondTools/SiPixel/test/SiPixelCondObjOfflineBuilder.cc b/CondTools/SiPixel/test/SiPixelCondObjOfflineBuilder.cc
index 75ac8524062aa..d2b32c46c889c 100644
--- a/CondTools/SiPixel/test/SiPixelCondObjOfflineBuilder.cc
+++ b/CondTools/SiPixel/test/SiPixelCondObjOfflineBuilder.cc
@@ -6,7 +6,7 @@
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
diff --git a/CondTools/SiPixel/test/SiPixelCondObjOfflineReader.cc b/CondTools/SiPixel/test/SiPixelCondObjOfflineReader.cc
index ff11fada7e98d..4a389aaedd730 100644
--- a/CondTools/SiPixel/test/SiPixelCondObjOfflineReader.cc
+++ b/CondTools/SiPixel/test/SiPixelCondObjOfflineReader.cc
@@ -4,7 +4,7 @@
#include "CalibTracker/SiPixelESProducers/interface/SiPixelGainCalibrationOfflineService.h"
#include "CalibTracker/SiPixelESProducers/interface/SiPixelGainCalibrationOfflineSimService.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
diff --git a/CondTools/SiPixel/test/SiPixelCondObjReader.cc b/CondTools/SiPixel/test/SiPixelCondObjReader.cc
index db1be36e1ee1e..2681208772f7f 100644
--- a/CondTools/SiPixel/test/SiPixelCondObjReader.cc
+++ b/CondTools/SiPixel/test/SiPixelCondObjReader.cc
@@ -2,7 +2,7 @@
#include "CondTools/SiPixel/test/SiPixelCondObjReader.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
diff --git a/CondTools/SiPixel/test/SiPixelDynamicInefficiencyDB.cc b/CondTools/SiPixel/test/SiPixelDynamicInefficiencyDB.cc
index 40143a1ba91bd..cb0f05e52d74b 100644
--- a/CondTools/SiPixel/test/SiPixelDynamicInefficiencyDB.cc
+++ b/CondTools/SiPixel/test/SiPixelDynamicInefficiencyDB.cc
@@ -5,7 +5,7 @@
#include
#include "CondCore/DBOutputService/interface/PoolDBOutputService.h"
#include "CondTools/SiPixel/test/SiPixelDynamicInefficiencyDB.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "CondFormats/SiPixelObjects/interface/SiPixelDynamicInefficiency.h"
#include "FWCore/Framework/interface/ESHandle.h"
diff --git a/CondTools/SiPixel/test/SiPixelDynamicInefficiencyReader.cc b/CondTools/SiPixel/test/SiPixelDynamicInefficiencyReader.cc
index 0a080e6b9c715..01a68f6ba604a 100644
--- a/CondTools/SiPixel/test/SiPixelDynamicInefficiencyReader.cc
+++ b/CondTools/SiPixel/test/SiPixelDynamicInefficiencyReader.cc
@@ -1,12 +1,12 @@
#include "CondFormats/SiPixelObjects/interface/SiPixelDynamicInefficiency.h"
#include "CondFormats/DataRecord/interface/SiPixelDynamicInefficiencyRcd.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "CondTools/SiPixel/test/SiPixelDynamicInefficiencyReader.h"
#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
#include "DataFormats/DetId/interface/DetId.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "DataFormats/SiPixelDetId/interface/PixelBarrelName.h"
#include "DataFormats/SiPixelDetId/interface/PixelEndcapName.h"
diff --git a/CondTools/SiPixel/test/SiPixelGainCalibrationReadDQMFile.cc b/CondTools/SiPixel/test/SiPixelGainCalibrationReadDQMFile.cc
index 109b39e3aabc9..7e7f1da9644f2 100644
--- a/CondTools/SiPixel/test/SiPixelGainCalibrationReadDQMFile.cc
+++ b/CondTools/SiPixel/test/SiPixelGainCalibrationReadDQMFile.cc
@@ -39,7 +39,7 @@
#include "CondCore/DBOutputService/interface/PoolDBOutputService.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
diff --git a/CondTools/SiPixel/test/SiPixelGainCalibrationRejectNoisyAndDead.cc b/CondTools/SiPixel/test/SiPixelGainCalibrationRejectNoisyAndDead.cc
index 17973f8b90c14..cd03e1404bd39 100644
--- a/CondTools/SiPixel/test/SiPixelGainCalibrationRejectNoisyAndDead.cc
+++ b/CondTools/SiPixel/test/SiPixelGainCalibrationRejectNoisyAndDead.cc
@@ -22,7 +22,7 @@
#include "SiPixelGainCalibrationRejectNoisyAndDead.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
diff --git a/CondTools/SiPixel/test/SiPixelGenErrorDBObjectUploader.cc b/CondTools/SiPixel/test/SiPixelGenErrorDBObjectUploader.cc
index f03b737891365..e0306575d3826 100644
--- a/CondTools/SiPixel/test/SiPixelGenErrorDBObjectUploader.cc
+++ b/CondTools/SiPixel/test/SiPixelGenErrorDBObjectUploader.cc
@@ -6,7 +6,7 @@
#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include
diff --git a/CondTools/SiPixel/test/SiPixelLorentzAngleDB.cc b/CondTools/SiPixel/test/SiPixelLorentzAngleDB.cc
index 45af55935d27d..6bbfba7234a8c 100644
--- a/CondTools/SiPixel/test/SiPixelLorentzAngleDB.cc
+++ b/CondTools/SiPixel/test/SiPixelLorentzAngleDB.cc
@@ -4,7 +4,7 @@
#include
#include "CondCore/DBOutputService/interface/PoolDBOutputService.h"
#include "CondTools/SiPixel/test/SiPixelLorentzAngleDB.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "CondFormats/SiPixelObjects/interface/SiPixelLorentzAngle.h"
#include "FWCore/Framework/interface/ESHandle.h"
diff --git a/CondTools/SiPixel/test/SiPixelLorentzAngleReader.cc b/CondTools/SiPixel/test/SiPixelLorentzAngleReader.cc
index c597851abb8bd..41f510be86026 100644
--- a/CondTools/SiPixel/test/SiPixelLorentzAngleReader.cc
+++ b/CondTools/SiPixel/test/SiPixelLorentzAngleReader.cc
@@ -1,13 +1,13 @@
#include "CondFormats/SiPixelObjects/interface/SiPixelLorentzAngle.h"
#include "CondFormats/DataRecord/interface/SiPixelLorentzAngleRcd.h"
#include "CondFormats/DataRecord/interface/SiPixelLorentzAngleSimRcd.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "CondTools/SiPixel/test/SiPixelLorentzAngleReader.h"
#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
#include "DataFormats/DetId/interface/DetId.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "CommonTools/UtilAlgos/interface/TFileService.h"
#include "DataFormats/SiPixelDetId/interface/PixelBarrelName.h"
diff --git a/CondTools/SiPixel/test/SiPixelPerformanceSummaryBuilder.cc b/CondTools/SiPixel/test/SiPixelPerformanceSummaryBuilder.cc
index 79a854ef1381d..c2f03257add4c 100644
--- a/CondTools/SiPixel/test/SiPixelPerformanceSummaryBuilder.cc
+++ b/CondTools/SiPixel/test/SiPixelPerformanceSummaryBuilder.cc
@@ -10,7 +10,7 @@
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "CondCore/DBOutputService/interface/PoolDBOutputService.h"
#include "CondFormats/SiPixelObjects/interface/SiPixelPerformanceSummary.h"
diff --git a/CondTools/SiPixel/test/SiPixelTemplateDBObjectUploader.cc b/CondTools/SiPixel/test/SiPixelTemplateDBObjectUploader.cc
index a5c8d042e1514..fbcdd9124af0a 100644
--- a/CondTools/SiPixel/test/SiPixelTemplateDBObjectUploader.cc
+++ b/CondTools/SiPixel/test/SiPixelTemplateDBObjectUploader.cc
@@ -6,7 +6,7 @@
#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include
diff --git a/DPGAnalysis/SiStripTools/plugins/DetIdSelectorTest.cc b/DPGAnalysis/SiStripTools/plugins/DetIdSelectorTest.cc
index 0cc88b86c2f37..1617bf28d98ce 100644
--- a/DPGAnalysis/SiStripTools/plugins/DetIdSelectorTest.cc
+++ b/DPGAnalysis/SiStripTools/plugins/DetIdSelectorTest.cc
@@ -38,7 +38,7 @@
#include "Geometry/TrackerNumberingBuilder/interface/utils.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "CalibTracker/SiPixelESProducers/interface/SiPixelDetInfoFileReader.h"
diff --git a/DPGAnalysis/SiStripTools/plugins/TrackerDpgAnalysis.cc b/DPGAnalysis/SiStripTools/plugins/TrackerDpgAnalysis.cc
index 39bb5499b73de..5f4e8d2758fe7 100644
--- a/DPGAnalysis/SiStripTools/plugins/TrackerDpgAnalysis.cc
+++ b/DPGAnalysis/SiStripTools/plugins/TrackerDpgAnalysis.cc
@@ -58,7 +58,7 @@
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
#include
#include
-#include
+#include
#include
#include "DataFormats/Common/interface/Ref.h"
#include "DataFormats/DetId/interface/DetId.h"
@@ -1445,7 +1445,9 @@ std::string TrackerDpgAnalysis::toStringName(uint32_t rawid, const TrackerTopolo
}
break;
}
- default: { output << "UNKNOWN"; }
+ default: {
+ output << "UNKNOWN";
+ }
}
out = output.str();
return out;
diff --git a/DQM/Physics/src/QcdLowPtDQM.cc b/DQM/Physics/src/QcdLowPtDQM.cc
index bb6e597bb1166..888ec14edf9b5 100644
--- a/DQM/Physics/src/QcdLowPtDQM.cc
+++ b/DQM/Physics/src/QcdLowPtDQM.cc
@@ -17,8 +17,8 @@
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include
#include
diff --git a/DQM/Physics/src/QcdUeDQM.cc b/DQM/Physics/src/QcdUeDQM.cc
index 2e5083d43b5ea..d77c2e5265aa0 100644
--- a/DQM/Physics/src/QcdUeDQM.cc
+++ b/DQM/Physics/src/QcdUeDQM.cc
@@ -19,8 +19,8 @@
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
#include "CommonTools/RecoAlgos/src/TrackToRefCandidate.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/TrackerGeometryBuilder/interface/RectangularPixelTopology.h"
#include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
diff --git a/DQM/PixelLumi/plugins/PixelLumiDQM.cc b/DQM/PixelLumi/plugins/PixelLumiDQM.cc
index f776b8cd73b73..092e172c15dda 100644
--- a/DQM/PixelLumi/plugins/PixelLumiDQM.cc
+++ b/DQM/PixelLumi/plugins/PixelLumiDQM.cc
@@ -31,7 +31,7 @@
#include "FWCore/Utilities/interface/EDMException.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include
diff --git a/DQM/SiPixelMonitorClient/src/SiPixelDataQuality.cc b/DQM/SiPixelMonitorClient/src/SiPixelDataQuality.cc
index 6a28509b8cdad..2bae5178c4b52 100644
--- a/DQM/SiPixelMonitorClient/src/SiPixelDataQuality.cc
+++ b/DQM/SiPixelMonitorClient/src/SiPixelDataQuality.cc
@@ -26,7 +26,7 @@
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
diff --git a/DQM/SiPixelMonitorClient/src/SiPixelEDAClient.cc b/DQM/SiPixelMonitorClient/src/SiPixelEDAClient.cc
index 19ad82ba4392f..fc8a587af3f3e 100644
--- a/DQM/SiPixelMonitorClient/src/SiPixelEDAClient.cc
+++ b/DQM/SiPixelMonitorClient/src/SiPixelEDAClient.cc
@@ -24,7 +24,7 @@
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
diff --git a/DQM/SiPixelMonitorClient/src/SiPixelInformationExtractor.cc b/DQM/SiPixelMonitorClient/src/SiPixelInformationExtractor.cc
index d3e1c201af063..4a23452db5b1c 100644
--- a/DQM/SiPixelMonitorClient/src/SiPixelInformationExtractor.cc
+++ b/DQM/SiPixelMonitorClient/src/SiPixelInformationExtractor.cc
@@ -28,7 +28,7 @@
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
diff --git a/DQM/SiPixelMonitorCluster/interface/SiPixelClusterModule.h b/DQM/SiPixelMonitorCluster/interface/SiPixelClusterModule.h
index 657adc01a83e0..a05f59b60ee56 100644
--- a/DQM/SiPixelMonitorCluster/interface/SiPixelClusterModule.h
+++ b/DQM/SiPixelMonitorCluster/interface/SiPixelClusterModule.h
@@ -31,8 +31,8 @@
#include "Geometry/CommonDetUnit/interface/GluedGeomDet.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
#include
diff --git a/DQM/SiPixelMonitorCluster/interface/SiPixelClusterSource.h b/DQM/SiPixelMonitorCluster/interface/SiPixelClusterSource.h
index 4d341f4b3b86c..177e767862ac6 100644
--- a/DQM/SiPixelMonitorCluster/interface/SiPixelClusterSource.h
+++ b/DQM/SiPixelMonitorCluster/interface/SiPixelClusterSource.h
@@ -49,8 +49,8 @@
#include "Geometry/CommonDetUnit/interface/GluedGeomDet.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
#include
diff --git a/DQM/SiPixelMonitorCluster/src/SiPixelClusterSource.cc b/DQM/SiPixelMonitorCluster/src/SiPixelClusterSource.cc
index a8d047d5ad644..f36deb86f8ec1 100644
--- a/DQM/SiPixelMonitorCluster/src/SiPixelClusterSource.cc
+++ b/DQM/SiPixelMonitorCluster/src/SiPixelClusterSource.cc
@@ -28,7 +28,7 @@
#include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
// DataFormats
#include "DataFormats/DetId/interface/DetId.h"
diff --git a/DQM/SiPixelMonitorDigi/interface/SiPixelDigiModule.h b/DQM/SiPixelMonitorDigi/interface/SiPixelDigiModule.h
index ce53b0f209eea..b7e2366d37bbc 100644
--- a/DQM/SiPixelMonitorDigi/interface/SiPixelDigiModule.h
+++ b/DQM/SiPixelMonitorDigi/interface/SiPixelDigiModule.h
@@ -31,14 +31,14 @@
#include "FWCore/Framework/interface/ESHandle.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonDetUnit/interface/GeomDetType.h"
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
#include "Geometry/CommonDetUnit/interface/GluedGeomDet.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
#include
class SiPixelDigiModule {
diff --git a/DQM/SiPixelMonitorDigi/src/SiPixelDigiSource.cc b/DQM/SiPixelMonitorDigi/src/SiPixelDigiSource.cc
index 3568ef47bf664..0e1b8e714c103 100644
--- a/DQM/SiPixelMonitorDigi/src/SiPixelDigiSource.cc
+++ b/DQM/SiPixelMonitorDigi/src/SiPixelDigiSource.cc
@@ -27,7 +27,7 @@
// Geometry
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/Records/interface/TrackerTopologyRcd.h"
// DataFormats
diff --git a/DQM/SiPixelMonitorRawData/src/SiPixelHLTSource.cc b/DQM/SiPixelMonitorRawData/src/SiPixelHLTSource.cc
index eb8117fddd307..6d1948a2ba49c 100644
--- a/DQM/SiPixelMonitorRawData/src/SiPixelHLTSource.cc
+++ b/DQM/SiPixelMonitorRawData/src/SiPixelHLTSource.cc
@@ -29,7 +29,7 @@
#include "Geometry/CommonDetUnit/interface/GeomDetEnumerators.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
// DataFormats
#include "DataFormats/DetId/interface/DetId.h"
diff --git a/DQM/SiPixelMonitorRawData/src/SiPixelRawDataErrorSource.cc b/DQM/SiPixelMonitorRawData/src/SiPixelRawDataErrorSource.cc
index 372fc85d7540b..59ca7e68498e0 100644
--- a/DQM/SiPixelMonitorRawData/src/SiPixelRawDataErrorSource.cc
+++ b/DQM/SiPixelMonitorRawData/src/SiPixelRawDataErrorSource.cc
@@ -35,7 +35,7 @@
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/Records/interface/TrackerTopologyRcd.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
// DataFormats
#include "DataFormats/DetId/interface/DetId.h"
diff --git a/DQM/SiPixelMonitorRecHit/src/SiPixelRecHitModule.cc b/DQM/SiPixelMonitorRecHit/src/SiPixelRecHitModule.cc
index 63d8963fa0c42..7af3bcec4bb4a 100644
--- a/DQM/SiPixelMonitorRecHit/src/SiPixelRecHitModule.cc
+++ b/DQM/SiPixelMonitorRecHit/src/SiPixelRecHitModule.cc
@@ -21,7 +21,7 @@
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/Records/interface/TrackerTopologyRcd.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "DataFormats/Common/interface/Handle.h"
diff --git a/DQM/SiPixelMonitorRecHit/src/SiPixelRecHitSource.cc b/DQM/SiPixelMonitorRecHit/src/SiPixelRecHitSource.cc
index 5105ac1eae25b..f2916bb4ffa13 100644
--- a/DQM/SiPixelMonitorRecHit/src/SiPixelRecHitSource.cc
+++ b/DQM/SiPixelMonitorRecHit/src/SiPixelRecHitSource.cc
@@ -31,7 +31,7 @@
// Geometry
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/Records/interface/TrackerTopologyRcd.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
// DataFormats
#include "DataFormats/DetId/interface/DetId.h"
diff --git a/DQM/SiPixelMonitorTrack/src/SiPixelHitEfficiencySource.cc b/DQM/SiPixelMonitorTrack/src/SiPixelHitEfficiencySource.cc
index 05762306579a7..cb1fb5b3a9ffa 100644
--- a/DQM/SiPixelMonitorTrack/src/SiPixelHitEfficiencySource.cc
+++ b/DQM/SiPixelMonitorTrack/src/SiPixelHitEfficiencySource.cc
@@ -36,7 +36,7 @@
#include "DataFormats/VertexReco/interface/Vertex.h"
#include "DataFormats/VertexReco/interface/VertexFwd.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "RecoLocalTracker/ClusterParameterEstimator/interface/PixelClusterParameterEstimator.h"
#include "RecoTracker/TransientTrackingRecHit/interface/TkTransientTrackingRecHitBuilder.h"
diff --git a/DQM/SiPixelMonitorTrack/src/SiPixelTrackResidualSource.cc b/DQM/SiPixelMonitorTrack/src/SiPixelTrackResidualSource.cc
index 2994f61dbc732..3ad80308a4f9f 100644
--- a/DQM/SiPixelMonitorTrack/src/SiPixelTrackResidualSource.cc
+++ b/DQM/SiPixelMonitorTrack/src/SiPixelTrackResidualSource.cc
@@ -32,7 +32,7 @@
#include "DataFormats/TrackingRecHit/interface/TrackingRecHitFwd.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "RecoTracker/TransientTrackingRecHit/interface/TkTransientTrackingRecHitBuilder.h"
diff --git a/DQM/SiPixelPhase1Common/plugins/SiPixelPhase1Clusters.cc b/DQM/SiPixelPhase1Common/plugins/SiPixelPhase1Clusters.cc
index 32a38d5a104b2..9adcb79607d2a 100644
--- a/DQM/SiPixelPhase1Common/plugins/SiPixelPhase1Clusters.cc
+++ b/DQM/SiPixelPhase1Common/plugins/SiPixelPhase1Clusters.cc
@@ -14,7 +14,7 @@
#include "FWCore/Framework/interface/ESHandle.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "DataFormats/GeometryVector/interface/LocalPoint.h"
#include "DataFormats/GeometryVector/interface/GlobalPoint.h"
diff --git a/DQM/SiPixelPhase1Common/plugins/SiPixelPhase1DeadFEDChannels.cc b/DQM/SiPixelPhase1Common/plugins/SiPixelPhase1DeadFEDChannels.cc
index 3877e6b5ccf79..64a4acc18d886 100644
--- a/DQM/SiPixelPhase1Common/plugins/SiPixelPhase1DeadFEDChannels.cc
+++ b/DQM/SiPixelPhase1Common/plugins/SiPixelPhase1DeadFEDChannels.cc
@@ -15,7 +15,7 @@
#include "FWCore/Framework/interface/MakerMacros.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "CondFormats/SiPixelObjects/interface/SiPixelFedCabling.h"
#include "CondFormats/SiPixelObjects/interface/SiPixelFedCablingMap.h"
#include "CondFormats/DataRecord/interface/SiPixelFedCablingMapRcd.h"
diff --git a/DQM/SiPixelPhase1Common/src/GeometryInterface.cc b/DQM/SiPixelPhase1Common/src/GeometryInterface.cc
index 9c7efe2cbca40..c772cfad36f59 100644
--- a/DQM/SiPixelPhase1Common/src/GeometryInterface.cc
+++ b/DQM/SiPixelPhase1Common/src/GeometryInterface.cc
@@ -20,7 +20,7 @@
#include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
#include "Geometry/Records/interface/TrackerTopologyRcd.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "CondFormats/DataRecord/interface/SiPixelFedCablingMapRcd.h"
#include "CondFormats/GeometryObjects/interface/PTrackerParameters.h"
@@ -203,47 +203,49 @@ void GeometryInterface::loadFromSiPixelCoordinates(edm::EventSetup const& iSetup
// Quadrant names.
auto pxbarrel = extractors[intern("PXBarrel")];
- addExtractor(intern("HalfCylinder"),
- [coord, pxbarrel](InterestingQuantities const& iq) {
- if (pxbarrel(iq) != UNDEFINED)
- return UNDEFINED;
- int quadrant = coord->quadrant(iq.sourceModule);
- switch (quadrant) {
- case 1:
- return Value(12); // mO
- case 2:
- return Value(11); // mI
- case 3:
- return Value(22); // pO
- case 4:
- return Value(21); // pI
- default:
- return UNDEFINED;
- }
- },
- 0,
- 0 // N/A
+ addExtractor(
+ intern("HalfCylinder"),
+ [coord, pxbarrel](InterestingQuantities const& iq) {
+ if (pxbarrel(iq) != UNDEFINED)
+ return UNDEFINED;
+ int quadrant = coord->quadrant(iq.sourceModule);
+ switch (quadrant) {
+ case 1:
+ return Value(12); // mO
+ case 2:
+ return Value(11); // mI
+ case 3:
+ return Value(22); // pO
+ case 4:
+ return Value(21); // pI
+ default:
+ return UNDEFINED;
+ }
+ },
+ 0,
+ 0 // N/A
);
- addExtractor(intern("Shell"),
- [coord, pxbarrel](InterestingQuantities const& iq) {
- if (pxbarrel(iq) == UNDEFINED)
- return UNDEFINED;
- int quadrant = coord->quadrant(iq.sourceModule);
- switch (quadrant) {
- case 1:
- return Value(12); // mO
- case 2:
- return Value(11); // mI
- case 3:
- return Value(22); // pO
- case 4:
- return Value(21); // pI
- default:
- return UNDEFINED;
- }
- },
- 0,
- 0 // N/A
+ addExtractor(
+ intern("Shell"),
+ [coord, pxbarrel](InterestingQuantities const& iq) {
+ if (pxbarrel(iq) == UNDEFINED)
+ return UNDEFINED;
+ int quadrant = coord->quadrant(iq.sourceModule);
+ switch (quadrant) {
+ case 1:
+ return Value(12); // mO
+ case 2:
+ return Value(11); // mI
+ case 3:
+ return Value(22); // pO
+ case 4:
+ return Value(21); // pI
+ default:
+ return UNDEFINED;
+ }
+ },
+ 0,
+ 0 // N/A
);
// Online Numbering.
@@ -364,60 +366,66 @@ void GeometryInterface::loadFromSiPixelCoordinates(edm::EventSetup const& iSetup
void GeometryInterface::loadTimebased(edm::EventSetup const& iSetup, const edm::ParameterSet& iConfig) {
// extractors for quantities that are roughly time-based. We cannot book plots based on these; they have to
// be grouped away in step1.
- addExtractor(intern("Lumisection"),
- [](InterestingQuantities const& iq) {
- if (!iq.sourceEvent)
- return UNDEFINED;
- return Value(iq.sourceEvent->luminosityBlock());
- },
- 1,
- iConfig.getParameter("max_lumisection"));
+ addExtractor(
+ intern("Lumisection"),
+ [](InterestingQuantities const& iq) {
+ if (!iq.sourceEvent)
+ return UNDEFINED;
+ return Value(iq.sourceEvent->luminosityBlock());
+ },
+ 1,
+ iConfig.getParameter("max_lumisection"));
int onlineblock = iConfig.getParameter("onlineblock");
int n_onlineblocks = iConfig.getParameter("n_onlineblocks");
- addExtractor(intern("OnlineBlock"),
- [onlineblock](InterestingQuantities const& iq) {
- if (!iq.sourceEvent)
- return UNDEFINED;
- return Value(onlineblock + iq.sourceEvent->luminosityBlock() / onlineblock);
- },
- // note: this range is not visible anywhere (if the RenderPlugin does its job),
- // but the strange range allows the RenderPlugin to know the block size.
- onlineblock,
- onlineblock + n_onlineblocks - 1);
+ addExtractor(
+ intern("OnlineBlock"),
+ [onlineblock](InterestingQuantities const& iq) {
+ if (!iq.sourceEvent)
+ return UNDEFINED;
+ return Value(onlineblock + iq.sourceEvent->luminosityBlock() / onlineblock);
+ },
+ // note: this range is not visible anywhere (if the RenderPlugin does its job),
+ // but the strange range allows the RenderPlugin to know the block size.
+ onlineblock,
+ onlineblock + n_onlineblocks - 1);
int lumiblock = iConfig.getParameter("lumiblock");
- addExtractor(intern("LumiBlock"),
- [lumiblock](InterestingQuantities const& iq) {
- if (!iq.sourceEvent)
- return UNDEFINED;
- // The '-1' is for making 1-10 the same block rather than 0-9
- // The '+0.5' makes the block span an integer range rather n.5-m.5
- return Value(((iq.sourceEvent->luminosityBlock() - 1) / lumiblock) + 0.5);
- },
- -0.5,
- iConfig.getParameter("max_lumisection") / lumiblock);
-
- addExtractor(intern("BX"),
- [](InterestingQuantities const& iq) {
- if (!iq.sourceEvent)
- return UNDEFINED;
- return Value(iq.sourceEvent->bunchCrossing());
- },
- 1,
- iConfig.getParameter("max_bunchcrossing"));
+ addExtractor(
+ intern("LumiBlock"),
+ [lumiblock](InterestingQuantities const& iq) {
+ if (!iq.sourceEvent)
+ return UNDEFINED;
+ // The '-1' is for making 1-10 the same block rather than 0-9
+ // The '+0.5' makes the block span an integer range rather n.5-m.5
+ return Value(((iq.sourceEvent->luminosityBlock() - 1) / lumiblock) + 0.5);
+ },
+ -0.5,
+ iConfig.getParameter("max_lumisection") / lumiblock);
+
+ addExtractor(
+ intern("BX"),
+ [](InterestingQuantities const& iq) {
+ if (!iq.sourceEvent)
+ return UNDEFINED;
+ return Value(iq.sourceEvent->bunchCrossing());
+ },
+ 1,
+ iConfig.getParameter("max_bunchcrossing"));
}
void GeometryInterface::loadModuleLevel(edm::EventSetup const& iSetup, const edm::ParameterSet& iConfig) {
// stuff that is within modules. Might require some phase0/phase1/strip switching later
- addExtractor(intern("row"),
- [](InterestingQuantities const& iq) { return Value(iq.row); },
- 0,
- iConfig.getParameter("module_rows") - 1);
- addExtractor(intern("col"),
- [](InterestingQuantities const& iq) { return Value(iq.col); },
- 0,
- iConfig.getParameter("module_cols") - 1);
+ addExtractor(
+ intern("row"),
+ [](InterestingQuantities const& iq) { return Value(iq.row); },
+ 0,
+ iConfig.getParameter("module_rows") - 1);
+ addExtractor(
+ intern("col"),
+ [](InterestingQuantities const& iq) { return Value(iq.col); },
+ 0,
+ iConfig.getParameter("module_cols") - 1);
}
void GeometryInterface::loadFEDCabling(edm::EventSetup const& iSetup, const edm::ParameterSet& iConfig) {
diff --git a/DQM/SiPixelPhase1Common/src/SiPixelCoordinates.cc b/DQM/SiPixelPhase1Common/src/SiPixelCoordinates.cc
index 4f59cb1825902..8ea9fedb62427 100644
--- a/DQM/SiPixelPhase1Common/src/SiPixelCoordinates.cc
+++ b/DQM/SiPixelPhase1Common/src/SiPixelCoordinates.cc
@@ -8,7 +8,7 @@
#include "DQM/SiPixelPhase1Common/interface/SiPixelCoordinates.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "CondFormats/DataRecord/interface/SiPixelFedCablingMapRcd.h"
diff --git a/DQM/SiPixelPhase1Summary/src/SiPixelPhase1Summary.cc b/DQM/SiPixelPhase1Summary/src/SiPixelPhase1Summary.cc
index 0ec26322e67c6..60471d366f51b 100644
--- a/DQM/SiPixelPhase1Summary/src/SiPixelPhase1Summary.cc
+++ b/DQM/SiPixelPhase1Summary/src/SiPixelPhase1Summary.cc
@@ -26,7 +26,7 @@
// Geometry
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/Records/interface/TrackerTopologyRcd.h"
// DataFormats
diff --git a/DQM/SiPixelPhase1Track/plugins/SiPixelPhase1RecHits.cc b/DQM/SiPixelPhase1Track/plugins/SiPixelPhase1RecHits.cc
index 8e379069cdd47..d3b05430bada2 100644
--- a/DQM/SiPixelPhase1Track/plugins/SiPixelPhase1RecHits.cc
+++ b/DQM/SiPixelPhase1Track/plugins/SiPixelPhase1RecHits.cc
@@ -13,7 +13,7 @@
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "DataFormats/GeometryVector/interface/LocalPoint.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
diff --git a/DQM/SiPixelPhase1Track/plugins/SiPixelPhase1TrackClusters.cc b/DQM/SiPixelPhase1Track/plugins/SiPixelPhase1TrackClusters.cc
index cd189a73ff42b..9d933ddf22f62 100644
--- a/DQM/SiPixelPhase1Track/plugins/SiPixelPhase1TrackClusters.cc
+++ b/DQM/SiPixelPhase1Track/plugins/SiPixelPhase1TrackClusters.cc
@@ -21,7 +21,7 @@
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
#include "DataFormats/GeometryVector/interface/LocalPoint.h"
diff --git a/DQM/SiPixelPhase1Track/plugins/SiPixelPhase1TrackEfficiency.cc b/DQM/SiPixelPhase1Track/plugins/SiPixelPhase1TrackEfficiency.cc
index e5b76b2d38e05..ae05624d07783 100644
--- a/DQM/SiPixelPhase1Track/plugins/SiPixelPhase1TrackEfficiency.cc
+++ b/DQM/SiPixelPhase1Track/plugins/SiPixelPhase1TrackEfficiency.cc
@@ -15,7 +15,7 @@
#include "FWCore/Framework/interface/ESHandle.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
#include "DataFormats/SiStripDetId/interface/StripSubdetector.h"
diff --git a/DQM/SiPixelPhase1Track/plugins/SiPixelPhase1TrackResiduals.cc b/DQM/SiPixelPhase1Track/plugins/SiPixelPhase1TrackResiduals.cc
index 6fa36834f64a7..6f51b313ec9fc 100644
--- a/DQM/SiPixelPhase1Track/plugins/SiPixelPhase1TrackResiduals.cc
+++ b/DQM/SiPixelPhase1Track/plugins/SiPixelPhase1TrackResiduals.cc
@@ -14,11 +14,11 @@
#include "FWCore/Framework/interface/ESHandle.h"
#include "DataFormats/VertexReco/interface/Vertex.h"
#include "DataFormats/TrackerRecHit2D/interface/SiPixelRecHit.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
namespace {
diff --git a/DataFormats/MuonDetId/test/BuildFile.xml b/DataFormats/MuonDetId/test/BuildFile.xml
index ac6a204c0ae49..2e6f26b2c8c95 100644
--- a/DataFormats/MuonDetId/test/BuildFile.xml
+++ b/DataFormats/MuonDetId/test/BuildFile.xml
@@ -7,18 +7,3 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/DataFormats/MuonDetId/test/RPCDetIdAnalyzer.cc b/DataFormats/MuonDetId/test/RPCDetIdAnalyzer.cc
deleted file mode 100644
index 3493e550cee56..0000000000000
--- a/DataFormats/MuonDetId/test/RPCDetIdAnalyzer.cc
+++ /dev/null
@@ -1,136 +0,0 @@
-// -*- C++ -*-
-//
-// Package: RPCDetIdAnalyzer
-// Class: RPCDetIdAnalyzer
-//
-/**\class RPCDetIdAnalyzer RPCDetIdAnalyzer.cc DataFormats/RPCDetIdAnalyzer/src/RPCDetIdAnalyzer.cc
-
- Description: [one line class summary]
-
- Implementation:
- [Notes on implementation]
-*/
-//
-// Original Author: Marcello Maggi,161 R-006,+41227676292,
-// Created: Fri Nov 4 12:32:59 CET 2011
-//
-//
-
-// system include files
-#include
-#include
-
-// user include files
-#include "FWCore/Framework/interface/Frameworkfwd.h"
-#include "FWCore/Framework/interface/EDAnalyzer.h"
-
-#include "FWCore/Framework/interface/Event.h"
-#include "FWCore/Framework/interface/MakerMacros.h"
-
-#include "FWCore/ParameterSet/interface/ParameterSet.h"
-#include "DataFormats/MuonDetId/interface/RPCCompDetId.h"
-//
-// class declaration
-//
-
-class RPCDetIdAnalyzer : public edm::EDAnalyzer {
-public:
- explicit RPCDetIdAnalyzer(const edm::ParameterSet&);
- ~RPCDetIdAnalyzer();
-
- static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
-
-private:
- virtual void beginJob();
- virtual void analyze(const edm::Event&, const edm::EventSetup&);
- virtual void endJob();
-
- virtual void beginRun(edm::Run const&, edm::EventSetup const&);
- virtual void endRun(edm::Run const&, edm::EventSetup const&);
- virtual void beginLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&);
- virtual void endLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&);
-
- // ----------member data ---------------------------
-};
-
-//
-// constants, enums and typedefs
-//
-
-//
-// static data member definitions
-//
-
-//
-// constructors and destructor
-//
-RPCDetIdAnalyzer::RPCDetIdAnalyzer(const edm::ParameterSet& iConfig)
-
-{
- //now do what ever initialization is needed
-}
-
-RPCDetIdAnalyzer::~RPCDetIdAnalyzer() {
- // do anything here that needs to be done at desctruction time
- // (e.g. close files, deallocate resources etc.)
-}
-
-//
-// member functions
-//
-
-// ------------ method called for each event ------------
-void RPCDetIdAnalyzer::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup)
-
-{
- RPCCompDetId rpcgasid("WM2_S04_RB4R", 0);
-
- //RPCCompDetId rpcgasid("cms_rpc_dcs_03:EM1_R03_C12_C17_UP",0);
- std::cout << rpcgasid << " rawid = " << rpcgasid.rawId() << std::endl;
- std::cout << "Region = " << rpcgasid.region() << std::endl;
- std::cout << "Ring or Wheel = " << rpcgasid.ring() << " - Wheel = " << rpcgasid.wheel() << std::endl;
- std::cout << "Station or Disk = " << rpcgasid.station() << " - Disk = " << rpcgasid.disk() << std::endl;
- std::cout << "Sector = " << rpcgasid.sector() << std::endl;
- std::cout << "Layer = " << rpcgasid.layer() << std::endl;
- std::cout << "SubSector = " << rpcgasid.subsector() << std::endl;
- std::cout << std::setw(100) << std::setfill('-') << std::endl;
- std::cout << "ok" << std::endl;
- RPCCompDetId check(rpcgasid.rawId());
- std::cout << check << " rawid = " << check.rawId() << std::endl;
- std::cout << "Region = " << check.region() << std::endl;
- std::cout << "Ring or Wheel = " << check.ring() << " - Wheel = " << check.wheel() << std::endl;
- std::cout << "Station or Disk = " << check.station() << " - Disk = " << check.disk() << std::endl;
- std::cout << "Sector = " << check.sector() << std::endl;
- std::cout << "Layer = " << check.layer() << std::endl;
- std::cout << "SubSector = " << check.subsector() << std::endl;
-}
-
-// ------------ method called once each job just before starting event loop ------------
-void RPCDetIdAnalyzer::beginJob() {}
-
-// ------------ method called once each job just after ending the event loop ------------
-void RPCDetIdAnalyzer::endJob() {}
-
-// ------------ method called when starting to processes a run ------------
-void RPCDetIdAnalyzer::beginRun(edm::Run const&, edm::EventSetup const&) {}
-
-// ------------ method called when ending the processing of a run ------------
-void RPCDetIdAnalyzer::endRun(edm::Run const&, edm::EventSetup const&) {}
-
-// ------------ method called when starting to processes a luminosity block ------------
-void RPCDetIdAnalyzer::beginLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) {}
-
-// ------------ method called when ending the processing of a luminosity block ------------
-void RPCDetIdAnalyzer::endLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) {}
-
-// ------------ method fills 'descriptions' with the allowed parameters for the module ------------
-void RPCDetIdAnalyzer::fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
- //The following says we do not know what parameters are allowed so do no validation
- // Please change this to state exactly what you do use, even if it is no parameters
- edm::ParameterSetDescription desc;
- desc.setUnknown();
- descriptions.addDefault(desc);
-}
-
-//define this as a plug-in
-DEFINE_FWK_MODULE(RPCDetIdAnalyzer);
diff --git a/DataFormats/MuonDetId/test/cdan_cfg.py b/DataFormats/MuonDetId/test/cdan_cfg.py
deleted file mode 100644
index 2bf2ce119d59a..0000000000000
--- a/DataFormats/MuonDetId/test/cdan_cfg.py
+++ /dev/null
@@ -1,43 +0,0 @@
-# Configuration file to run CSCDetIdAnalyzer
-# to dump CSC geometry focussing on CSCDetId
-# Tim Cox 12.06.2008 pythonized
-
-import FWCore.ParameterSet.Config as cms
-
-process = cms.Process("GeometryTest")
-process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
-process.load("Geometry.MuonCommonData.muonEndcapIdealGeometryXML_cfi")
-# flags for modelling of CSC layer & strip geometry
-process.load("Geometry.CSCGeometry.cscGeometry_cfi")
-
-process.source = cms.Source("EmptySource")
-
-process.maxEvents = cms.untracked.PSet(
- input = cms.untracked.int32(1)
-)
-process.MessageLogger = cms.Service("MessageLogger",
- # For LogDebug/LogTrace output...
- # untracked vstring debugModules = { "*" }
- # No constraint on log.out content...equivalent to threshold INFO
- # 0 means none, -1 means all (?)
- cout = cms.untracked.PSet(
- threshold = cms.untracked.string('DEBUG'),
- INFO = cms.untracked.PSet(
- limit = cms.untracked.int32(-1)
- ),
- default = cms.untracked.PSet(
- limit = cms.untracked.int32(0)
- ),
- CSC = cms.untracked.PSet(
- limit = cms.untracked.int32(-1)
- ),
- noLineBreaks = cms.untracked.bool(True)
- ),
- categories = cms.untracked.vstring('CSC'),
- destinations = cms.untracked.vstring('cout')
-)
-
-process.producer = cms.EDAnalyzer("CSCDetIdAnalyzer")
-
-process.p1 = cms.Path(process.producer)
-
diff --git a/DataFormats/MuonDetId/test/rpcdetidanalyzer_cfg.py b/DataFormats/MuonDetId/test/rpcdetidanalyzer_cfg.py
deleted file mode 100644
index de90c258a905f..0000000000000
--- a/DataFormats/MuonDetId/test/rpcdetidanalyzer_cfg.py
+++ /dev/null
@@ -1,16 +0,0 @@
-import FWCore.ParameterSet.Config as cms
-
-process = cms.Process("Demo")
-
-process.load("FWCore.MessageService.MessageLogger_cfi")
-
-process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
-
-process.source = cms.Source("EmptySource"
- )
-
-process.demo = cms.EDAnalyzer('RPCDetIdAnalyzer'
-)
-
-
-process.p = cms.Path(process.demo)
diff --git a/DataFormats/MuonDetId/test/testRPCDetId.cc b/DataFormats/MuonDetId/test/testRPCDetId.cc
index 7aac38e2bc723..a03d4e9648fbb 100644
--- a/DataFormats/MuonDetId/test/testRPCDetId.cc
+++ b/DataFormats/MuonDetId/test/testRPCDetId.cc
@@ -7,31 +7,41 @@
*/
#include
-#include
-#include
+#include "DataFormats/MuonDetId/interface/RPCDetId.h"
+#include "DataFormats/MuonDetId/interface/RPCCompDetId.h"
+#include "FWCore/Utilities/interface/Exception.h"
+#include
#include
+
using namespace std;
class testRPCDetId : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(testRPCDetId);
CPPUNIT_TEST(testOne);
+ CPPUNIT_TEST(testGasId);
CPPUNIT_TEST(testFail);
CPPUNIT_TEST(testMemberOperators);
CPPUNIT_TEST_SUITE_END();
public:
- void setUp() {}
+ void setUp();
void tearDown() {}
void testOne();
+ void testGasId();
void testFail();
void testMemberOperators();
+
+private:
+ RPCCompDetId rpcgasid_;
};
///registration of the test so that the runner can find it
CPPUNIT_TEST_SUITE_REGISTRATION(testRPCDetId);
+void testRPCDetId::setUp() { rpcgasid_ = RPCCompDetId("WM2_S04_RB4R", 0); }
+
void testRPCDetId::testOne() {
for (int region = RPCDetId::minRegionId; region <= RPCDetId::maxRegionId; ++region) {
const int minRing(0 != region ? RPCDetId::minRingForwardId : RPCDetId::minRingBarrelId);
@@ -65,6 +75,26 @@ void testRPCDetId::testOne() {
}
}
+void testRPCDetId::testGasId() {
+ std::cout << rpcgasid_ << " rawid = " << rpcgasid_.rawId() << std::endl;
+ std::cout << "Region = " << rpcgasid_.region() << std::endl;
+ std::cout << "Ring or Wheel = " << rpcgasid_.ring() << " - Wheel = " << rpcgasid_.wheel() << std::endl;
+ std::cout << "Station or Disk = " << rpcgasid_.station() << " - Disk = " << rpcgasid_.disk() << std::endl;
+ std::cout << "Sector = " << rpcgasid_.sector() << std::endl;
+ std::cout << "Layer = " << rpcgasid_.layer() << std::endl;
+ std::cout << "SubSector = " << rpcgasid_.subsector() << std::endl;
+ std::cout << std::setw(100) << std::setfill('-') << std::endl;
+ std::cout << "ok" << std::endl;
+ RPCCompDetId check(rpcgasid_.rawId());
+ std::cout << check << " rawid = " << check.rawId() << std::endl;
+ std::cout << "Region = " << check.region() << std::endl;
+ std::cout << "Ring or Wheel = " << check.ring() << " - Wheel = " << check.wheel() << std::endl;
+ std::cout << "Station or Disk = " << check.station() << " - Disk = " << check.disk() << std::endl;
+ std::cout << "Sector = " << check.sector() << std::endl;
+ std::cout << "Layer = " << check.layer() << std::endl;
+ std::cout << "SubSector = " << check.subsector() << std::endl;
+}
+
void testRPCDetId::testFail() {
// contruct using an invalid input index
try {
diff --git a/DataFormats/ParticleFlowReco/BuildFile.xml b/DataFormats/ParticleFlowReco/BuildFile.xml
index 194195cdf31cd..7503218437353 100644
--- a/DataFormats/ParticleFlowReco/BuildFile.xml
+++ b/DataFormats/ParticleFlowReco/BuildFile.xml
@@ -7,7 +7,6 @@
-
diff --git a/DataFormats/VertexReco/test/BuildFile.xml b/DataFormats/VertexReco/test/BuildFile.xml
index c4a9b165bd1a3..23b6edbb1fbf4 100644
--- a/DataFormats/VertexReco/test/BuildFile.xml
+++ b/DataFormats/VertexReco/test/BuildFile.xml
@@ -4,8 +4,6 @@
-
-
diff --git a/EventFilter/SiPixelRawToDigi/src/PixelUnpackingRegions.cc b/EventFilter/SiPixelRawToDigi/src/PixelUnpackingRegions.cc
index 6975dc58d13e8..574538e765cb0 100644
--- a/EventFilter/SiPixelRawToDigi/src/PixelUnpackingRegions.cc
+++ b/EventFilter/SiPixelRawToDigi/src/PixelUnpackingRegions.cc
@@ -9,7 +9,7 @@
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
#include "DataFormats/BeamSpot/interface/BeamSpot.h"
diff --git a/FastSimulation/SimplifiedGeometryPropagator/plugins/FastTrackDeDxProducer.cc b/FastSimulation/SimplifiedGeometryPropagator/plugins/FastTrackDeDxProducer.cc
index c1bd20f093162..853c7f0898d6f 100644
--- a/FastSimulation/SimplifiedGeometryPropagator/plugins/FastTrackDeDxProducer.cc
+++ b/FastSimulation/SimplifiedGeometryPropagator/plugins/FastTrackDeDxProducer.cc
@@ -30,7 +30,7 @@
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonDetUnit/interface/GluedGeomDet.h"
#include "DataFormats/Common/interface/ValueMap.h"
diff --git a/FastSimulation/TrackingRecHitProducer/interface/PixelTemplateSmearerBase.h b/FastSimulation/TrackingRecHitProducer/interface/PixelTemplateSmearerBase.h
index 9446c2103aa5e..9dd5a6d7904c2 100644
--- a/FastSimulation/TrackingRecHitProducer/interface/PixelTemplateSmearerBase.h
+++ b/FastSimulation/TrackingRecHitProducer/interface/PixelTemplateSmearerBase.h
@@ -19,7 +19,7 @@
// Geometry
#include "Geometry/CommonDetUnit/interface/GeomDetType.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
// template object
#include "CondFormats/SiPixelTransient/interface/SiPixelTemplate.h"
diff --git a/FastSimulation/TrackingRecHitProducer/plugins/PixelTemplateSmearerPlugin.cc b/FastSimulation/TrackingRecHitProducer/plugins/PixelTemplateSmearerPlugin.cc
index ccc78420f17bc..ce4a2459d87f6 100644
--- a/FastSimulation/TrackingRecHitProducer/plugins/PixelTemplateSmearerPlugin.cc
+++ b/FastSimulation/TrackingRecHitProducer/plugins/PixelTemplateSmearerPlugin.cc
@@ -6,7 +6,7 @@
#include "FastSimulation/TrackingRecHitProducer/interface/PixelResolutionHistograms.h"
// Geometry
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
/// If we ever need to port back to 9X: #include "Geometry/CommonDetUnit/interface/GeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/RectangularPixelTopology.h"
#include "DataFormats/GeometryVector/interface/LocalPoint.h"
diff --git a/FastSimulation/TrackingRecHitProducer/src/PixelTemplateSmearerBase.cc b/FastSimulation/TrackingRecHitProducer/src/PixelTemplateSmearerBase.cc
index e55ab63f616bb..f0bf2e66f56c5 100644
--- a/FastSimulation/TrackingRecHitProducer/src/PixelTemplateSmearerBase.cc
+++ b/FastSimulation/TrackingRecHitProducer/src/PixelTemplateSmearerBase.cc
@@ -20,7 +20,7 @@
// Geometry
/// #include "Geometry/CommonDetUnit/interface/GeomDetUnit.h" // Keep... needed if we backport to CMSSW_9
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/RectangularPixelTopology.h"
#include "DataFormats/GeometryVector/interface/LocalPoint.h"
#include "DataFormats/GeometryCommonDetAlgo/interface/MeasurementPoint.h"
diff --git a/Fireworks/Geometry/plugins/ValidateGeometry.cc b/Fireworks/Geometry/plugins/ValidateGeometry.cc
index 51fe920873b4a..ce1dfd4a74526 100644
--- a/Fireworks/Geometry/plugins/ValidateGeometry.cc
+++ b/Fireworks/Geometry/plugins/ValidateGeometry.cc
@@ -25,7 +25,7 @@
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/RectangularPixelTopology.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetType.h"
diff --git a/Fireworks/Geometry/src/FWRecoGeometryESProducer.cc b/Fireworks/Geometry/src/FWRecoGeometryESProducer.cc
index 18868c6f4ebdf..64044ee94ee0a 100644
--- a/Fireworks/Geometry/src/FWRecoGeometryESProducer.cc
+++ b/Fireworks/Geometry/src/FWRecoGeometryESProducer.cc
@@ -26,7 +26,7 @@
#include "Geometry/Records/interface/CaloGeometryRecord.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/TrackerGeometryBuilder/interface/RectangularPixelTopology.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetType.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
diff --git a/Fireworks/Geometry/src/FWTGeoRecoGeometryESProducer.cc b/Fireworks/Geometry/src/FWTGeoRecoGeometryESProducer.cc
index baaa65bb71d16..82f1d2b994afc 100644
--- a/Fireworks/Geometry/src/FWTGeoRecoGeometryESProducer.cc
+++ b/Fireworks/Geometry/src/FWTGeoRecoGeometryESProducer.cc
@@ -34,7 +34,7 @@
#include "Geometry/Records/interface/CaloGeometryRecord.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/TrackerGeometryBuilder/interface/RectangularPixelTopology.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetType.h"
#include "Geometry/CommonTopologies/interface/StripTopology.h"
diff --git a/DataFormats/MuonDetId/test/CSCDetIdAnalyzer.cc b/Geometry/CSCGeometry/test/stubs/CSCDetIdAnalyzer.cc
similarity index 100%
rename from DataFormats/MuonDetId/test/CSCDetIdAnalyzer.cc
rename to Geometry/CSCGeometry/test/stubs/CSCDetIdAnalyzer.cc
diff --git a/Geometry/CommonDetUnit/BuildFile.xml b/Geometry/CommonDetUnit/BuildFile.xml
index a8097b9391908..9009f44e493e1 100644
--- a/Geometry/CommonDetUnit/BuildFile.xml
+++ b/Geometry/CommonDetUnit/BuildFile.xml
@@ -4,4 +4,4 @@
-
+
diff --git a/Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h b/Geometry/CommonDetUnit/interface/PixelGeomDetType.h
similarity index 100%
rename from Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h
rename to Geometry/CommonDetUnit/interface/PixelGeomDetType.h
diff --git a/Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h b/Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h
similarity index 88%
rename from Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h
rename to Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h
index 78f7759e0348b..cd5545c8eac79 100644
--- a/Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h
+++ b/Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h
@@ -1,9 +1,9 @@
-#ifndef Geometry_TrackerGeometryBuilder_PixelGeomDetUnit_H
-#define Geometry_TrackerGeometryBuilder_PixelGeomDetUnit_H
+#ifndef Geometry_CommonDetUnit_PixelGeomDetUnit_H
+#define Geometry_CommonDetUnit_PixelGeomDetUnit_H
#include "Geometry/CommonDetUnit/interface/TrackerGeomDet.h"
#include "DataFormats/DetId/interface/DetId.h"
-#include "Geometry/TrackerGeometryBuilder/interface/ProxyPixelTopology.h"
+#include "Geometry/CommonTopologies/interface/ProxyPixelTopology.h"
class PixelGeomDetType;
class PixelTopology;
@@ -46,7 +46,7 @@ class PixelGeomDetUnit final : public TrackerGeomDet {
bool isLeaf() const override { return true; }
private:
- /// set the SurfaceDeformation for this StripGeomDetUnit to proxy topology.
+ /// set the SurfaceDeformation for this StripGeomDet to proxy topology.
void setSurfaceDeformation(const SurfaceDeformation* deformation) override;
std::unique_ptr theTopology;
diff --git a/Geometry/TrackerGeometryBuilder/interface/StackGeomDet.h b/Geometry/CommonDetUnit/interface/StackGeomDet.h
similarity index 87%
rename from Geometry/TrackerGeometryBuilder/interface/StackGeomDet.h
rename to Geometry/CommonDetUnit/interface/StackGeomDet.h
index c13f2ec521d21..c87410a374f0f 100644
--- a/Geometry/TrackerGeometryBuilder/interface/StackGeomDet.h
+++ b/Geometry/CommonDetUnit/interface/StackGeomDet.h
@@ -1,5 +1,5 @@
-#ifndef Geometry_TrackerGeometryBuilder_StackGeomDet_H
-#define Geometry_TrackerGeometryBuilder_StackGeomDet_H
+#ifndef Geometry_CommonDetUnit_StackGeomDet_H
+#define Geometry_CommonDetUnit_StackGeomDet_H
#include "Geometry/CommonDetUnit/interface/TrackerGeomDet.h"
#include "DataFormats/DetId/interface/DetId.h"
diff --git a/Geometry/CommonDetUnit/src/PixelGeomDetType.cc b/Geometry/CommonDetUnit/src/PixelGeomDetType.cc
new file mode 100644
index 0000000000000..f45be58383173
--- /dev/null
+++ b/Geometry/CommonDetUnit/src/PixelGeomDetType.cc
@@ -0,0 +1,9 @@
+// #include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
+
+// void PixelGeomDetType::setTopology( TopologyType* topol)
+// {
+// if (topol != theTopology) {
+// delete theTopology;
+// theTopology = topol;
+// }
+// }
diff --git a/Geometry/TrackerGeometryBuilder/src/PixelGeomDetUnit.cc b/Geometry/CommonDetUnit/src/PixelGeomDetUnit.cc
similarity index 83%
rename from Geometry/TrackerGeometryBuilder/src/PixelGeomDetUnit.cc
rename to Geometry/CommonDetUnit/src/PixelGeomDetUnit.cc
index 527511d34aa8d..624d96273be23 100644
--- a/Geometry/TrackerGeometryBuilder/src/PixelGeomDetUnit.cc
+++ b/Geometry/CommonDetUnit/src/PixelGeomDetUnit.cc
@@ -1,5 +1,5 @@
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
#include "Geometry/CommonTopologies/interface/SurfaceDeformation.h"
diff --git a/Geometry/TrackerGeometryBuilder/src/StackGeomDet.cc b/Geometry/CommonDetUnit/src/StackGeomDet.cc
similarity index 87%
rename from Geometry/TrackerGeometryBuilder/src/StackGeomDet.cc
rename to Geometry/CommonDetUnit/src/StackGeomDet.cc
index 52d821542da09..04f0cb181bb89 100644
--- a/Geometry/TrackerGeometryBuilder/src/StackGeomDet.cc
+++ b/Geometry/CommonDetUnit/src/StackGeomDet.cc
@@ -1,4 +1,4 @@
-#include "Geometry/TrackerGeometryBuilder/interface/StackGeomDet.h"
+#include "Geometry/CommonDetUnit/interface/StackGeomDet.h"
StackGeomDet::StackGeomDet(BoundPlane* sp,
const GeomDetUnit* lowerDet,
diff --git a/Geometry/TrackerGeometryBuilder/interface/ProxyPixelTopology.h b/Geometry/CommonTopologies/interface/ProxyPixelTopology.h
similarity index 96%
rename from Geometry/TrackerGeometryBuilder/interface/ProxyPixelTopology.h
rename to Geometry/CommonTopologies/interface/ProxyPixelTopology.h
index 89c11f7444e63..542f57f339198 100644
--- a/Geometry/TrackerGeometryBuilder/interface/ProxyPixelTopology.h
+++ b/Geometry/CommonTopologies/interface/ProxyPixelTopology.h
@@ -1,5 +1,5 @@
-#ifndef Geometry_TrackerTopology_ProxyPixelTopology_H
-#define Geometry_TrackerTopology_ProxyPixelTopology_H
+#ifndef Geometry_CommonTopologies_ProxyPixelTopology_H
+#define Geometry_CommonTopologies_ProxyPixelTopology_H
/// ProxyStripTopology
///
@@ -21,7 +21,7 @@
#include "Geometry/CommonTopologies/interface/SurfaceDeformation.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
class Plane;
diff --git a/Geometry/TrackerGeometryBuilder/src/ProxyPixelTopology.cc b/Geometry/CommonTopologies/src/ProxyPixelTopology.cc
similarity index 98%
rename from Geometry/TrackerGeometryBuilder/src/ProxyPixelTopology.cc
rename to Geometry/CommonTopologies/src/ProxyPixelTopology.cc
index ec4dcd21f7445..9022aa9f4d127 100644
--- a/Geometry/TrackerGeometryBuilder/src/ProxyPixelTopology.cc
+++ b/Geometry/CommonTopologies/src/ProxyPixelTopology.cc
@@ -1,8 +1,8 @@
#include "DataFormats/GeometrySurface/interface/BoundPlane.h"
#include "DataFormats/GeometrySurface/interface/Bounds.h"
-#include "Geometry/TrackerGeometryBuilder/interface/ProxyPixelTopology.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
+#include "Geometry/CommonTopologies/interface/ProxyPixelTopology.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
////////////////////////////////////////////////////////////////////////////////
ProxyPixelTopology::ProxyPixelTopology(PixelGeomDetType const *type, BoundPlane *bp)
diff --git a/DataFormats/MuonDetId/test/GEMDetIdAnalyzer.cc b/Geometry/GEMGeometry/test/GEMDetIdAnalyzer.cc
similarity index 100%
rename from DataFormats/MuonDetId/test/GEMDetIdAnalyzer.cc
rename to Geometry/GEMGeometry/test/GEMDetIdAnalyzer.cc
diff --git a/DataFormats/MuonDetId/test/runGEMDetIdAnalysis_cfg.py b/Geometry/GEMGeometry/test/runGEMDetIdAnalysis_cfg.py
similarity index 100%
rename from DataFormats/MuonDetId/test/runGEMDetIdAnalysis_cfg.py
rename to Geometry/GEMGeometry/test/runGEMDetIdAnalysis_cfg.py
diff --git a/Geometry/MTDNumberingBuilder/test/MTDModuleNumbering.cc b/Geometry/MTDNumberingBuilder/test/MTDModuleNumbering.cc
index 688c00c8a8047..8ed96ed2815ab 100644
--- a/Geometry/MTDNumberingBuilder/test/MTDModuleNumbering.cc
+++ b/Geometry/MTDNumberingBuilder/test/MTDModuleNumbering.cc
@@ -31,10 +31,10 @@
#include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/CommonTopologies/interface/StripTopology.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetType.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "DataFormats/GeometrySurface/interface/BoundSurface.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
diff --git a/Geometry/TrackerGeometryBuilder/src/PixelGeomDetType.cc b/Geometry/TrackerGeometryBuilder/src/PixelGeomDetType.cc
deleted file mode 100644
index 7c6a04b3a9a0e..0000000000000
--- a/Geometry/TrackerGeometryBuilder/src/PixelGeomDetType.cc
+++ /dev/null
@@ -1,10 +0,0 @@
-// #include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
-
-
-// void PixelGeomDetType::setTopology( TopologyType* topol)
-// {
-// if (topol != theTopology) {
-// delete theTopology;
-// theTopology = topol;
-// }
-// }
diff --git a/Geometry/TrackerGeometryBuilder/src/TrackerGeomBuilderFromGeometricDet.cc b/Geometry/TrackerGeometryBuilder/src/TrackerGeomBuilderFromGeometricDet.cc
index 2dd8c32043f7a..cc32b9c65aff8 100644
--- a/Geometry/TrackerGeometryBuilder/src/TrackerGeomBuilderFromGeometricDet.cc
+++ b/Geometry/TrackerGeometryBuilder/src/TrackerGeomBuilderFromGeometricDet.cc
@@ -3,9 +3,9 @@
#include "Geometry/TrackerGeometryBuilder/interface/PlaneBuilderForGluedDet.h"
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
#include "Geometry/CommonDetUnit/interface/GluedGeomDet.h"
-#include "Geometry/TrackerGeometryBuilder/interface/StackGeomDet.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/StackGeomDet.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetType.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/PixelTopologyBuilder.h"
diff --git a/Geometry/TrackerGeometryBuilder/test/ModuleInfo.cc b/Geometry/TrackerGeometryBuilder/test/ModuleInfo.cc
index f845a338bf766..21724812477c4 100644
--- a/Geometry/TrackerGeometryBuilder/test/ModuleInfo.cc
+++ b/Geometry/TrackerGeometryBuilder/test/ModuleInfo.cc
@@ -33,10 +33,10 @@
#include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/CommonTopologies/interface/StripTopology.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetType.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "DataFormats/GeometrySurface/interface/BoundSurface.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
diff --git a/Geometry/TrackerGeometryBuilder/test/TrackerDigiGeometryAnalyzer.cc b/Geometry/TrackerGeometryBuilder/test/TrackerDigiGeometryAnalyzer.cc
index 4d46d35570499..b3fe3c3760ed0 100644
--- a/Geometry/TrackerGeometryBuilder/test/TrackerDigiGeometryAnalyzer.cc
+++ b/Geometry/TrackerGeometryBuilder/test/TrackerDigiGeometryAnalyzer.cc
@@ -34,10 +34,10 @@
#include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/CommonTopologies/interface/StripTopology.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetType.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h"
#include "DataFormats/GeometrySurface/interface/BoundSurface.h"
#include "DataFormats/GeometrySurface/interface/MediumProperties.h"
diff --git a/Geometry/TrackerGeometryBuilder/test/TrackerMapTool.cc b/Geometry/TrackerGeometryBuilder/test/TrackerMapTool.cc
index ab2df9a21be4d..a61070315436c 100644
--- a/Geometry/TrackerGeometryBuilder/test/TrackerMapTool.cc
+++ b/Geometry/TrackerGeometryBuilder/test/TrackerMapTool.cc
@@ -39,10 +39,10 @@
#include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/CommonTopologies/interface/StripTopology.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetType.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "DataFormats/GeometrySurface/interface/BoundSurface.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
//
diff --git a/Geometry/TrackerNumberingBuilder/test/ModuleNumbering.cc b/Geometry/TrackerNumberingBuilder/test/ModuleNumbering.cc
index b7b7dc0945004..b2e458ae0e2c4 100644
--- a/Geometry/TrackerNumberingBuilder/test/ModuleNumbering.cc
+++ b/Geometry/TrackerNumberingBuilder/test/ModuleNumbering.cc
@@ -31,10 +31,10 @@
#include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/CommonTopologies/interface/StripTopology.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetType.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "DataFormats/GeometrySurface/interface/BoundSurface.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
diff --git a/HLTrigger/special/plugins/HLTPixelClusterShapeFilter.cc b/HLTrigger/special/plugins/HLTPixelClusterShapeFilter.cc
index 53d3a23c7a3c4..64275d8953319 100644
--- a/HLTrigger/special/plugins/HLTPixelClusterShapeFilter.cc
+++ b/HLTrigger/special/plugins/HLTPixelClusterShapeFilter.cc
@@ -48,7 +48,7 @@ class HLTPixelClusterShapeFilter : public HLTFilter {
#include "FWCore/Framework/interface/ESHandle.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
diff --git a/L1Trigger/L1TMuon/src/TTGeometryTranslator.cc b/L1Trigger/L1TMuon/src/TTGeometryTranslator.cc
index 78896f4195781..b9a729854419d 100644
--- a/L1Trigger/L1TMuon/src/TTGeometryTranslator.cc
+++ b/L1Trigger/L1TMuon/src/TTGeometryTranslator.cc
@@ -8,7 +8,7 @@
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h"
#include "MagneticField/Engine/interface/MagneticField.h"
diff --git a/L1Trigger/TrackTrigger/interface/StubPtConsistency.h b/L1Trigger/TrackTrigger/interface/StubPtConsistency.h
index 3eb4a49e2a7e4..537b37fb3278e 100644
--- a/L1Trigger/TrackTrigger/interface/StubPtConsistency.h
+++ b/L1Trigger/TrackTrigger/interface/StubPtConsistency.h
@@ -4,8 +4,8 @@
#include "MagneticField/Engine/interface/MagneticField.h"
#include "MagneticField/Records/interface/IdealMagneticFieldRecord.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
#include "Geometry/TrackerGeometryBuilder/interface/PixelTopologyBuilder.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/TrackerGeometryBuilder/interface/RectangularPixelTopology.h"
diff --git a/L1Trigger/TrackTrigger/interface/TTStubAlgorithm_official.h b/L1Trigger/TrackTrigger/interface/TTStubAlgorithm_official.h
index bf87e3c74f8aa..c6d1ea6038514 100644
--- a/L1Trigger/TrackTrigger/interface/TTStubAlgorithm_official.h
+++ b/L1Trigger/TrackTrigger/interface/TTStubAlgorithm_official.h
@@ -25,7 +25,7 @@
#include "DataFormats/GeometryCommonDetAlgo/interface/MeasurementPoint.h"
#include "Geometry/CommonTopologies/interface/Topology.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include
diff --git a/L1Trigger/TrackTrigger/plugins/TTClusterBuilder.h b/L1Trigger/TrackTrigger/plugins/TTClusterBuilder.h
index 943326258c697..0d3fabb7361e7 100644
--- a/L1Trigger/TrackTrigger/plugins/TTClusterBuilder.h
+++ b/L1Trigger/TrackTrigger/plugins/TTClusterBuilder.h
@@ -25,7 +25,7 @@
#include "L1Trigger/TrackTrigger/interface/TTClusterAlgorithm.h"
#include "L1Trigger/TrackTrigger/interface/TTClusterAlgorithmRecord.h"
#include "Geometry/CommonTopologies/interface/Topology.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "DataFormats/Common/interface/DetSetVectorNew.h"
diff --git a/L1Trigger/TrackTrigger/plugins/TTStubBuilder.h b/L1Trigger/TrackTrigger/plugins/TTStubBuilder.h
index 3983ef2376bf6..3d9d90c8b2082 100644
--- a/L1Trigger/TrackTrigger/plugins/TTStubBuilder.h
+++ b/L1Trigger/TrackTrigger/plugins/TTStubBuilder.h
@@ -24,7 +24,7 @@
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "L1Trigger/TrackTrigger/interface/TTStubAlgorithm.h"
diff --git a/L1Trigger/TrackTrigger/test/AnalyzerClusterStub.cc b/L1Trigger/TrackTrigger/test/AnalyzerClusterStub.cc
index fec4baaa11623..5dece77573e20 100644
--- a/L1Trigger/TrackTrigger/test/AnalyzerClusterStub.cc
+++ b/L1Trigger/TrackTrigger/test/AnalyzerClusterStub.cc
@@ -24,7 +24,7 @@
#include "SimDataFormats/TrackingAnalysis/interface/TrackingVertex.h"
#include "CommonTools/UtilAlgos/interface/TFileService.h"
#include "Geometry/CommonTopologies/interface/Topology.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include
#include
diff --git a/L1Trigger/TrackTrigger/test/AnalyzerPrintGeomInfo.cc b/L1Trigger/TrackTrigger/test/AnalyzerPrintGeomInfo.cc
index 5048943dcf927..893a0d74077f4 100644
--- a/L1Trigger/TrackTrigger/test/AnalyzerPrintGeomInfo.cc
+++ b/L1Trigger/TrackTrigger/test/AnalyzerPrintGeomInfo.cc
@@ -12,7 +12,7 @@
#include "FWCore/PluginManager/interface/ModuleDef.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
#include "Geometry/TrackerGeometryBuilder/interface/RectangularPixelTopology.h"
#include "DataFormats/SiPixelDetId/interface/PXBDetId.h"
diff --git a/L1Trigger/TrackTrigger/test/AnalyzerSimHitMaps.cc b/L1Trigger/TrackTrigger/test/AnalyzerSimHitMaps.cc
index 2bf8382ca1e52..0b8ba242c1bdc 100644
--- a/L1Trigger/TrackTrigger/test/AnalyzerSimHitMaps.cc
+++ b/L1Trigger/TrackTrigger/test/AnalyzerSimHitMaps.cc
@@ -12,7 +12,7 @@
#include "FWCore/PluginManager/interface/ModuleDef.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "DataFormats/GeometryVector/interface/GlobalPoint.h"
#include "SimDataFormats/TrackingHit/interface/PSimHitContainer.h"
diff --git a/RecoBTag/PixelCluster/plugins/PixelClusterTagInfoProducer.cc b/RecoBTag/PixelCluster/plugins/PixelClusterTagInfoProducer.cc
index a32a43af436c8..1f0c291c9a699 100644
--- a/RecoBTag/PixelCluster/plugins/PixelClusterTagInfoProducer.cc
+++ b/RecoBTag/PixelCluster/plugins/PixelClusterTagInfoProducer.cc
@@ -60,7 +60,7 @@
// Geometry
#include "DataFormats/Math/interface/deltaR.h"
#include "DataFormats/GeometryVector/interface/GlobalPoint.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
diff --git a/RecoHI/HiCentralityAlgos/plugins/CentralityProducer.cc b/RecoHI/HiCentralityAlgos/plugins/CentralityProducer.cc
index c542d9e77240e..c754081258c20 100644
--- a/RecoHI/HiCentralityAlgos/plugins/CentralityProducer.cc
+++ b/RecoHI/HiCentralityAlgos/plugins/CentralityProducer.cc
@@ -39,7 +39,7 @@
#include "Geometry/CaloGeometry/interface/CaloGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
using namespace std;
using namespace edm;
diff --git a/RecoHI/HiCentralityAlgos/plugins/ClusterCompatibilityProducer.cc b/RecoHI/HiCentralityAlgos/plugins/ClusterCompatibilityProducer.cc
index b11760440fbf5..a38d62e98ee2e 100644
--- a/RecoHI/HiCentralityAlgos/plugins/ClusterCompatibilityProducer.cc
+++ b/RecoHI/HiCentralityAlgos/plugins/ClusterCompatibilityProducer.cc
@@ -24,7 +24,7 @@
#include "DataFormats/HeavyIonEvent/interface/ClusterCompatibility.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
diff --git a/RecoHI/HiTracking/plugins/HIPixelClusterVtxProducer.cc b/RecoHI/HiTracking/plugins/HIPixelClusterVtxProducer.cc
index 508dc76396e57..a69eb63239e7b 100644
--- a/RecoHI/HiTracking/plugins/HIPixelClusterVtxProducer.cc
+++ b/RecoHI/HiTracking/plugins/HIPixelClusterVtxProducer.cc
@@ -9,7 +9,7 @@
#include "DataFormats/VertexReco/interface/VertexFwd.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
diff --git a/RecoHI/HiTracking/test/HIPixelClusterVtxAnalyzer.cc b/RecoHI/HiTracking/test/HIPixelClusterVtxAnalyzer.cc
index e9be4810843f8..c25fa12d63390 100644
--- a/RecoHI/HiTracking/test/HIPixelClusterVtxAnalyzer.cc
+++ b/RecoHI/HiTracking/test/HIPixelClusterVtxAnalyzer.cc
@@ -9,7 +9,7 @@
#include "DataFormats/VertexReco/interface/VertexFwd.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/RectangularPixelTopology.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
diff --git a/RecoLocalTracker/Phase2TrackerRecHits/interface/Phase2StripCPE.h b/RecoLocalTracker/Phase2TrackerRecHits/interface/Phase2StripCPE.h
index 02838c7a49bf7..24cc615a467fc 100644
--- a/RecoLocalTracker/Phase2TrackerRecHits/interface/Phase2StripCPE.h
+++ b/RecoLocalTracker/Phase2TrackerRecHits/interface/Phase2StripCPE.h
@@ -5,7 +5,7 @@
#include "MagneticField/Engine/interface/MagneticField.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "DataFormats/Phase2TrackerCluster/interface/Phase2TrackerCluster1D.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
diff --git a/RecoLocalTracker/Phase2TrackerRecHits/plugins/Phase2TrackerRecHits.cc b/RecoLocalTracker/Phase2TrackerRecHits/plugins/Phase2TrackerRecHits.cc
index 300aee389fa93..5d7206488181d 100644
--- a/RecoLocalTracker/Phase2TrackerRecHits/plugins/Phase2TrackerRecHits.cc
+++ b/RecoLocalTracker/Phase2TrackerRecHits/plugins/Phase2TrackerRecHits.cc
@@ -13,7 +13,7 @@
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "DataFormats/Common/interface/DetSetVector.h"
#include "DataFormats/Phase2TrackerCluster/interface/Phase2TrackerCluster1D.h"
diff --git a/RecoLocalTracker/Phase2TrackerRecHits/src/Phase2StripCPEGeometric.cc b/RecoLocalTracker/Phase2TrackerRecHits/src/Phase2StripCPEGeometric.cc
index 5b5aac9d2c0a8..702044ed67b8f 100644
--- a/RecoLocalTracker/Phase2TrackerRecHits/src/Phase2StripCPEGeometric.cc
+++ b/RecoLocalTracker/Phase2TrackerRecHits/src/Phase2StripCPEGeometric.cc
@@ -1,6 +1,6 @@
#include "RecoLocalTracker/Phase2TrackerRecHits/interface/Phase2StripCPEGeometric.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
// currently (?) use Pixel classes for GeomDetUnit and Topology
diff --git a/RecoLocalTracker/Phase2TrackerRecHits/test/RecHitsValidation.cc b/RecoLocalTracker/Phase2TrackerRecHits/test/RecHitsValidation.cc
index d19d197d15738..b02b285a8586c 100644
--- a/RecoLocalTracker/Phase2TrackerRecHits/test/RecHitsValidation.cc
+++ b/RecoLocalTracker/Phase2TrackerRecHits/test/RecHitsValidation.cc
@@ -16,7 +16,7 @@
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
diff --git a/RecoLocalTracker/SiPhase2Clusterizer/plugins/Phase2TrackerClusterizer.cc b/RecoLocalTracker/SiPhase2Clusterizer/plugins/Phase2TrackerClusterizer.cc
index 1b35c1d759a64..8747bd5504879 100644
--- a/RecoLocalTracker/SiPhase2Clusterizer/plugins/Phase2TrackerClusterizer.cc
+++ b/RecoLocalTracker/SiPhase2Clusterizer/plugins/Phase2TrackerClusterizer.cc
@@ -17,7 +17,7 @@
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "DataFormats/Common/interface/DetSetVector.h"
#include "DataFormats/Phase2TrackerDigi/interface/Phase2TrackerDigi.h"
diff --git a/RecoLocalTracker/SiPhase2Clusterizer/plugins/Phase2TrackerClusterizerAlgorithm.h b/RecoLocalTracker/SiPhase2Clusterizer/plugins/Phase2TrackerClusterizerAlgorithm.h
index a08f14a0be3d0..76b645b0281a4 100644
--- a/RecoLocalTracker/SiPhase2Clusterizer/plugins/Phase2TrackerClusterizerAlgorithm.h
+++ b/RecoLocalTracker/SiPhase2Clusterizer/plugins/Phase2TrackerClusterizerAlgorithm.h
@@ -6,7 +6,7 @@
#include "DataFormats/Phase2TrackerDigi/interface/Phase2TrackerDigi.h"
#include "DataFormats/Phase2TrackerCluster/interface/Phase2TrackerCluster1D.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Phase2TrackerClusterizerArray.h"
diff --git a/RecoLocalTracker/SiPhase2Clusterizer/test/ClustersValidation.cc b/RecoLocalTracker/SiPhase2Clusterizer/test/ClustersValidation.cc
index 74faaed371a88..ce2acc34c4ce7 100644
--- a/RecoLocalTracker/SiPhase2Clusterizer/test/ClustersValidation.cc
+++ b/RecoLocalTracker/SiPhase2Clusterizer/test/ClustersValidation.cc
@@ -16,7 +16,7 @@
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
diff --git a/RecoLocalTracker/SiPixelClusterizer/plugins/PixelThresholdClusterizer.cc b/RecoLocalTracker/SiPixelClusterizer/plugins/PixelThresholdClusterizer.cc
index 0dd9ae6d97756..0871fececa24c 100644
--- a/RecoLocalTracker/SiPixelClusterizer/plugins/PixelThresholdClusterizer.cc
+++ b/RecoLocalTracker/SiPixelClusterizer/plugins/PixelThresholdClusterizer.cc
@@ -24,7 +24,7 @@
#include "SiPixelArrayBuffer.h"
#include "CondFormats/SiPixelObjects/interface/SiPixelGainCalibrationOffline.h"
// Geometry
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "Geometry/CommonTopologies/interface/PixelTopology.h"
//#include "Geometry/CommonTopologies/RectangularPixelTopology.h"
diff --git a/RecoLocalTracker/SiPixelClusterizer/plugins/SiPixelClusterProducer.cc b/RecoLocalTracker/SiPixelClusterizer/plugins/SiPixelClusterProducer.cc
index 12b3c34741fd5..15a6536ca644b 100644
--- a/RecoLocalTracker/SiPixelClusterizer/plugins/SiPixelClusterProducer.cc
+++ b/RecoLocalTracker/SiPixelClusterizer/plugins/SiPixelClusterProducer.cc
@@ -17,7 +17,7 @@
// Geometry
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
// Data Formats
#include "DataFormats/Common/interface/DetSetVector.h"
diff --git a/RecoLocalTracker/SiPixelClusterizer/test/ReadPixClusters.cc b/RecoLocalTracker/SiPixelClusterizer/test/ReadPixClusters.cc
index e5f766e96ccf1..30581536b547a 100644
--- a/RecoLocalTracker/SiPixelClusterizer/test/ReadPixClusters.cc
+++ b/RecoLocalTracker/SiPixelClusterizer/test/ReadPixClusters.cc
@@ -33,8 +33,8 @@
#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
#include "DataFormats/SiPixelDetId/interface/PixelBarrelName.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonDetUnit/interface/GeomDetType.h"
diff --git a/RecoLocalTracker/SiPixelClusterizer/test/TestClusters.cc b/RecoLocalTracker/SiPixelClusterizer/test/TestClusters.cc
index fe1952b6e81b2..ed3bd8d86fe92 100644
--- a/RecoLocalTracker/SiPixelClusterizer/test/TestClusters.cc
+++ b/RecoLocalTracker/SiPixelClusterizer/test/TestClusters.cc
@@ -33,8 +33,8 @@
#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
#include "DataFormats/SiPixelDetId/interface/PixelBarrelName.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonDetUnit/interface/GeomDetType.h"
diff --git a/RecoLocalTracker/SiPixelClusterizer/test/TestPixTracks.cc b/RecoLocalTracker/SiPixelClusterizer/test/TestPixTracks.cc
index 08d7259afbc0f..2f3691219de4a 100644
--- a/RecoLocalTracker/SiPixelClusterizer/test/TestPixTracks.cc
+++ b/RecoLocalTracker/SiPixelClusterizer/test/TestPixTracks.cc
@@ -1,6 +1,6 @@
// File: ReadPixClusters.cc
// Description: TO test the pixel clusters with tracks (full)
-// Author: Danek Kotlinski
+// Author: Danek Kotlinski
// Creation Date: Initial version. 3/06
//
//--------------------------------------------
@@ -30,12 +30,12 @@
#include "DataFormats/Common/interface/Ref.h"
#include "DataFormats/DetId/interface/DetId.h"
-#include "DataFormats/SiPixelDetId/interface/PXBDetId.h"
-#include "DataFormats/SiPixelDetId/interface/PXFDetId.h"
+#include "DataFormats/SiPixelDetId/interface/PXBDetId.h"
+#include "DataFormats/SiPixelDetId/interface/PXFDetId.h"
#include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
-#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
+#include "Geometry/CommonDetUnit/interface/PixelGeomDetType.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/CommonDetUnit/interface/GeomDetType.h"
@@ -56,8 +56,7 @@
#include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
#include "FWCore/Common/interface/TriggerNames.h"
-
-// For tracks
+// For tracks
#include "DataFormats/TrackReco/interface/Track.h"
#include "TrackingTools/PatternTools/interface/Trajectory.h"
@@ -75,7 +74,6 @@
//#include "Alignment/OfflineValidation/interface/TrackerValidationVariables.h"
-
//#include "TrackingTools/TrackAssociator/interface/TrackDetectorAssociator.h"
//#include "TrackingTools/PatternTools/interface/Trajectory.h"
//#include "TrackingTools/TrajectoryState/interface/TrajectoryStateTransform.h"
@@ -103,7 +101,6 @@
#include
#include
-
#define HISTOS
//#define L1
//#define HLT
@@ -111,21 +108,20 @@
using namespace std;
class TestPixTracks : public edm::EDAnalyzer {
- public:
-
- explicit TestPixTracks(const edm::ParameterSet& conf);
+public:
+ explicit TestPixTracks(const edm::ParameterSet &conf);
virtual ~TestPixTracks();
- virtual void analyze(const edm::Event& e, const edm::EventSetup& c) override;
- virtual void beginRun(const edm::EventSetup& iSetup) override;
+ virtual void analyze(const edm::Event &e, const edm::EventSetup &c) override;
+ virtual void beginRun(const edm::EventSetup &iSetup) override;
virtual void beginJob() override;
virtual void endJob() override;
-
- private:
+
+private:
edm::ParameterSet conf_;
edm::InputTag src_;
//const static bool PRINT = false;
bool PRINT;
- float countTracks, countGoodTracks, countTracksInPix, countPVs, countEvents, countLumi;
+ float countTracks, countGoodTracks, countTracksInPix, countPVs, countEvents, countLumi;
//TFile* hFile;
//TH1D *hdetunit;
@@ -134,29 +130,27 @@ class TestPixTracks : public edm::EDAnalyzer {
//*hladder1id,*hladder2id,*hladder3id,
//*hz1id,*hz2id,*hz3id;
- TH1D *hcharge1,*hcharge2, *hcharge3, *hcharge;
- TH1D *hpixcharge1,*hpixcharge2, *hpixcharge3, *hpixcharge;
- TH1D *hcols1,*hcols2,*hcols3,*hrows1,*hrows2,*hrows3;
- TH1D *hsize1,*hsize2,*hsize3,
- *hsizex1,*hsizex2,*hsizex3,
- *hsizey1,*hsizey2,*hsizey3;
+ TH1D *hcharge1, *hcharge2, *hcharge3, *hcharge;
+ TH1D *hpixcharge1, *hpixcharge2, *hpixcharge3, *hpixcharge;
+ TH1D *hcols1, *hcols2, *hcols3, *hrows1, *hrows2, *hrows3;
+ TH1D *hsize1, *hsize2, *hsize3, *hsizex1, *hsizex2, *hsizex3, *hsizey1, *hsizey2, *hsizey3;
- TH1D *hclusPerTrk1,*hclusPerTrk2,*hclusPerTrk3;
- TH1D *hclusPerLay1,*hclusPerLay2,*hclusPerLay3;
- TH1D *hpixPerLay1,*hpixPerLay2,*hpixPerLay3;
+ TH1D *hclusPerTrk1, *hclusPerTrk2, *hclusPerTrk3;
+ TH1D *hclusPerLay1, *hclusPerLay2, *hclusPerLay3;
+ TH1D *hpixPerLay1, *hpixPerLay2, *hpixPerLay3;
//TH1D *hdetsPerLay1,*hdetsPerLay2,*hdetsPerLay3;
//TH1D *hdetr, *hdetz;
// TH1D *hcolsB, *hrowsB, *hcolsF, *hrowsF;
- TH2F *hDetMap1, *hDetMap2, *hDetMap3; // clusters
+ TH2F *hDetMap1, *hDetMap2, *hDetMap3; // clusters
//TH2F *hpixDetMap1, *hpixDetMap2, *hpixDetMap3;
TH2F *hcluDetMap1, *hcluDetMap2, *hcluDetMap3;
TH2F *hpvxy, *hclusMap1, *hclusMap2, *hclusMap3;
TH1D *hpvz, *hpvr, *hNumPv, *hNumPvClean;
- TH1D *hPt, *hEta, *hDz, *hD0,*hzdiff;
-
+ TH1D *hPt, *hEta, *hDz, *hD0, *hzdiff;
+
//TH1D *hncharge1,*hncharge2, *hncharge3;
//TH1D *hchargeMonoPix1,*hchargeMonoPix2, *hchargeMonoPix3;
// TH1D *hnpixcharge1,*hnpixcharge2, *hnpixcharge3;
@@ -166,44 +160,42 @@ class TestPixTracks : public edm::EDAnalyzer {
TH1D *hclusBpix, *hpixBpix;
TH1D *htracks, *htracksGood, *htracksGoodInPix;
- TProfile *hclumult1, *hclumult2, *hclumult3;
+ TProfile *hclumult1, *hclumult2, *hclumult3;
TProfile *hclumultx1, *hclumultx2, *hclumultx3;
TProfile *hclumulty1, *hclumulty2, *hclumulty3;
- TProfile *hcluchar1, *hcluchar2, *hcluchar3;
- TProfile *hpixchar1, *hpixchar2, *hpixchar3;
+ TProfile *hcluchar1, *hcluchar2, *hcluchar3;
+ TProfile *hpixchar1, *hpixchar2, *hpixchar3;
- TProfile *htracksls, *hpvsls, *htrackslsn, *hpvslsn, *hintgl, *hinstl, *hbeam1, *hbeam2;
+ TProfile *htracksls, *hpvsls, *htrackslsn, *hpvslsn, *hintgl, *hinstl, *hbeam1, *hbeam2;
TH1D *hlumi, *hlumi0, *hbx, *hbx0;
-
};
/////////////////////////////////////////////////////////////////
// Contructor,
-TestPixTracks::TestPixTracks(edm::ParameterSet const& conf)
-// : conf_(conf), src_(conf.getParameter( "src" )) { }
- : conf_(conf) {
-
- PRINT = conf.getUntrackedParameter("Verbosity",false);
- src_ = conf.getParameter( "src" );
+TestPixTracks::TestPixTracks(edm::ParameterSet const &conf)
+ // : conf_(conf), src_(conf.getParameter( "src" )) { }
+ : conf_(conf) {
+ PRINT = conf.getUntrackedParameter("Verbosity", false);
+ src_ = conf.getParameter("src");
//if(PRINT) cout<<" Construct "<make( "hz2id", "Z-index id L2", 10, 0., 10.);
//hz3id = fs->make( "hz3id", "Z-index id L3", 10, 0., 10.);
- int sizeH=20;
+ int sizeH = 20;
float lowH = -0.5;
float highH = 19.5;
- hclusPerTrk1 = fs->make( "hclusPerTrk1", "Clus per track l1",
- sizeH, lowH, highH);
- hclusPerTrk2 = fs->make( "hclusPerTrk2", "Clus per track l2",
- sizeH, lowH, highH);
- hclusPerTrk3 = fs->make( "hclusPerTrk3", "Clus per track l3",
- sizeH, lowH, highH);
+ hclusPerTrk1 = fs->make("hclusPerTrk1", "Clus per track l1", sizeH, lowH, highH);
+ hclusPerTrk2 = fs->make("hclusPerTrk2", "Clus per track l2", sizeH, lowH, highH);
+ hclusPerTrk3 = fs->make("hclusPerTrk3", "Clus per track l3", sizeH, lowH, highH);
- sizeH=2000;
+ sizeH = 2000;
highH = 1999.5;
- hclusPerLay1 = fs->make( "hclusPerLay1", "Clus per layer l1",
- sizeH, lowH, highH);
- hclusPerLay2 = fs->make( "hclusPerLay2", "Clus per layer l2",
- sizeH, lowH, highH);
- hclusPerLay3 = fs->make( "hclusPerLay3", "Clus per layer l3",
- sizeH, lowH, highH);
+ hclusPerLay1 = fs->make("hclusPerLay1", "Clus per layer l1", sizeH, lowH, highH);
+ hclusPerLay2 = fs->make("hclusPerLay2", "Clus per layer l2", sizeH, lowH, highH);
+ hclusPerLay3 = fs->make("hclusPerLay3", "Clus per layer l3", sizeH, lowH, highH);
highH = 9999.5;
- hpixPerLay1 = fs->make( "hpixPerLay1", "Pix per layer l1",
- sizeH, lowH, highH);
- hpixPerLay2 = fs->make( "hpixPerLay2", "Pix per layer l2",
- sizeH, lowH, highH);
- hpixPerLay3 = fs->make( "hpixPerLay3", "Pix per layer l3",
- sizeH, lowH, highH);
+ hpixPerLay1 = fs->make("hpixPerLay1", "Pix per layer l1", sizeH, lowH, highH);
+ hpixPerLay2 = fs->make("hpixPerLay2", "Pix per layer l2", sizeH, lowH, highH);
+ hpixPerLay3 = fs->make("hpixPerLay3", "Pix per layer l3", sizeH, lowH, highH);
//hdetsPerLay1 = fs->make( "hdetsPerLay1", "Full dets per layer l1",
// 161, -0.5, 160.5);
@@ -254,159 +237,141 @@ void TestPixTracks::beginJob() {
// 353, -0.5, 352.5);
//hdetsPerLay2 = fs->make( "hdetsPerLay2", "Full dets per layer l2",
// 257, -0.5, 256.5);
-
- hcharge1 = fs->make( "hcharge1", "Clu charge l1", 400, 0.,200.); //in ke
- hcharge2 = fs->make( "hcharge2", "Clu charge l2", 400, 0.,200.);
- hcharge3 = fs->make( "hcharge3", "Clu charge l3", 400, 0.,200.);
+
+ hcharge1 = fs->make("hcharge1", "Clu charge l1", 400, 0., 200.); //in ke
+ hcharge2 = fs->make("hcharge2", "Clu charge l2", 400, 0., 200.);
+ hcharge3 = fs->make("hcharge3", "Clu charge l3", 400, 0., 200.);
//hchargeMonoPix1 = fs->make( "hchargeMonoPix1", "Clu charge l1 MonPix", 200, 0.,100.); //in ke
//hchargeMonoPix2 = fs->make( "hchargeMonoPix2", "Clu charge l2 MonPix", 200, 0.,100.);
//hchargeMonoPix3 = fs->make( "hchargeMonoPix3", "Clu charge l3 MonPix", 200, 0.,100.);
-
+
//hncharge1 = fs->make( "hncharge1", "Noise charge l1", 200, 0.,100.); //in ke
//hncharge2 = fs->make( "hncharge2", "Noise charge l2", 200, 0.,100.);
//hncharge3 = fs->make( "hncharge3", "Noise charge l3", 200, 0.,100.);
-
+
//hpixcharge1 = fs->make( "hpixcharge1", "Pix charge l1", 100, 0.,50.); //in ke
//hpixcharge2 = fs->make( "hpixcharge2", "Pix charge l2", 100, 0.,50.);
//hpixcharge3 = fs->make( "hpixcharge3", "Pix charge l3", 100, 0.,50.);
-
+
//hnpixcharge1 = fs->make( "hnpixcharge1", "Noise pix charge l1", 100, 0.,50.); //in ke
//hnpixcharge2 = fs->make( "hnpixcharge2", "Noise pix charge l2", 100, 0.,50.);
//hnpixcharge3 = fs->make( "hnpixcharge3", "Noise pix charge l3", 100, 0.,50.);
//hpixcharge = fs->make( "hpixcharge", "Clu charge", 100, 0.,50.);
//hcharge = fs->make( "hcharge", "Pix charge", 100, 0.,50.);
-
- hcols1 = fs->make( "hcols1", "Layer 1 cols", 500,-0.5,499.5);
- hcols2 = fs->make( "hcols2", "Layer 2 cols", 500,-0.5,499.5);
- hcols3 = fs->make( "hcols3", "Layer 3 cols", 500,-0.5,499.5);
-
- hrows1 = fs->make( "hrows1", "Layer 1 rows", 200,-0.5,199.5);
- hrows2 = fs->make( "hrows2", "Layer 2 rows", 200,-0.5,199.5);
- hrows3 = fs->make( "hrows3", "layer 3 rows", 200,-0.5,199.5);
-
- hsize1 = fs->make( "hsize1", "layer 1 clu size",100,-0.5,99.5);
- hsize2 = fs->make( "hsize2", "layer 2 clu size",100,-0.5,99.5);
- hsize3 = fs->make( "hsize3", "layer 3 clu size",100,-0.5,99.5);
- hsizex1 = fs->make( "hsizex1", "lay1 clu size in x",
- 20,-0.5,19.5);
- hsizex2 = fs->make( "hsizex2", "lay2 clu size in x",
- 20,-0.5,19.5);
- hsizex3 = fs->make( "hsizex3", "lay3 clu size in x",
- 20,-0.5,19.5);
- hsizey1 = fs->make( "hsizey1", "lay1 clu size in y",
- 30,-0.5,29.5);
- hsizey2 = fs->make( "hsizey2", "lay2 clu size in y",
- 30,-0.5,29.5);
- hsizey3 = fs->make( "hsizey3", "lay3 clu size in y",
- 30,-0.5,29.5);
-
-
- hDetMap1 = fs->make( "hDetMap1", "layer 1 clus map",
- 9,0.,9.,23,0.,23.);
- hDetMap2 = fs->make( "hDetMap2", "layer 2 clus map",
- 9,0.,9.,33,0.,33.);
- hDetMap3 = fs->make( "hDetMap3", "layer 3 clus map",
- 9,0.,9.,45,0.,45.);
+
+ hcols1 = fs->make("hcols1", "Layer 1 cols", 500, -0.5, 499.5);
+ hcols2 = fs->make("hcols2", "Layer 2 cols", 500, -0.5, 499.5);
+ hcols3 = fs->make("hcols3", "Layer 3 cols", 500, -0.5, 499.5);
+
+ hrows1 = fs->make("hrows1", "Layer 1 rows", 200, -0.5, 199.5);
+ hrows2 = fs->make("hrows2", "Layer 2 rows", 200, -0.5, 199.5);
+ hrows3 = fs->make("hrows3", "layer 3 rows", 200, -0.5, 199.5);
+
+ hsize1 = fs->make("hsize1", "layer 1 clu size", 100, -0.5, 99.5);
+ hsize2 = fs->make("hsize2", "layer 2 clu size", 100, -0.5, 99.5);
+ hsize3 = fs->make("hsize3", "layer 3 clu size", 100, -0.5, 99.5);
+ hsizex1 = fs->make("hsizex1", "lay1 clu size in x", 20, -0.5, 19.5);
+ hsizex2 = fs->make("hsizex2", "lay2 clu size in x", 20, -0.5, 19.5);
+ hsizex3 = fs->make("hsizex3", "lay3 clu size in x", 20, -0.5, 19.5);
+ hsizey1 = fs->make("hsizey1", "lay1 clu size in y", 30, -0.5, 29.5);
+ hsizey2 = fs->make("hsizey2", "lay2 clu size in y", 30, -0.5, 29.5);
+ hsizey3 = fs->make("hsizey3", "lay3 clu size in y", 30, -0.5, 29.5);
+
+ hDetMap1 = fs->make("hDetMap1", "layer 1 clus map", 9, 0., 9., 23, 0., 23.);
+ hDetMap2 = fs->make("hDetMap2", "layer 2 clus map", 9, 0., 9., 33, 0., 33.);
+ hDetMap3 = fs->make("hDetMap3", "layer 3 clus map", 9, 0., 9., 45, 0., 45.);
//hpixDetMap1 = fs->make( "hpixDetMap1", "pix det layer 1",
// 416,0.,416.,160,0.,160.);
//hpixDetMap2 = fs->make( "hpixDetMap2", "pix det layer 2",
// 416,0.,416.,160,0.,160.);
//hpixDetMap3 = fs->make( "hpixDetMap3", "pix det layer 3",
// 416,0.,416.,160,0.,160.);
- hcluDetMap1 = fs->make( "hcluDetMap1", "clu det layer 1",
- 416,0.,416.,160,0.,160.);
- hcluDetMap2 = fs->make( "hcluDetMap2", "clu det layer 1",
- 416,0.,416.,160,0.,160.);
- hcluDetMap3 = fs->make( "hcluDetMap3", "clu det layer 1",
- 416,0.,416.,160,0.,160.);
-
- htracksGoodInPix = fs->make( "htracksGoodInPix", "count good tracks in pix",2000,-0.5,1999.5);
- htracksGood = fs->make( "htracksGood", "count good tracks",2000,-0.5,1999.5);
- htracks = fs->make( "htracks", "count tracks",2000,-0.5,1999.5);
- hclusBpix = fs->make( "hclusBpix", "count clus in bpix",200,-0.5,1999.5);
- hpixBpix = fs->make( "hpixBpix", "count pixels",200,-0.5,1999.5);
-
- hpvxy = fs->make( "hpvxy", "pv xy",100,-1.,1.,100,-1.,1.);
- hpvz = fs->make( "hpvz", "pv z",1000,-50.,50.);
- hpvr = fs->make( "hpvr", "pv r",100,0.,1.);
- hNumPv = fs->make( "hNumPv", "num of pv",100,0.,100.);
- hNumPvClean = fs->make( "hNumPvClean", "num of pv clean",100,0.,100.);
-
- hPt = fs->make( "hPt", "pt",100,0.,100.);
- hEta = fs->make( "hEta", "eta",50,-2.5,2.5);
- hD0 = fs->make( "hD0", "d0",500,0.,5.);
- hDz = fs->make( "hDz", "pt",250,-25.,25.);
- hzdiff = fs->make( "hzdiff", "PVz-Trackz",200,-10.,10.);
-
- hl1a = fs->make("hl1a", "l1a", 128,-0.5,127.5);
- hl1t = fs->make("hl1t", "l1t", 128,-0.5,127.5);
- hlt1 = fs->make("hlt1","hlt1",256,-0.5,255.5);
-
- hclumult1 = fs->make("hclumult1","cluster size layer 1",60,-3.,3.,0.0,100.);
- hclumult2 = fs->make("hclumult2","cluster size layer 2",60,-3.,3.,0.0,100.);
- hclumult3 = fs->make("hclumult3","cluster size layer 3",60,-3.,3.,0.0,100.);
-
- hclumultx1 = fs->make("hclumultx1","cluster x-size layer 1",60,-3.,3.,0.0,100.);
- hclumultx2 = fs->make("hclumultx2","cluster x-size layer 2",60,-3.,3.,0.0,100.);
- hclumultx3 = fs->make("hclumultx3","cluster x-size layer 3",60,-3.,3.,0.0,100.);
-
- hclumulty1 = fs->make("hclumulty1","cluster y-size layer 1",60,-3.,3.,0.0,100.);
- hclumulty2 = fs->make("hclumulty2","cluster y-size layer 2",60,-3.,3.,0.0,100.);
- hclumulty3 = fs->make("hclumulty3","cluster y-size layer 3",60,-3.,3.,0.0,100.);
-
- hcluchar1 = fs->make("hcluchar1","cluster char layer 1",60,-3.,3.,0.0,1000.);
- hcluchar2 = fs->make("hcluchar2","cluster char layer 2",60,-3.,3.,0.0,1000.);
- hcluchar3 = fs->make("hcluchar3","cluster char layer 3",60,-3.,3.,0.0,1000.);
-
- hpixchar1 = fs->make("hpixchar1","pix char layer 1",60,-3.,3.,0.0,1000.);
- hpixchar2 = fs->make("hpixchar2","pix char layer 2",60,-3.,3.,0.0,1000.);
- hpixchar3 = fs->make("hpixchar3","pix char layer 3",60,-3.,3.,0.0,1000.);
-
- hintgl = fs->make("hintgl", "inst lumi vs ls ",1000,0.,3000.,0.0,10000.);
- hinstl = fs->make("hinstl", "intg lumi vs ls ",1000,0.,3000.,0.0,100.);
- hbeam1 = fs->make("hbeam1", "beam1 vs ls ",1000,0.,3000.,0.0,1000.);
- hbeam2 = fs->make("hbeam2", "beam2 vs ls ",1000,0.,3000.,0.0,1000.);
-
- htracksls = fs->make("htracksls","tracks with pix hits vs ls",1000,0.,3000.,0.0,10000.);
- hpvsls = fs->make("hpvsls","pvs vs ls",1000,0.,3000.,0.0,1000.);
- htrackslsn = fs->make("htrackslsn","tracks with pix hits/lumi vs ls",1000,0.,3000.,0.0,10000.);
- hpvslsn = fs->make("hpvslsn","pvs/lumi vs ls",1000,0.,3000.,0.0,1000.);
-
- hlumi0 = fs->make("hlumi0", "lumi", 2000,0,2000.);
- hlumi = fs->make("hlumi", "lumi", 2000,0,2000.);
- hbx0 = fs->make("hbx0", "bx", 4000,0,4000.);
- hbx = fs->make("hbx", "bx", 4000,0,4000.);
-
- hclusMap1 = fs->make("hclusMap1","clus - lay1",260,-26.,26.,350,-3.5,3.5);
- hclusMap2 = fs->make("hclusMap2","clus - lay2",260,-26.,26.,350,-3.5,3.5);
- hclusMap3 = fs->make("hclusMap3","clus - lay3",260,-26.,26.,350,-3.5,3.5);
+ hcluDetMap1 = fs->make("hcluDetMap1", "clu det layer 1", 416, 0., 416., 160, 0., 160.);
+ hcluDetMap2 = fs->make("hcluDetMap2", "clu det layer 1", 416, 0., 416., 160, 0., 160.);
+ hcluDetMap3 = fs->make("hcluDetMap3", "clu det layer 1", 416, 0., 416., 160, 0., 160.);
+
+ htracksGoodInPix = fs->make("htracksGoodInPix", "count good tracks in pix", 2000, -0.5, 1999.5);
+ htracksGood = fs->make("htracksGood", "count good tracks", 2000, -0.5, 1999.5);
+ htracks = fs->make("htracks", "count tracks", 2000, -0.5, 1999.5);
+ hclusBpix = fs->make("hclusBpix", "count clus in bpix", 200, -0.5, 1999.5);
+ hpixBpix = fs->make("hpixBpix", "count pixels", 200, -0.5, 1999.5);
+
+ hpvxy = fs->make("hpvxy", "pv xy", 100, -1., 1., 100, -1., 1.);
+ hpvz = fs->make("hpvz", "pv z", 1000, -50., 50.);
+ hpvr = fs->make("hpvr", "pv r", 100, 0., 1.);
+ hNumPv = fs->make("hNumPv", "num of pv", 100, 0., 100.);
+ hNumPvClean = fs->make("hNumPvClean", "num of pv clean", 100, 0., 100.);
+
+ hPt = fs->make("hPt", "pt", 100, 0., 100.);
+ hEta = fs->make("hEta", "eta", 50, -2.5, 2.5);
+ hD0 = fs->make("hD0", "d0", 500, 0., 5.);
+ hDz = fs->make("hDz", "pt", 250, -25., 25.);
+ hzdiff = fs->make("hzdiff", "PVz-Trackz", 200, -10., 10.);
+
+ hl1a = fs->make("hl1a", "l1a", 128, -0.5, 127.5);
+ hl1t = fs->make("hl1t", "l1t", 128, -0.5, 127.5);
+ hlt1 = fs->make("hlt1", "hlt1", 256, -0.5, 255.5);
+
+ hclumult1 = fs->make("hclumult1", "cluster size layer 1", 60, -3., 3., 0.0, 100.);
+ hclumult2 = fs->make("hclumult2", "cluster size layer 2", 60, -3., 3., 0.0, 100.);
+ hclumult3 = fs->make("hclumult3", "cluster size layer 3", 60, -3., 3., 0.0, 100.);
+
+ hclumultx1 = fs->make("hclumultx1", "cluster x-size layer 1", 60, -3., 3., 0.0, 100.);
+ hclumultx2 = fs->make("hclumultx2", "cluster x-size layer 2", 60, -3., 3., 0.0, 100.);
+ hclumultx3 = fs->make("hclumultx3", "cluster x-size layer 3", 60, -3., 3., 0.0, 100.);
+
+ hclumulty1 = fs->make("hclumulty1", "cluster y-size layer 1", 60, -3., 3., 0.0, 100.);
+ hclumulty2 = fs->make("hclumulty2", "cluster y-size layer 2", 60, -3., 3., 0.0, 100.);
+ hclumulty3 = fs->make("hclumulty3", "cluster y-size layer 3", 60, -3., 3., 0.0, 100.);
+
+ hcluchar1 = fs->make("hcluchar1", "cluster char layer 1", 60, -3., 3., 0.0, 1000.);
+ hcluchar2 = fs->make("hcluchar2", "cluster char layer 2", 60, -3., 3., 0.0, 1000.);
+ hcluchar3 = fs->make("hcluchar3", "cluster char layer 3", 60, -3., 3., 0.0, 1000.);
+
+ hpixchar1 = fs->make("hpixchar1", "pix char layer 1", 60, -3., 3., 0.0, 1000.);
+ hpixchar2 = fs->make("hpixchar2", "pix char layer 2", 60, -3., 3., 0.0, 1000.);
+ hpixchar3 = fs->make("hpixchar3", "pix char layer 3", 60, -3., 3., 0.0, 1000.);
+
+ hintgl = fs->make("hintgl", "inst lumi vs ls ", 1000, 0., 3000., 0.0, 10000.);
+ hinstl = fs->make("hinstl", "intg lumi vs ls ", 1000, 0., 3000., 0.0, 100.);
+ hbeam1 = fs->make("hbeam1", "beam1 vs ls ", 1000, 0., 3000., 0.0, 1000.);
+ hbeam2 = fs->make("hbeam2", "beam2 vs ls ", 1000, 0., 3000., 0.0, 1000.);
+
+ htracksls = fs->make("htracksls", "tracks with pix hits vs ls", 1000, 0., 3000., 0.0, 10000.);
+ hpvsls = fs->make("hpvsls", "pvs vs ls", 1000, 0., 3000., 0.0, 1000.);
+ htrackslsn = fs->make("htrackslsn", "tracks with pix hits/lumi vs ls", 1000, 0., 3000., 0.0, 10000.);
+ hpvslsn = fs->make("hpvslsn", "pvs/lumi vs ls", 1000, 0., 3000., 0.0, 1000.);
+
+ hlumi0 = fs->make("hlumi0", "lumi", 2000, 0, 2000.);
+ hlumi = fs->make("hlumi", "lumi", 2000, 0, 2000.);
+ hbx0 = fs->make("hbx0", "bx", 4000, 0, 4000.);
+ hbx = fs->make("hbx", "bx", 4000, 0, 4000.);
+
+ hclusMap1 = fs->make("hclusMap1", "clus - lay1", 260, -26., 26., 350, -3.5, 3.5);
+ hclusMap2 = fs->make("hclusMap2", "clus - lay2", 260, -26., 26., 350, -3.5, 3.5);
+ hclusMap3 = fs->make("hclusMap3", "clus - lay3", 260, -26., 26., 350, -3.5, 3.5);
#endif
-
}
// ------------ method called to at the end of the job ------------
-void TestPixTracks::endJob(){
+void TestPixTracks::endJob() {
cout << " End PixelTracksTest " << endl;
- if(countEvents>0.) {
+ if (countEvents > 0.) {
countTracks /= countEvents;
countGoodTracks /= countEvents;
countTracksInPix /= countEvents;
countPVs /= countEvents;
countLumi /= 1000.;
- cout<<" Average tracks/event "<< countTracks<<" good "<< countGoodTracks<<" in pix "<< countTracksInPix
- <<" PVs "<< countPVs<<" events " << countEvents<<" lumi pb-1 "<< countLumi<<"/10, bug!"<Fill(float(bx));
hlumi0->Fill(float(lumiBlock));
- edm::LuminosityBlock const& iLumi = e.getLuminosityBlock();
+ edm::LuminosityBlock const &iLumi = e.getLuminosityBlock();
edm::Handle lumi;
iLumi.getByLabel("lumiProducer", lumi);
edm::Handle cond;
- float intlumi = 0, instlumi=0;
- int beamint1=0, beamint2=0;
+ float intlumi = 0, instlumi = 0;
+ int beamint1 = 0, beamint2 = 0;
iLumi.getByLabel("conditionsInEdm", cond);
// This will only work when running on RECO until (if) they fix it in the FW
// When running on RAW and reconstructing, the LumiSummary will not appear
// in the event before reaching endLuminosityBlock(). Therefore, it is not
// possible to get this info in the event
if (lumi.isValid()) {
- intlumi =(lumi->intgRecLumi())/1000.; // 10^30 -> 10^33/cm2/sec -> 1/nb/sec
- instlumi=(lumi->avgInsDelLumi())/1000.;
- beamint1=(cond->totalIntensityBeam1)/1000;
- beamint2=(cond->totalIntensityBeam2)/1000;
+ intlumi = (lumi->intgRecLumi()) / 1000.; // 10^30 -> 10^33/cm2/sec -> 1/nb/sec
+ instlumi = (lumi->avgInsDelLumi()) / 1000.;
+ beamint1 = (cond->totalIntensityBeam1) / 1000;
+ beamint2 = (cond->totalIntensityBeam2) / 1000;
} else {
//std::cout << "** ERROR: Event does not get lumi info\n";
}
- hinstl->Fill(float(lumiBlock),float(instlumi));
- hintgl->Fill(float(lumiBlock),float(intlumi));
- hbeam1->Fill(float(lumiBlock),float(beamint1));
- hbeam2->Fill(float(lumiBlock),float(beamint2));
-
-
-
+ hinstl->Fill(float(lumiBlock), float(instlumi));
+ hintgl->Fill(float(lumiBlock), float(intlumi));
+ hbeam1->Fill(float(lumiBlock), float(beamint1));
+ hbeam2->Fill(float(lumiBlock), float(beamint2));
#ifdef L1
// Get L1
Handle L1GTRR;
- e.getByLabel("gtDigis",L1GTRR);
+ e.getByLabel("gtDigis", L1GTRR);
if (L1GTRR.isValid()) {
//bool l1a = L1GTRR->decision(); // global decission?
//cout<<" L1 status :"<decisionWord().size(); ++i) {
- int l1flag = L1GTRR->decisionWord()[i];
- int t1flag = L1GTRR->technicalTriggerWord()[i];
-
- if( l1flag>0 ) hl1a->Fill(float(i));
- if( t1flag>0 && i<64) hl1t->Fill(float(i));
- } // for loop
- } // if l1a
+ int l1flag = L1GTRR->decisionWord()[i];
+ int t1flag = L1GTRR->technicalTriggerWord()[i];
+
+ if (l1flag > 0)
+ hl1a->Fill(float(i));
+ if (t1flag > 0 && i < 64)
+ hl1t->Fill(float(i));
+ } // for loop
+ } // if l1a
#endif
#ifdef HLT
bool hlt[256];
- for(int i=0;i<256;++i) hlt[i]=false;
+ for (int i = 0; i < 256; ++i)
+ hlt[i] = false;
edm::TriggerNames TrigNames;
edm::Handle HLTResults;
// Extract the HLT results
- e.getByLabel(edm::InputTag("TriggerResults","","HLT"),HLTResults);
+ e.getByLabel(edm::InputTag("TriggerResults", "", "HLT"), HLTResults);
if ((HLTResults.isValid() == true) && (HLTResults->size() > 0)) {
-
//TrigNames.init(*HLTResults);
- const edm::TriggerNames & TrigNames = e.triggerNames(*HLTResults);
+ const edm::TriggerNames &TrigNames = e.triggerNames(*HLTResults);
//cout<wasrun(TrigNames.triggerIndex(TrigNames.triggerName(i))) == true) &&
- (HLTResults->accept(TrigNames.triggerIndex(TrigNames.triggerName(i))) == true) &&
- (HLTResults->error( TrigNames.triggerIndex(TrigNames.triggerName(i))) == false) ) {
-
- hlt[i]=true;
+ if ((HLTResults->wasrun(TrigNames.triggerIndex(TrigNames.triggerName(i))) == true) &&
+ (HLTResults->accept(TrigNames.triggerIndex(TrigNames.triggerName(i))) == true) &&
+ (HLTResults->error(TrigNames.triggerIndex(TrigNames.triggerName(i))) == false)) {
+ hlt[i] = true;
hlt1->Fill(float(i));
- } // if hlt
+ } // if hlt
- } // loop
- } // if valid
+ } // loop
+ } // if valid
#endif
-
// -- Does this belong into beginJob()?
//ESHandle TG;
//iSetup.get().get(TG);
//const TrackerGeometry* theTrackerGeometry = TG.product();
//const TrackerGeometry& theTracker(*theTrackerGeometry);
- // Get event setup
+ // Get event setup
edm::ESHandle geom;
- es.get().get( geom );
- const TrackerGeometry& theTracker(*geom);
-
+ es.get().get(geom);
+ const TrackerGeometry &theTracker(*geom);
// -- Primary vertices
// ----------------------------------------------------------------------
edm::Handle vertices;
e.getByLabel("offlinePrimaryVertices", vertices);
- if(PRINT) cout<<" PV list "<size()<size() << endl;
int pvNotFake = 0, pvsTrue = 0;
vector pvzVector;
for (reco::VertexCollection::const_iterator iv = vertices->begin(); iv != vertices->end(); ++iv) {
-
- if( (iv->isFake()) == 1 ) continue;
- pvNotFake++;
- float pvx = iv->x();
- float pvy = iv->y();
- float pvz = iv->z();
- int numTracksPerPV = iv->tracksSize();
- //int numTracksPerPV = iv->nTracks();
-
- //float xe = iv->xError();
- //float ye = iv->yError();
- //float ze = iv->zError();
- //int chi2 = iv->chi2();
- //int dof = iv->ndof();
-
- if(PRINT) cout<<" PV "<Fill(pvz);
- if(pvz>-22. && pvz<22.) {
- float pvr = sqrt(pvx*pvx + pvy*pvy);
- hpvxy->Fill(pvx,pvy);
- hpvr->Fill(pvr);
- if(pvr<0.3) {
- pvsTrue++;
- pvzVector.push_back(pvz);
- //if(PRINT) cout<<"PV "<