From 615a0ace932d49beee0f84efb97548e96ee80414 Mon Sep 17 00:00:00 2001 From: Riccardo Maria Bianchi <riccardo.maria.bianchi@cern.ch> Date: Wed, 27 May 2020 15:46:22 +0200 Subject: [PATCH] cleaning --- GeoModelRead/src/ReadGeoModel.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/GeoModelRead/src/ReadGeoModel.cpp b/GeoModelRead/src/ReadGeoModel.cpp index 8051f16..ebf61c4 100644 --- a/GeoModelRead/src/ReadGeoModel.cpp +++ b/GeoModelRead/src/ReadGeoModel.cpp @@ -399,11 +399,7 @@ void ReadGeoModel::buildAllShapes() m_memMapShapes.reserve( nSize*2 ); // TODO: check if *2 is good or redundant... for (unsigned int ii=0; ii<nSize; ++ii) { const unsigned int shapeID = std::stoi(m_shapes[ii][0]); -// if(shapeID!=15680) continue; type_shapes_boolean_info shapes_info_sub; // tuple to store the boolean shapes to complete at a second stage - if(shapeID==15680) { - std::cout<<"OK\n"; - } buildShape(shapeID, &shapes_info_sub); createBooleanShapeOperands(&shapes_info_sub); } @@ -475,7 +471,6 @@ void ReadGeoModel::buildAllLogVols() m_memMapLogVols.reserve( nSize*2 ); // TODO: check if *2 is good or redundant... for (unsigned int ii=0; ii<nSize; ++ii) { const unsigned int nodeID = std::stoi(m_logVols[ii][0]); -// if(nodeID!=10869) continue; buildLogVol(nodeID); } if (nSize>0) std::cout << "All " << nSize << " LogVols have been built!\n"; @@ -1267,7 +1262,7 @@ std::string ReadGeoModel::getShapeType(const unsigned int shapeId) GeoShape* ReadGeoModel::buildShape(const unsigned int shapeId, type_shapes_boolean_info* shapes_info_sub) { if (isBuiltShape(shapeId)) { - return getBuiltShape(shapeId); + return getBuiltShape(shapeId); } if (m_deepDebug) { -- GitLab