#include <CompositeAlignmentParameters.h>
Public Types | |
typedef std::map < AlignableDetOrUnitPtr, Alignable * > | AlignableDetToAlignableMap |
typedef std::map< Alignable *, int > | Alilenmap |
typedef std::map< Alignable *, int > | Aliposmap |
typedef std::vector< Alignable * > | Components |
vector of alignable components More... | |
typedef AlignmentParametersData::DataContainer | DataContainer |
Public Member Functions | |
Alignable * | alignableFromAlignableDet (const AlignableDetOrUnitPtr &adet) const |
Get relevant Alignable from AlignableDet. More... | |
CompositeAlignmentParameters * | clone (const AlgebraicVector &par, const AlgebraicSymMatrix &cov) const |
Clone parameters. More... | |
CompositeAlignmentParameters * | clone (const AlgebraicVector &par, const AlgebraicSymMatrix &cov, const AlignableDetToAlignableMap &alimap, const Aliposmap &aliposmap, const Alilenmap &alilenmap) const |
Clone parameters. More... | |
Components | components () const |
Get vector of alignable components. More... | |
CompositeAlignmentParameters (const AlgebraicVector &par, const AlgebraicSymMatrix &cov, const Components &comp) | |
constructors More... | |
CompositeAlignmentParameters (const AlgebraicVector &par, const AlgebraicSymMatrix &cov, const Components &comp, const AlignableDetToAlignableMap &alimap, const Aliposmap &aliposmap, const Alilenmap &alilenmap) | |
CompositeAlignmentParameters (const DataContainer &data, const Components &comp, const AlignableDetToAlignableMap &alimap, const Aliposmap &aliposmap, const Alilenmap &alilenmap) | |
AlgebraicVector | correctionTerm (const std::vector< TrajectoryStateOnSurface > &tsosvec, const std::vector< AlignableDet * > &alidetvec) const |
for backward compatibility, use std::vector<AlignableDetOrUnitPtr> More... | |
AlgebraicVector | correctionTerm (const std::vector< TrajectoryStateOnSurface > &tsosvec, const std::vector< AlignableDetOrUnitPtr > &alidetvec) const |
const AlgebraicSymMatrix & | covariance () const |
Get parameter covariance matrix. More... | |
AlgebraicSymMatrix | covarianceSubset (const std::vector< Alignable * > &vec) const |
Extract covariance matrix for subset of alignables. More... | |
AlgebraicMatrix | covarianceSubset (const std::vector< Alignable * > &veci, const std::vector< Alignable * > &vecj) const |
Extract covariance matrix elements between two subsets of alignables. More... | |
AlgebraicMatrix | derivatives (const TrajectoryStateOnSurface &tsos, const AlignableDetOrUnitPtr &alidet) const |
Get derivatives. More... | |
AlgebraicMatrix | derivatives (const std::vector< TrajectoryStateOnSurface > &tsosvec, const std::vector< AlignableDet * > &alidetvec) const |
for backward compatibility, use std::vector<AlignableDetOrUnitPtr> More... | |
AlgebraicMatrix | derivatives (const std::vector< TrajectoryStateOnSurface > &tsosvec, const std::vector< AlignableDetOrUnitPtr > &alidetvec) const |
AlgebraicMatrix | derivativesLegacy (const TrajectoryStateOnSurface &tsos, AlignableDet *alidet) const |
deprecated due to 'AlignableDet*' interface (legacy code should not be needed anymore) More... | |
AlgebraicMatrix | derivativesLegacy (const std::vector< TrajectoryStateOnSurface > &tsosvec, const std::vector< AlignableDet * > &alidetvec) const |
deprecated due to 'AlignableDet*' interface (legacy code should not be needed anymore) More... | |
const AlgebraicVector & | parameters () const |
Get alignment parameters. More... | |
AlgebraicVector | parameterSubset (const std::vector< Alignable * > &vec) const |
Extract parameters for subset of alignables. More... | |
AlgebraicMatrix | selectedDerivatives (const TrajectoryStateOnSurface &tsos, const AlignableDetOrUnitPtr &alidet) const |
Get derivatives for selected alignables. More... | |
AlgebraicMatrix | selectedDerivatives (const std::vector< TrajectoryStateOnSurface > &tsosvec, const std::vector< AlignableDet * > &alidetvec) const |
for backward compatibility, use std::vector<AlignableDetOrUnitPtr> More... | |
AlgebraicMatrix | selectedDerivatives (const std::vector< TrajectoryStateOnSurface > &tsosvec, const std::vector< AlignableDetOrUnitPtr > &alidetvec) const |
AlgebraicMatrix | selectedDerivativesLegacy (const TrajectoryStateOnSurface &tsos, AlignableDet *alidet) const |
deprecated due to 'AlignableDet*' interface (legacy code should not be needed anymore) More... | |
AlgebraicMatrix | selectedDerivativesLegacy (const std::vector< TrajectoryStateOnSurface > &tsosvec, const std::vector< AlignableDet * > &alidetvec) const |
deprecated due to 'AlignableDet*' interface (legacy code should not be needed anymore) More... | |
virtual | ~CompositeAlignmentParameters () |
destructor More... | |
Protected Attributes | |
DataContainer | theData |
Private Member Functions | |
void | convert (const std::vector< AlignableDet * > &input, std::vector< AlignableDetOrUnitPtr > &output) const |
std::vector< Alignable * > | extractAlignables (const std::vector< Alignable * > &alignables) const |
Return vector of alignables without multiple occurences. More... | |
bool | extractPositionAndLength (const std::vector< Alignable * > &alignables, std::vector< int > &posvec, std::vector< int > &lenvec, int &length) const |
Extract position and length of parameters for a subset of Alignables. More... | |
Private Attributes | |
AlignableDetToAlignableMap | theAlignableDetToAlignableMap |
Relate Alignable's and AlignableDet's. More... | |
Alilenmap | theAlilenmap |
Aliposmap | theAliposmap |
Maps to find parameters/covariance elements for given alignable. More... | |
Components | theComponents |
Vector of alignable components. More... | |
Class for 'concatenated' alignment parameters and associated Quantities for a set of Alignables. Provided by AlignmentParameterStore. It does not inherit from AligmentParameters since it does not need to be attached to an Alignable, so it does not need to have implementations of the apply(..) method. It neither needs AlignmentUservariables attached.
(last update by
)
Definition at line 27 of file CompositeAlignmentParameters.h.
typedef std::map<AlignableDetOrUnitPtr,Alignable*> CompositeAlignmentParameters::AlignableDetToAlignableMap |
Definition at line 35 of file CompositeAlignmentParameters.h.
typedef std::map<Alignable*,int> CompositeAlignmentParameters::Alilenmap |
Definition at line 37 of file CompositeAlignmentParameters.h.
typedef std::map<Alignable*,int> CompositeAlignmentParameters::Aliposmap |
Definition at line 36 of file CompositeAlignmentParameters.h.
typedef std::vector<Alignable*> CompositeAlignmentParameters::Components |
vector of alignable components
Definition at line 33 of file CompositeAlignmentParameters.h.
Definition at line 39 of file CompositeAlignmentParameters.h.
CompositeAlignmentParameters::CompositeAlignmentParameters | ( | const AlgebraicVector & | par, |
const AlgebraicSymMatrix & | cov, | ||
const Components & | comp | ||
) |
constructors
(last update by
)
Definition at line 19 of file CompositeAlignmentParameters.cc.
CompositeAlignmentParameters::CompositeAlignmentParameters | ( | const AlgebraicVector & | par, |
const AlgebraicSymMatrix & | cov, | ||
const Components & | comp, | ||
const AlignableDetToAlignableMap & | alimap, | ||
const Aliposmap & | aliposmap, | ||
const Alilenmap & | alilenmap | ||
) |
Definition at line 28 of file CompositeAlignmentParameters.cc.
CompositeAlignmentParameters::CompositeAlignmentParameters | ( | const DataContainer & | data, |
const Components & | comp, | ||
const AlignableDetToAlignableMap & | alimap, | ||
const Aliposmap & | aliposmap, | ||
const Alilenmap & | alilenmap | ||
) |
Definition at line 41 of file CompositeAlignmentParameters.cc.
|
virtual |
destructor
Definition at line 53 of file CompositeAlignmentParameters.cc.
Alignable * CompositeAlignmentParameters::alignableFromAlignableDet | ( | const AlignableDetOrUnitPtr & | adet | ) | const |
Get relevant Alignable from AlignableDet.
Definition at line 261 of file CompositeAlignmentParameters.cc.
CompositeAlignmentParameters * CompositeAlignmentParameters::clone | ( | const AlgebraicVector & | par, |
const AlgebraicSymMatrix & | cov | ||
) | const |
Clone parameters.
Definition at line 59 of file CompositeAlignmentParameters.cc.
CompositeAlignmentParameters * CompositeAlignmentParameters::clone | ( | const AlgebraicVector & | par, |
const AlgebraicSymMatrix & | cov, | ||
const AlignableDetToAlignableMap & | alimap, | ||
const Aliposmap & | aliposmap, | ||
const Alilenmap & | alilenmap | ||
) | const |
Clone parameters.
Definition at line 70 of file CompositeAlignmentParameters.cc.
CompositeAlignmentParameters::Components CompositeAlignmentParameters::components | ( | ) | const |
Get vector of alignable components.
Definition at line 84 of file CompositeAlignmentParameters.cc.
|
private |
backward compatibility method to convert vectors from specific AlignableDet to more general AlignableDetOrUnitPtr
Definition at line 468 of file CompositeAlignmentParameters.cc.
AlgebraicVector CompositeAlignmentParameters::correctionTerm | ( | const std::vector< TrajectoryStateOnSurface > & | tsosvec, |
const std::vector< AlignableDet * > & | alidetvec | ||
) | const |
for backward compatibility, use std::vector<AlignableDetOrUnitPtr>
Definition at line 116 of file CompositeAlignmentParameters.cc.
AlgebraicVector CompositeAlignmentParameters::correctionTerm | ( | const std::vector< TrajectoryStateOnSurface > & | tsosvec, |
const std::vector< AlignableDetOrUnitPtr > & | alidetvec | ||
) | const |
Definition at line 127 of file CompositeAlignmentParameters.cc.
|
inline |
Get parameter covariance matrix.
Definition at line 61 of file CompositeAlignmentParameters.h.
AlgebraicSymMatrix CompositeAlignmentParameters::covarianceSubset | ( | const std::vector< Alignable * > & | vec | ) | const |
Extract covariance matrix for subset of alignables.
Definition at line 312 of file CompositeAlignmentParameters.cc.
AlgebraicMatrix CompositeAlignmentParameters::covarianceSubset | ( | const std::vector< Alignable * > & | veci, |
const std::vector< Alignable * > & | vecj | ||
) | const |
Extract covariance matrix elements between two subsets of alignables.
Definition at line 360 of file CompositeAlignmentParameters.cc.
AlgebraicMatrix CompositeAlignmentParameters::derivatives | ( | const TrajectoryStateOnSurface & | tsos, |
const AlignableDetOrUnitPtr & | alidet | ||
) | const |
Get derivatives.
Definition at line 158 of file CompositeAlignmentParameters.cc.
AlgebraicMatrix CompositeAlignmentParameters::derivatives | ( | const std::vector< TrajectoryStateOnSurface > & | tsosvec, |
const std::vector< AlignableDet * > & | alidetvec | ||
) | const |
for backward compatibility, use std::vector<AlignableDetOrUnitPtr>
Definition at line 93 of file CompositeAlignmentParameters.cc.
AlgebraicMatrix CompositeAlignmentParameters::derivatives | ( | const std::vector< TrajectoryStateOnSurface > & | tsosvec, |
const std::vector< AlignableDetOrUnitPtr > & | alidetvec | ||
) | const |
Definition at line 103 of file CompositeAlignmentParameters.cc.
AlgebraicMatrix CompositeAlignmentParameters::derivativesLegacy | ( | const TrajectoryStateOnSurface & | tsos, |
AlignableDet * | alidet | ||
) | const |
deprecated due to 'AlignableDet*' interface (legacy code should not be needed anymore)
Definition at line 236 of file CompositeAlignmentParameters.cc.
AlgebraicMatrix CompositeAlignmentParameters::derivativesLegacy | ( | const std::vector< TrajectoryStateOnSurface > & | tsosvec, |
const std::vector< AlignableDet * > & | alidetvec | ||
) | const |
deprecated due to 'AlignableDet*' interface (legacy code should not be needed anymore)
Definition at line 182 of file CompositeAlignmentParameters.cc.
|
private |
Return vector of alignables without multiple occurences.
Definition at line 453 of file CompositeAlignmentParameters.cc.
|
private |
Extract position and length of parameters for a subset of Alignables.
Definition at line 416 of file CompositeAlignmentParameters.cc.
|
inline |
Get alignment parameters.
Definition at line 58 of file CompositeAlignmentParameters.h.
AlgebraicVector CompositeAlignmentParameters::parameterSubset | ( | const std::vector< Alignable * > & | vec | ) | const |
Extract parameters for subset of alignables.
Definition at line 274 of file CompositeAlignmentParameters.cc.
AlgebraicMatrix CompositeAlignmentParameters::selectedDerivatives | ( | const TrajectoryStateOnSurface & | tsos, |
const AlignableDetOrUnitPtr & | alidet | ||
) | const |
Get derivatives for selected alignables.
Definition at line 171 of file CompositeAlignmentParameters.cc.
AlgebraicMatrix CompositeAlignmentParameters::selectedDerivatives | ( | const std::vector< TrajectoryStateOnSurface > & | tsosvec, |
const std::vector< AlignableDet * > & | alidetvec | ||
) | const |
for backward compatibility, use std::vector<AlignableDetOrUnitPtr>
Definition at line 141 of file CompositeAlignmentParameters.cc.
AlgebraicMatrix CompositeAlignmentParameters::selectedDerivatives | ( | const std::vector< TrajectoryStateOnSurface > & | tsosvec, |
const std::vector< AlignableDetOrUnitPtr > & | alidetvec | ||
) | const |
Definition at line 149 of file CompositeAlignmentParameters.cc.
AlgebraicMatrix CompositeAlignmentParameters::selectedDerivativesLegacy | ( | const TrajectoryStateOnSurface & | tsos, |
AlignableDet * | alidet | ||
) | const |
deprecated due to 'AlignableDet*' interface (legacy code should not be needed anymore)
Definition at line 251 of file CompositeAlignmentParameters.cc.
AlgebraicMatrix CompositeAlignmentParameters::selectedDerivativesLegacy | ( | const std::vector< TrajectoryStateOnSurface > & | tsosvec, |
const std::vector< AlignableDet * > & | alidetvec | ||
) | const |
deprecated due to 'AlignableDet*' interface (legacy code should not be needed anymore)
Definition at line 226 of file CompositeAlignmentParameters.cc.
|
private |
Relate Alignable's and AlignableDet's.
Definition at line 147 of file CompositeAlignmentParameters.h.
|
private |
Definition at line 151 of file CompositeAlignmentParameters.h.
|
private |
Maps to find parameters/covariance elements for given alignable.
Definition at line 150 of file CompositeAlignmentParameters.h.
|
private |
Vector of alignable components.
Definition at line 144 of file CompositeAlignmentParameters.h.
|
protected |
Definition at line 125 of file CompositeAlignmentParameters.h.