 |
ATLAS Offline Software
|
Go to the documentation of this file.
12 #include "GaudiKernel/MsgStream.h"
31 : m_position(
other.m_position)
32 , m_direction(
other.m_direction)
33 , m_pathlength(
other.m_pathlength)
40 std::unique_ptr<IIntersectionCache> cache)
41 : m_position(
other.m_position)
42 , m_direction(
other.m_direction)
43 , m_pathlength(
other.m_pathlength)
44 , m_cache(std::move(cache))
52 m_position =
other.m_position;
53 m_direction =
other.m_direction;
54 m_pathlength =
other.m_pathlength;
55 m_cache =
other.m_cache ?
other.m_cache->clone() :
nullptr;
64 std::ostringstream
os;
73 const auto old_flags = sl.flags();
74 const auto old_prec = sl.precision();
76 sl.setf(std::ios::fixed, std::ios::floatfield);
79 sl <<
"Trk::TrackSurfaceIntersection\n"
80 <<
" position [mm] = (" << tsfi.
position().x() <<
", "
82 <<
" direction = (" << tsfi.
direction().x() <<
", "
84 <<
" pathlength [mm] = " << tsfi.
pathlength() <<
'\n';
87 sl.precision(old_prec);
path
python interpreter configuration --------------------------------------—
double pathlength() const
Method to retrieve the pathlength propagated till the Intersection.
const Amg::Vector3D & position() const
Method to retrieve the position of the Intersection.
TrackSurfaceIntersection()=default
Eigen::Matrix< double, 3, 1 > Vector3D
const Amg::Vector3D & direction() const
Method to retrieve the direction at the Intersection.
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
TrackSurfaceIntersection & operator=(const TrackSurfaceIntersection &other)