00001 00009 #include "Alignment/ReferenceTrajectories/interface/BeamSpotTransientTrackingRecHit.h" 00010 00011 AlgebraicVector BeamSpotTransientTrackingRecHit::parameters() const 00012 { 00013 AlgebraicVector result(1); 00014 result[0] = localPosition().x(); 00015 return result; 00016 } 00017 00018 AlgebraicSymMatrix BeamSpotTransientTrackingRecHit::parametersError() const 00019 { 00020 LocalError le = localPositionError(); 00021 AlgebraicSymMatrix m(1); 00022 m[0][0] = le.xx(); 00023 return m; 00024 } 00025 00026 void BeamSpotTransientTrackingRecHit::initialize() const 00027 { 00028 theProjectionMatrix = AlgebraicMatrix( 1, 5, 0); 00029 theProjectionMatrix[0][3] = 1; 00030 00031 isInitialized = true; 00032 } 00033 00034 bool BeamSpotTransientTrackingRecHit::isInitialized(false); 00035 AlgebraicMatrix BeamSpotTransientTrackingRecHit::theProjectionMatrix;