|
8 | 8 | #include "CondFormats/SiPixelObjects/interface/SiPixelQuality.h" |
9 | 9 | #include "CondFormats/SiPixelObjects/interface/SiPixelFrameReverter.h" |
10 | 10 | #include "CondFormats/SiPixelObjects/interface/SiPixelFrameConverter.h" |
11 | | -#include "DataFormats/Common/interface/Handle.h" |
12 | | -#include "FWCore/Framework/interface/ESHandle.h" |
13 | | -#include "FWCore/Framework/interface/ESWatcher.h" |
14 | 11 | #include "CondFormats/DataRecord/interface/SiPixelFedCablingMapRcd.h" |
15 | 12 | #include "CondFormats/SiPixelObjects/interface/SiPixelFedCablingMap.h" |
16 | 13 | #include "CondFormats/SiPixelObjects/interface/SiPixelFedCablingTree.h" |
17 | 14 | #include "CondFormats/SiPixelObjects/interface/PixelROC.h" |
18 | 15 | #include "CondFormats/SiPixelObjects/interface/LocalPixel.h" |
19 | 16 | #include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h" |
20 | | -#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h" |
21 | 17 | #include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h" |
22 | 18 |
|
23 | 19 | #include <algorithm> |
@@ -146,9 +142,6 @@ const std::vector<LocalPoint> SiPixelQuality::getBadRocPositions(const uint32_t& |
146 | 142 | if (myroc->idInDetUnit() == i) { |
147 | 143 | LocalPixel::RocRowCol local = {39, 25}; //corresponding to center of ROC row, col |
148 | 144 | GlobalPixel global = myroc->toGlobal(LocalPixel(local)); |
149 | | - // edm::ESHandle<TrackerGeometry> geom; |
150 | | - // es.get<TrackerDigiGeometryRecord>().get( geom ); |
151 | | - // const TrackerGeometry& theTracker(*geom); |
152 | 145 | const PixelGeomDetUnit* theGeomDet = dynamic_cast<const PixelGeomDetUnit*>(theTracker.idToDet(detid)); |
153 | 146 |
|
154 | 147 | PixelTopology const* topology = &(theGeomDet->specificTopology()); |
|
0 commit comments