Skip to content

Commit 80a3f83

Browse files
committed
Removed unnecessary includes in SiPixelQuality.cc
This allowed those dependencies to be dropped from BuildFile.xml.
1 parent f03754e commit 80a3f83

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

CondFormats/SiPixelObjects/BuildFile.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@
66
<use name="CondFormats/Serialization"/>
77
<use name="CondFormats/DataRecord"/>
88
<use name="CondFormats/SiStripObjects"/>
9-
<use name="root"/>
109
<use name="Geometry/TrackerGeometryBuilder"/>
1110
<use name="CondFormats/External"/>
12-
<use name="DataFormats/Common"/>
1311
<use name="DataFormats/GeometryVector"/>
14-
<use name="FWCore/Framework"/>
1512
<use name="FWCore/MessageLogger"/>
1613
<use name="Geometry/CommonDetUnit"/>
1714
<use name="Geometry/CommonTopologies"/>
1815
<use name="Geometry/Records"/>
1916
<export>
2017
<lib name="1"/>
2118
</export>
19+

CondFormats/SiPixelObjects/src/SiPixelQuality.cc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,12 @@
88
#include "CondFormats/SiPixelObjects/interface/SiPixelQuality.h"
99
#include "CondFormats/SiPixelObjects/interface/SiPixelFrameReverter.h"
1010
#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"
1411
#include "CondFormats/DataRecord/interface/SiPixelFedCablingMapRcd.h"
1512
#include "CondFormats/SiPixelObjects/interface/SiPixelFedCablingMap.h"
1613
#include "CondFormats/SiPixelObjects/interface/SiPixelFedCablingTree.h"
1714
#include "CondFormats/SiPixelObjects/interface/PixelROC.h"
1815
#include "CondFormats/SiPixelObjects/interface/LocalPixel.h"
1916
#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
20-
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
2117
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
2218

2319
#include <algorithm>
@@ -146,9 +142,6 @@ const std::vector<LocalPoint> SiPixelQuality::getBadRocPositions(const uint32_t&
146142
if (myroc->idInDetUnit() == i) {
147143
LocalPixel::RocRowCol local = {39, 25}; //corresponding to center of ROC row, col
148144
GlobalPixel global = myroc->toGlobal(LocalPixel(local));
149-
// edm::ESHandle<TrackerGeometry> geom;
150-
// es.get<TrackerDigiGeometryRecord>().get( geom );
151-
// const TrackerGeometry& theTracker(*geom);
152145
const PixelGeomDetUnit* theGeomDet = dynamic_cast<const PixelGeomDetUnit*>(theTracker.idToDet(detid));
153146

154147
PixelTopology const* topology = &(theGeomDet->specificTopology());

0 commit comments

Comments
 (0)