Skip to content
Snippets Groups Projects
Commit f44643fe authored by Andrii Verbytskyi's avatar Andrii Verbytskyi Committed by Edward Moyse
Browse files

LArReadoutGeometry: replace boost with STL

LArReadoutGeometry: replace boost with STL
parent 49716a42
No related branches found
No related tags found
1 merge request!66368LArReadoutGeometry: replace boost with STL
......@@ -4,7 +4,6 @@
atlas_subdir( LArReadoutGeometry )
# External dependencies:
find_package( Boost )
find_package( CLHEP )
find_package( GeoModel COMPONENTS GeoModelKernel )
......@@ -12,8 +11,8 @@ find_package( GeoModel COMPONENTS GeoModelKernel )
atlas_add_library( LArReadoutGeometry
src/*.cxx
PUBLIC_HEADERS LArReadoutGeometry
PRIVATE_INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS}
PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS}
PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS}
LINK_LIBRARIES ${GEOMODEL_LIBRARIES} AthenaKernel GeoPrimitives Identifier LArHV StoreGateLib CxxUtils
PRIVATE_LINK_LIBRARIES ${Boost_LIBRARIES} ${CLHEP_LIBRARIES} GeoModelUtilities GaudiKernel RDBAccessSvcLib GeoModelInterfaces )
PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} GeoModelUtilities GaudiKernel RDBAccessSvcLib GeoModelInterfaces )
......@@ -15,7 +15,6 @@
#include "LArReadoutGeometry/FCAL_ChannelMap.h"
#include "CxxUtils/trapping_fp.h"
#include "GaudiKernel/SystemOfUnits.h"
#include "boost/io/ios_state.hpp"
#include <sstream>
#include <iostream>
#include <iomanip>
......@@ -455,15 +454,15 @@ FCAL_ChannelMap::print_tubemap( int imap) const
{
FCAL_ChannelMap::tubemap_const_iterator it = m_tubeMap[imap-1].begin();
boost::io::ios_all_saver ias (std::cout);
std::cout << "First 10 elements of the New FCAL tube map : " << imap << std::endl;
std::cout.precision(5);
std::stringstream coutx;
coutx.precision(5);
for ( int i=0; i<10; ++i, ++it)
std::cout << std::hex << it->first << "\t"
coutx << std::hex << it->first << "\t"
<< (it->second).get_tileName() << std::dec <<"\t"
<< (it->second).x() <<"\t"
<< (it->second).y() << std::endl;
std::cout<<coutx.str();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment