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;
CompositeAlignmentParameters * clone(const AlgebraicVector &par, const AlgebraicSymMatrix &cov) const
Clone parameters.
const AlgebraicVector & parameters() const
Get alignment parameters.
std::map< Alignable *, int > Aliposmap
AlignmentParametersData::DataContainer DataContainer
align::Alignables Components
vector of alignable components
AlignableDetToAlignableMap theAlignableDetToAlignableMap
Relate Alignable's and AlignableDet's.
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.
void convert(const std::vector< AlignableDet *> &input, std::vector< AlignableDetOrUnitPtr > &output) const
const AlgebraicSymMatrix & covariance() const
Get parameter covariance matrix.
static std::string const input
CLHEP::HepMatrix AlgebraicMatrix
AlgebraicVector correctionTerm(const std::vector< TrajectoryStateOnSurface > &tsosvec, const std::vector< AlignableDet *> &alidetvec) const
for backward compatibility, use std::vector<AlignableDetOrUnitPtr>
AlgebraicMatrix selectedDerivativesLegacy(const TrajectoryStateOnSurface &tsos, AlignableDet *alidet) const
AlgebraicMatrix derivatives(const TrajectoryStateOnSurface &tsos, const AlignableDetOrUnitPtr &alidet) const
Get derivatives.
AlgebraicMatrix selectedDerivatives(const TrajectoryStateOnSurface &tsos, const AlignableDetOrUnitPtr &alidet) const
Get derivatives for selected alignables.
virtual ~CompositeAlignmentParameters()
destructor
AlgebraicVector parameterSubset(const align::Alignables &) const
Extract parameters for subset of alignables.
CLHEP::HepVector AlgebraicVector
AlgebraicMatrix derivativesLegacy(const TrajectoryStateOnSurface &tsos, AlignableDet *alidet) const
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
AlgebraicSymMatrix covarianceSubset(const align::Alignables &) const
Extract covariance matrix for subset of alignables.
std::map< Alignable *, int > Alilenmap
std::map< AlignableDetOrUnitPtr, Alignable * > AlignableDetToAlignableMap
char data[epos_bytes_allocation]
CLHEP::HepSymMatrix AlgebraicSymMatrix
align::Alignables extractAlignables(const align::Alignables &) const
Return vector of alignables without multiple occurences.
Components theComponents
Vector of alignable components.
Alignable * alignableFromAlignableDet(const AlignableDetOrUnitPtr &adet) const
Get relevant Alignable from AlignableDet.
Components components() const
Get vector of alignable components.