CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GSSiTrackerRecHit2DLocalPos.cc
Go to the documentation of this file.
2 
3 void
5 {
6  //std::cout << "Call to KfComponentsHolder::genericFill should be optimized here " << std::endl;
7  AlgebraicVector2 & pars = holder.params<2>();
8  pars[0] = pos_.x();
9  pars[1] = pos_.y();
10 
11  AlgebraicSymMatrix22 & errs = holder.errors<2>();
12  errs(0,0) = err_.xx();
13  errs(0,1) = err_.xy();
14  errs(1,1) = err_.yy();
15 
16 
17  AlgebraicMatrix25 & proj = holder.projection<2>();
18  proj(0,3) = 1;
19  proj(1,4) = 1;
20 
21  holder.measuredParams<2>() = AlgebraicVector2( & holder.tsosLocalParameters().At(3), 2 );
22  holder.measuredErrors<2>() = holder.tsosLocalErrors().Sub<AlgebraicSymMatrix22>( 3, 3 );
23 
24  //std::cout << "======== MYSELF ==========" << std::endl;
25  //holder.dump<2>();
26  //std::cout << "======== GENERIC ==========" << std::endl;
27  //holder.genericFill(*this);
28  //holder.dump<2>();
29 }
float xx() const
Definition: LocalError.h:24
AlgebraicROOTObject< D, D >::SymMatrix & measuredErrors()
ROOT::Math::SMatrix< double, 2, 2, ROOT::Math::MatRepSym< double, 2 > > AlgebraicSymMatrix22
T y() const
Definition: PV3DBase.h:62
float xy() const
Definition: LocalError.h:25
float yy() const
Definition: LocalError.h:26
virtual void getKfComponents(KfComponentsHolder &holder) const
AlgebraicROOTObject< D >::Vector & params()
const AlgebraicVector5 & tsosLocalParameters() const
AlgebraicROOTObject< D >::Vector & measuredParams()
ROOT::Math::SMatrix< double, 2, 5, ROOT::Math::MatRepStd< double, 2, 5 > > AlgebraicMatrix25
AlgebraicROOTObject< D, D >::SymMatrix & errors()
AlgebraicROOTObject< D, 5 >::Matrix & projection()
T x() const
Definition: PV3DBase.h:61
const AlgebraicSymMatrix55 & tsosLocalErrors() const
ROOT::Math::SVector< double, 2 > AlgebraicVector2