diff --git a/CondFormats/DTObjects/src/DTReadOutMapping.cc b/CondFormats/DTObjects/src/DTReadOutMapping.cc index 380a0f2bfc84a..30fa87e7a841f 100644 --- a/CondFormats/DTObjects/src/DTReadOutMapping.cc +++ b/CondFormats/DTObjects/src/DTReadOutMapping.cc @@ -202,11 +202,6 @@ int DTReadOutMapping::geometryToReadOut(int wheelId, int defaultValue; atomicCache()->mType.find(0, defaultValue); if (defaultValue) { - int loop1 = 0; - int loop2 = 0; - int loop3 = 0; - int loop0 = 0; - int searchStatus; int mapId = 0; std::vector const* robMLgr; @@ -227,7 +222,6 @@ int DTReadOutMapping::geometryToReadOut(int wheelId, std::vector::const_iterator tdc_iter = robMLgr->begin(); std::vector::const_iterator tdc_iend = robMLgr->end(); while (tdc_iter != tdc_iend) { - loop1++; const DTReadOutGeometryLink& ltdc(readOutChannelDriftTubeMap[*tdc_iter++]); channelId = ltdc.channelId; tdcId = ltdc.tdcId; @@ -244,7 +238,6 @@ int DTReadOutMapping::geometryToReadOut(int wheelId, std::vector::const_iterator ros_iter = rosMLgr->begin(); std::vector::const_iterator ros_iend = rosMLgr->end(); while (ros_iter != ros_iend) { - loop2++; const DTReadOutGeometryLink& lros(readOutChannelDriftTubeMap[*ros_iter++]); int secCk = lros.sectorId; int wheCk = lros.wheelId; @@ -268,11 +261,9 @@ int DTReadOutMapping::geometryToReadOut(int wheelId, return searchStatus; if (dduMLgr->empty()) return 1; - loop0++; std::vector::const_iterator ddu_iter = dduMLgr->begin(); std::vector::const_iterator ddu_iend = dduMLgr->end(); while (ddu_iter != ddu_iend) { - loop3++; const DTReadOutGeometryLink& lddu(readOutChannelDriftTubeMap[*ddu_iter++]); if (((sectorId == secCk) || (sectorId == lddu.sectorId)) && ((wheelId == wheCk) || (wheelId == lddu.wheelId))) { diff --git a/CondFormats/RPCObjects/src/RPCReadOutMapping.cc b/CondFormats/RPCObjects/src/RPCReadOutMapping.cc index a34a9297903b4..5c2f70ab57f6d 100644 --- a/CondFormats/RPCObjects/src/RPCReadOutMapping.cc +++ b/CondFormats/RPCObjects/src/RPCReadOutMapping.cc @@ -70,16 +70,11 @@ std::vector > RPCReadO eleIndex.lbNumInLink = board.linkBoardNumInLink(); const std::vector &febs = board.febs(); - int febCheck = 0; for (std::vector::const_iterator ifc = febs.begin(); ifc != febs.end(); ifc++) { const FebConnectorSpec &febConnector = (*ifc); - febCheck++; if (febConnector.rawId() != rawDetId) continue; int febInLB = febConnector.linkBoardInputNum(); - /* if (febInLB != febCheck) { - edm::LogError("rawDataFrame") << " problem with febInLB: " < detid_la = getBackPlaneCorrections(); std::map::const_iterator it; - size_t count = 0; ss << "SiStripBackPlaneCorrectionReader:" << std::endl; ss << "detid \t Geometry \t Back Plane Corrections" << std::endl; for (it = detid_la.begin(); it != detid_la.end(); ++it) { ss << it->first << "\t" << static_cast(trackerTopo->moduleGeometry(it->first)) << "\t" << it->second << std::endl; - ++count; } } diff --git a/CondFormats/SiStripObjects/src/SiStripLorentzAngle.cc b/CondFormats/SiStripObjects/src/SiStripLorentzAngle.cc index e866ee451f953..3a31b76e871d0 100644 --- a/CondFormats/SiStripObjects/src/SiStripLorentzAngle.cc +++ b/CondFormats/SiStripObjects/src/SiStripLorentzAngle.cc @@ -25,12 +25,10 @@ float SiStripLorentzAngle::getLorentzAngle(const uint32_t& detid) const { void SiStripLorentzAngle::printDebug(std::stringstream& ss, const TrackerTopology* /*trackerTopo*/) const { std::map detid_la = getLorentzAngles(); std::map::const_iterator it; - size_t count = 0; ss << "SiStripLorentzAngleReader:" << std::endl; ss << "detid \t Lorentz angle" << std::endl; for (it = detid_la.begin(); it != detid_la.end(); ++it) { ss << it->first << "\t" << it->second << std::endl; - ++count; } }