the matrices to access the variably-dimensioned local parameters and map them to the defined five track parameters.
More...
#include <ProjectionMatricesSet.h>
the matrices to access the variably-dimensioned local parameters and map them to the defined five track parameters.
- Author
- Andre.nosp@m.as.S.nosp@m.alzbu.nosp@m.rger.nosp@m.@cern.nosp@m..ch
Definition at line 29 of file ProjectionMatricesSet.h.
◆ ProjectionMatricesSet()
Trk::ProjectionMatricesSet::ProjectionMatricesSet |
( |
int |
maxdim | ) |
|
Explicit constructor for 1-dimensional vector.
Definition at line 12 of file ProjectionMatricesSet.cxx.
20 for (
int imatx=0; imatx<numMatrices; ++imatx){
22 std::vector<int> accessorInt(
m_maxdim);
23 std::vector<bool> parameterTag(
m_maxdim);
24 unsigned int cols = 0;
25 for (
int itag = 0, ipos = 1; itag <
m_maxdim; ++itag, ipos *= 2) {
26 bool bit = (imatx & ipos);
27 parameterTag[itag] = bit;
44 for (
int irow = 0; irow<
m_maxdim; irow++)
46 int icol = irow - reduc;
49 reduction(irow,
icol) = parameterTag[irow] ? 1. : 0.;
50 if (!parameterTag[irow])
52 accessorInt[irow] = -100;
55 accessorInt[irow] = reduc;
◆ accessor()
int Trk::ProjectionMatricesSet::accessor |
( |
int |
mtx, |
|
|
ParamDefs |
par |
|
) |
| const |
|
inline |
◆ expansionMatrix()
◆ reductionMatrix()
◆ m_accessors
std::vector<std::vector<int> > Trk::ProjectionMatricesSet::m_accessors |
|
private |
◆ m_expansions
std::vector<Amg::MatrixX> Trk::ProjectionMatricesSet::m_expansions |
|
private |
◆ m_maxdim
int Trk::ProjectionMatricesSet::m_maxdim |
|
private |
◆ m_reductions
std::vector<Amg::MatrixX> Trk::ProjectionMatricesSet::m_reductions |
|
private |
The documentation for this class was generated from the following files: