CMS 3D CMS Logo

CompositeAlignmentDerivativesExtractor.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignmentParametrization_CompositeAlignmentDerivativesExtractor_H
2 #define Alignment_CommonAlignmentParametrization_CompositeAlignmentDerivativesExtractor_H
3 
6 
14 
15 class Alignable;
16 class AlignableDet;
19 
21 {
22 
23 public:
24 
27  const std::vector< AlignableDet* > & alignableDets,
28  const std::vector< TrajectoryStateOnSurface > & tsos );
31  const std::vector< AlignableDetOrUnitPtr > & alignableDets,
32  const std::vector< TrajectoryStateOnSurface > & tsos );
33 
36 
37  const AlgebraicMatrix & derivatives( void ) const { return theDerivatives; }
38  const AlgebraicVector & correctionTerm( void ) const { return theCorrectionTerm; }
39 
40 private:
41 
42  void extractCurrentAlignment( const align::Alignables & alignables,
43  const std::vector< AlignableDetOrUnitPtr > & alignableDets,
44  const std::vector< TrajectoryStateOnSurface > & tsos );
45 
46  void extractWithoutMultipleHits( const std::vector< AlgebraicVector > & subCorrectionTerm,
47  const std::vector< AlgebraicMatrix > & subDerivatives );
48 
49  void extractWithMultipleHits( const std::vector< AlgebraicVector > & subCorrectionTerm,
50  const std::vector< AlgebraicMatrix > & subDerivatives,
51  const align::Alignables & alignables );
52 
55 
56 };
57 
58 #endif
CompositeAlignmentDerivativesExtractor(const align::Alignables &alignables, const std::vector< AlignableDet * > &alignableDets, const std::vector< TrajectoryStateOnSurface > &tsos)
deprecated constructor for backward compatibility (use mor general AlignableDetOrUnitPtr) ...
void extractWithMultipleHits(const std::vector< AlgebraicVector > &subCorrectionTerm, const std::vector< AlgebraicMatrix > &subDerivatives, const align::Alignables &alignables)
CLHEP::HepMatrix AlgebraicMatrix
void extractWithoutMultipleHits(const std::vector< AlgebraicVector > &subCorrectionTerm, const std::vector< AlgebraicMatrix > &subDerivatives)
CLHEP::HepVector AlgebraicVector
std::vector< Alignable * > Alignables
Definition: Utilities.h:32
void extractCurrentAlignment(const align::Alignables &alignables, const std::vector< AlignableDetOrUnitPtr > &alignableDets, const std::vector< TrajectoryStateOnSurface > &tsos)