14 #include "GaudiKernel/MsgStream.h"
22 Amg::VectorX::operator[](0) = par1.first;
28 Amg::VectorX::operator[](0) = lp[
Trk::locX];
29 Amg::VectorX::operator[](1) = lp[
Trk::locY];
35 Amg::VectorX::operator[](0) = par1.first;
38 Amg::VectorX::operator[](1) = par2.first;
48 Amg::VectorX::operator[](0) = tloc1;
49 Amg::VectorX::operator[](1) = tloc2;
50 Amg::VectorX::operator[](2) = tphi;
51 Amg::VectorX::operator[](3) = ttheta;
52 Amg::VectorX::operator[](4) = tqOverP;
58 const size_t parSize = parms.size();
59 assert(parSize > 0 && parSize <= 5);
61 std::vector<Trk::DefinedParameter>::const_iterator parIter = parms.begin();
62 for (
size_t idx = 0;
idx < parSize; ++
idx) {
63 Amg::VectorX::operator[](
idx) = parIter->first;
70 return s_projectionMatrices.reductionMatrix(m_parameterkey);
74 return s_projectionMatrices.expansionMatrix(m_parameterkey);
79 if (m_parameterkey == 31 || m_parameterkey == 1 || m_parameterkey == 3) {
80 return Amg::VectorX::operator[](
par);
82 return Amg::VectorX::operator[](
83 s_projectionMatrices.accessor(m_parameterkey,
par));
88 if (m_parameterkey == 31 || m_parameterkey == 1 || m_parameterkey == 3) {
89 return Amg::VectorX::operator[](
par);
91 return Amg::VectorX::operator[](
92 s_projectionMatrices.accessor(m_parameterkey,
par));
100 std::streamsize
ss = sl.precision();
101 sl << std::setiosflags(std::ios::fixed)<< std::setprecision(3);
102 sl <<
"Trk::LocalParameters " <<
": (";
103 for (
int ipar=0; ipar<lp.
dimension(); ++ipar)
105 if (ipar+1 < lp.dimension()) { sl <<
", ";
106 }
else { sl <<
") - key: "<< lp.m_parameterkey <<
"(";}
109 for (
int itag = 0, ipos=1; itag<5; ++itag, ipos*=2)
111 if (bit) { sl <<
"1";
115 sl.precision (
ss); sl<<std::resetiosflags(std::ios::fixed);
122 std::streamsize
ss = sl.precision();
123 sl << std::setiosflags(std::ios::fixed)<< std::setprecision(3);
124 sl <<
"Trk::LocalParameters " <<
": (";
125 for (
int ipar=0; ipar<lp.
dimension(); ++ipar)
127 if (ipar+1 < lp.dimension()) { sl <<
", ";
128 }
else { sl <<
") - key: "<< lp.m_parameterkey <<
"(";}
131 for (
int itag = 0, ipos=1; itag<5; ++itag, ipos*=2)
133 if (bit) { sl <<
"1";
138 sl.precision (
ss); sl<<std::resetiosflags(std::ios::fixed);