1 #ifndef Alignment_CommonAlignmentParametrization_CompositeAlignmentParameters_h 2 #define Alignment_CommonAlignmentParametrization_CompositeAlignmentParameters_h 44 const Components &
comp,
45 const AlignableDetToAlignableMap &alimap,
46 const Aliposmap &aliposmap,
47 const Alilenmap &alilenmap);
50 const Components &
comp,
51 const AlignableDetToAlignableMap &alimap,
52 const Aliposmap &aliposmap,
53 const Alilenmap &alilenmap);
70 const AlignableDetToAlignableMap &alimap,
71 const Aliposmap &aliposmap,
72 const Alilenmap &alilenmap)
const;
83 const std::vector<AlignableDet *> &alidetvec)
const;
85 const std::vector<AlignableDetOrUnitPtr> &alidetvec)
const;
88 const std::vector<AlignableDet *> &alidetvec)
const;
90 const std::vector<AlignableDetOrUnitPtr> &alidetvec)
const;
94 const std::vector<AlignableDet *> &alidetvec)
const;
96 const std::vector<AlignableDetOrUnitPtr> &alidetvec)
const;
106 const std::vector<AlignableDet *> &alidetvec)
const;
110 const std::vector<AlignableDet *> &alidetvec)
const;
130 std::vector<int> &posvec,
131 std::vector<int> &lenvec,
139 void convert(
const std::vector<AlignableDet *> &
input, std::vector<AlignableDetOrUnitPtr> &
output)
const;
std::map< Alignable *, int > Aliposmap
AlignmentParametersData::DataContainer DataContainer
align::Alignables Components
vector of alignable components
AlignableDetToAlignableMap theAlignableDetToAlignableMap
Relate Alignable's and AlignableDet's.
AlgebraicSymMatrix covarianceSubset(const align::Alignables &) const
Extract covariance matrix for subset of alignables.
bool extractPositionAndLength(const align::Alignables &alignables, std::vector< int > &posvec, std::vector< int > &lenvec, int &length) const
Extract position and length of parameters for a subset of Alignables.
Alignable * alignableFromAlignableDet(const AlignableDetOrUnitPtr &adet) const
Get relevant Alignable from AlignableDet.
static std::string const input
AlgebraicMatrix selectedDerivativesLegacy(const TrajectoryStateOnSurface &tsos, AlignableDet *alidet) const
const AlgebraicVector & parameters() const
Get alignment parameters.
void convert(const std::vector< AlignableDet * > &input, std::vector< AlignableDetOrUnitPtr > &output) const
CLHEP::HepMatrix AlgebraicMatrix
Components components() const
Get vector of alignable components.
const AlgebraicSymMatrix & covariance() const
Get parameter covariance matrix.
virtual ~CompositeAlignmentParameters()
destructor
AlgebraicVector correctionTerm(const std::vector< TrajectoryStateOnSurface > &tsosvec, const std::vector< AlignableDet * > &alidetvec) const
for backward compatibility, use std::vector<AlignableDetOrUnitPtr>
CLHEP::HepVector AlgebraicVector
AlgebraicMatrix derivativesLegacy(const TrajectoryStateOnSurface &tsos, AlignableDet *alidet) const
align::Alignables extractAlignables(const align::Alignables &) const
Return vector of alignables without multiple occurences.
AlgebraicMatrix selectedDerivatives(const TrajectoryStateOnSurface &tsos, const AlignableDetOrUnitPtr &alidet) const
Get derivatives for selected alignables.
AlgebraicVector parameterSubset(const align::Alignables &) const
Extract parameters for subset of alignables.
std::vector< Alignable * > Alignables
Aliposmap theAliposmap
Maps to find parameters/covariance elements for given alignable.
CompositeAlignmentParameters(const AlgebraicVector &par, const AlgebraicSymMatrix &cov, const Components &comp)
constructors
std::map< Alignable *, int > Alilenmap
std::map< AlignableDetOrUnitPtr, Alignable * > AlignableDetToAlignableMap
char data[epos_bytes_allocation]
CLHEP::HepSymMatrix AlgebraicSymMatrix
Components theComponents
Vector of alignable components.
AlgebraicMatrix derivatives(const TrajectoryStateOnSurface &tsos, const AlignableDetOrUnitPtr &alidet) const
Get derivatives.
CompositeAlignmentParameters * clone(const AlgebraicVector &par, const AlgebraicSymMatrix &cov) const
Clone parameters.