1 #ifndef Alignment_CommonAlignmentParametrization_CompositeAlignmentParameters_h 2 #define Alignment_CommonAlignmentParametrization_CompositeAlignmentParameters_h 45 const Components&
comp);
48 const Components&
comp,
const AlignableDetToAlignableMap& alimap,
49 const Aliposmap& aliposmap,
const Alilenmap& alilenmap);
52 const Components&
comp,
const AlignableDetToAlignableMap& alimap,
53 const Aliposmap& aliposmap,
const Alilenmap& alilenmap);
70 const AlignableDetToAlignableMap& alimap,
71 const Aliposmap& aliposmap,
72 const Alilenmap& alilenmap)
const;
84 const std::vector<AlignableDet*>& alidetvec )
const;
86 const std::vector<AlignableDetOrUnitPtr>& alidetvec )
const;
89 const std::vector<AlignableDet*> &alidetvec )
const;
91 const std::vector<AlignableDetOrUnitPtr> &alidetvec )
const;
95 const std::vector<AlignableDet*>& alidetvec )
const;
97 const std::vector<AlignableDetOrUnitPtr>& alidetvec )
const;
106 const std::vector<AlignableDet*>& alidetvec )
const;
109 const std::vector<AlignableDet*>& alidetvec )
const;
132 std::vector<int>& posvec,
133 std::vector<int>& lenvec,
142 std::vector<AlignableDetOrUnitPtr> &
output)
const;
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
deprecated due to 'AlignableDet*' interface (legacy code should not be needed anymore) ...
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.
std::map< Alignable *, int > Alilenmap
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
std::map< AlignableDetOrUnitPtr, Alignable * > AlignableDetToAlignableMap
AlgebraicMatrix derivativesLegacy(const TrajectoryStateOnSurface &tsos, AlignableDet *alidet) const
deprecated due to 'AlignableDet*' interface (legacy code should not be needed anymore) ...
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
char data[epos_bytes_allocation]
CLHEP::HepSymMatrix AlgebraicSymMatrix
std::map< Alignable *, int > Aliposmap
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.