Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:46:09

0001 /** \file BeamSpotTransientTrackingRecHit.cc
0002  *
0003  * Author     : Andreas Mussgiller
0004  * date       : 2010/08/30
0005  * last update: $Date: 2010/09/10 12:06:43 $
0006  * by         : $Author: mussgill $
0007  */
0008 
0009 #include "Alignment/ReferenceTrajectories/interface/BeamSpotTransientTrackingRecHit.h"
0010 
0011 AlgebraicVector BeamSpotTransientTrackingRecHit::parameters() const {
0012   AlgebraicVector result(1);
0013   result[0] = localPosition().x();
0014   return result;
0015 }
0016 
0017 AlgebraicSymMatrix BeamSpotTransientTrackingRecHit::parametersError() const {
0018   LocalError le = localPositionError();
0019   AlgebraicSymMatrix m(1);
0020   m[0][0] = le.xx();
0021   return m;
0022 }
0023 
0024 static AlgebraicMatrix initialize() {
0025   AlgebraicMatrix ret(1, 5, 0);
0026   ret[0][3] = 1;
0027   return ret;
0028 }
0029 
0030 const AlgebraicMatrix BeamSpotTransientTrackingRecHit::theProjectionMatrix = initialize();