@@ -1476,10 +1476,16 @@ bool HGCalDDDConstants::tileExist(int zside, int layer, int ring, int phi) const
14761476 ok = (itr == hgpar_->tileInfoMap_ .end ()) ? false : HGCalTileIndex::tileFineExist (itr->second .hex , zside, phi);
14771477#ifdef EDM_ML_DEBUG
14781478 if (!ok)
1479- edm::LogWarning (" HGCalGeomT" ) << " TileExist:input " << zside << " :" << layer << " :" << ring << " :" << phi
1480- << " Index flag " << indx << " :" << (itr != hgpar_->tileInfoMap_ .end ()) << " ok "
1481- << ok;
1482- if (HGCalTileIndex::tileFineExist (itr->second .hex , zside, phi) != HGCalTileIndex::tileExist (itr->second .hex , zside, phi)) edm::LogVerbatim (" HGCalGeom" ) << " Zside:Layer:Ring:Phi " << zside << " :" << layer << " :" << ring << " :" << phi << " hex " << std::hex << itr->second .hex [0 ] << " :" << itr->second .hex [1 ] << " :" << itr->second .hex [2 ] << " :" << itr->second .hex [3 ] << " :" << itr->second .hex [4 ] << " :" << itr->second .hex [5 ] << std::dec << " OK " << ok << " :" << HGCalTileIndex::tileExist (itr->second .hex , zside, phi) << " CHECK" ;
1479+ edm::LogWarning (" HGCalGeomT" ) << " TileExist:input " << zside << " :" << layer << " :" << ring << " :" << phi
1480+ << " Index flag " << indx << " :" << (itr != hgpar_->tileInfoMap_ .end ()) << " ok "
1481+ << ok;
1482+ if (HGCalTileIndex::tileFineExist (itr->second .hex , zside, phi) !=
1483+ HGCalTileIndex::tileExist (itr->second .hex , zside, phi))
1484+ edm::LogVerbatim (" HGCalGeom" ) << " Zside:Layer:Ring:Phi " << zside << " :" << layer << " :" << ring << " :" << phi
1485+ << " hex " << std::hex << itr->second .hex [0 ] << " :" << itr->second .hex [1 ] << " :"
1486+ << itr->second .hex [2 ] << " :" << itr->second .hex [3 ] << " :" << itr->second .hex [4 ]
1487+ << " :" << itr->second .hex [5 ] << std::dec << " OK " << ok << " :"
1488+ << HGCalTileIndex::tileExist (itr->second .hex , zside, phi) << " CHECK" ;
14831489#endif
14841490 return ok;
14851491 } else {
@@ -1488,16 +1494,24 @@ bool HGCalDDDConstants::tileExist(int zside, int layer, int ring, int phi) const
14881494 ok = (itr == hgpar_->tileInfoMap_ .end ()) ? false : HGCalTileIndex::tileExist (itr->second .hex , zside, phi);
14891495#ifdef EDM_ML_DEBUG
14901496 if (!ok)
1491- edm::LogWarning (" HGCalGeomT" ) << " TileExist:input " << zside << " :" << layer << " :" << ring << " :" << phi
1492- << " Index " << index.first << " :" << (itr != hgpar_->tileInfoMap_ .end ()) << " ok "
1493- << ok;
1494- if (HGCalTileIndex::tileFineExist (itr->second .hex , zside, phi) != HGCalTileIndex::tileExist (itr->second .hex , zside, phi)) edm::LogVerbatim (" HGCalGeom" ) << " Zside:Layer:Ring:Phi " << zside << " :" << layer << " :" << ring << " :" << phi << " hex " << std::hex << itr->second .hex [0 ] << " :" << itr->second .hex [1 ] << " :" << itr->second .hex [2 ] << " :" << itr->second .hex [3 ] << " :" << itr->second .hex [4 ] << " :" << itr->second .hex [5 ] << std::dec << " OK " << ok << " :" << HGCalTileIndex::tileFineExist (itr->second .hex , zside, phi) << " CHECK" ;
1497+ edm::LogWarning (" HGCalGeomT" ) << " TileExist:input " << zside << " :" << layer << " :" << ring << " :" << phi
1498+ << " Index " << index.first << " :" << (itr != hgpar_->tileInfoMap_ .end ())
1499+ << " ok " << ok;
1500+ if (HGCalTileIndex::tileFineExist (itr->second .hex , zside, phi) !=
1501+ HGCalTileIndex::tileExist (itr->second .hex , zside, phi))
1502+ edm::LogVerbatim (" HGCalGeom" ) << " Zside:Layer:Ring:Phi " << zside << " :" << layer << " :" << ring << " :" << phi
1503+ << " hex " << std::hex << itr->second .hex [0 ] << " :" << itr->second .hex [1 ] << " :"
1504+ << itr->second .hex [2 ] << " :" << itr->second .hex [3 ] << " :" << itr->second .hex [4 ]
1505+ << " :" << itr->second .hex [5 ] << std::dec << " OK " << ok << " :"
1506+ << HGCalTileIndex::tileFineExist (itr->second .hex , zside, phi) << " CHECK" ;
14951507#endif
14961508 return ok;
14971509 }
14981510#ifdef EDM_ML_DEBUG
14991511 } else {
1500- edm::LogWarning (" HGCalGeomT" ) << " TileExist:input " << zside << " :" << layer << " :" << ring << " :" << phi << " Index " << index.first << " Ring limits " << hgpar_->iradMinBH_ [index.first ] << " :" << hgpar_->iradMaxBH_ [index.first ] << " ok " << ok;
1512+ edm::LogWarning (" HGCalGeomT" ) << " TileExist:input " << zside << " :" << layer << " :" << ring << " :" << phi
1513+ << " Index " << index.first << " Ring limits " << hgpar_->iradMinBH_ [index.first ]
1514+ << " :" << hgpar_->iradMaxBH_ [index.first ] << " ok " << ok;
15011515#endif
15021516 }
15031517 return ok;
0 commit comments