Skip to content
Snippets Groups Projects
Commit 1a8918c7 authored by Scott Snyder's avatar Scott Snyder Committed by Graeme Stewart
Browse files

Fix compilation with gcc6. (TrkEventPrimitives-01-00-17)

	* Tagging TrkEventPrimitives-01-00-17.
	* src/LocalParameters.cxx: Fix compilation with gcc6.
parent 879f0cb1
No related branches found
No related tags found
No related merge requests found
################################################################################
# Package: TrkEventPrimitives
################################################################################
# Declare the package name:
atlas_subdir( TrkEventPrimitives )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
DetectorDescription/GeoPrimitives
Event/EventPrimitives
GaudiKernel )
# External dependencies:
find_package( Eigen )
find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread )
# Component(s) in the package:
atlas_add_library( TrkEventPrimitives
src/*.cxx
PUBLIC_HEADERS TrkEventPrimitives
INCLUDE_DIRS ${EIGEN_INCLUDE_DIRS}
PRIVATE_INCLUDE_DIRS ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES ${EIGEN_LIBRARIES} GeoPrimitives EventPrimitives GaudiKernel
PRIVATE_LINK_LIBRARIES ${ROOT_LIBRARIES} )
atlas_add_dictionary( TrkEventPrimitivesDict
TrkEventPrimitives/TrkEventPrimitivesDict.h
TrkEventPrimitives/selection.xml
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES} ${EIGEN_LIBRARIES} GeoPrimitives EventPrimitives GaudiKernel TrkEventPrimitives )
......@@ -111,8 +111,12 @@ const Amg::MatrixX& Trk::LocalParameters::reductionMatrix() const
const Amg::MatrixX& Trk::LocalParameters::expansionMatrix() const
{ return s_projectionMatrices.expansionMatrix(m_parameterkey); }
/**Overload of << operator for both, MsgStream and std::ostream for debug output*/
MsgStream& Trk::operator << ( MsgStream& sl, const Trk::LocalParameters& lp)
namespace Trk {
/**Overload of << operator for both, MsgStream and std::ostream for debug output*/
MsgStream& operator << ( MsgStream& sl, const Trk::LocalParameters& lp)
{
std::streamsize ss = sl.precision();
sl << std::setiosflags(std::ios::fixed)<< std::setprecision(3);
......@@ -134,7 +138,7 @@ MsgStream& Trk::operator << ( MsgStream& sl, const Trk::LocalParameters& lp)
return sl;
}
std::ostream& Trk::operator << ( std::ostream& sl, const Trk::LocalParameters& lp)
std::ostream& operator << ( std::ostream& sl, const Trk::LocalParameters& lp)
{
std::streamsize ss = sl.precision();
sl << std::setiosflags(std::ios::fixed)<< std::setprecision(3);
......@@ -156,5 +160,8 @@ std::ostream& Trk::operator << ( std::ostream& sl, const Trk::LocalParameters& l
return sl;
}
} // namespace Trk
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