Go to the documentation of this file. 1 #ifndef Alignment_CommonAlignmentParametrization_CompositeAlignmentParameters_h
2 #define Alignment_CommonAlignmentParametrization_CompositeAlignmentParameters_h
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;
static const std::string input
AlgebraicSymMatrix covarianceSubset(const align::Alignables &) const
Extract covariance matrix for subset of alignables.
std::map< Alignable *, int > Alilenmap
Components theComponents
Vector of alignable components.
AlgebraicMatrix selectedDerivativesLegacy(const TrajectoryStateOnSurface &tsos, AlignableDet *alidet) const
AlgebraicMatrix derivatives(const TrajectoryStateOnSurface &tsos, const AlignableDetOrUnitPtr &alidet) const
Get derivatives.
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.
Components components() const
Get vector of alignable components.
virtual ~CompositeAlignmentParameters()
destructor
CLHEP::HepVector AlgebraicVector
AlgebraicMatrix derivativesLegacy(const TrajectoryStateOnSurface &tsos, AlignableDet *alidet) const
std::map< AlignableDetOrUnitPtr, Alignable * > AlignableDetToAlignableMap
std::map< Alignable *, int > Aliposmap
Aliposmap theAliposmap
Maps to find parameters/covariance elements for given alignable.
CompositeAlignmentParameters(const AlgebraicVector &par, const AlgebraicSymMatrix &cov, const Components &comp)
constructors
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.
align::Alignables Components
vector of alignable components
AlignableDetToAlignableMap theAlignableDetToAlignableMap
Relate Alignable's and AlignableDet's.
Alignable * alignableFromAlignableDet(const AlignableDetOrUnitPtr &adet) const
Get relevant Alignable from AlignableDet.
CLHEP::HepSymMatrix AlgebraicSymMatrix
CompositeAlignmentParameters * clone(const AlgebraicVector &par, const AlgebraicSymMatrix &cov) const
Clone parameters.
std::vector< Alignable * > Alignables
CLHEP::HepMatrix AlgebraicMatrix
const AlgebraicVector & parameters() const
Get alignment parameters.
AlgebraicVector correctionTerm(const std::vector< TrajectoryStateOnSurface > &tsosvec, const std::vector< AlignableDet * > &alidetvec) const
for backward compatibility, use std::vector<AlignableDetOrUnitPtr>
char data[epos_bytes_allocation]
AlignmentParametersData::DataContainer DataContainer
const AlgebraicSymMatrix & covariance() const
Get parameter covariance matrix.
void convert(const std::vector< AlignableDet * > &input, std::vector< AlignableDetOrUnitPtr > &output) const
AlgebraicVector parameterSubset(const align::Alignables &) const
Extract parameters for subset of alignables.