Skip to content
Snippets Groups Projects
Commit 74ee9169 authored by lintao@ihep.ac.cn's avatar lintao@ihep.ac.cn
Browse files

WIP: update.

parent e8466bcb
No related branches found
No related tags found
No related merge requests found
......@@ -376,7 +376,7 @@ namespace MarlinTrk {
bfield_z );
TMatrixD cov(5,5) ;
std::array<float, 15> covLCIO = ts.covMatrix;
auto covLCIO = ts.covMatrix;
cov( 0 , 0 ) = covLCIO[ 0] ; // d0, d0
cov( 0 , 1 ) = - covLCIO[ 1] ; // d0, phi
......@@ -1599,7 +1599,7 @@ namespace MarlinTrk {
Double_t cpa = helix.GetKappa();
double alpha = omega / cpa ; // conversion factor for omega (1/R) to kappa (1/Pt)
std::array<float, 15> covLCIO;
decltype(ts.covMatrix) covLCIO;
covLCIO[ 0] = covK( 0 , 0 ) ; // d0, d0
covLCIO[ 1] = - covK( 1 , 0 ) ; // phi0, d0
......
......@@ -166,7 +166,7 @@ void Fitter::fitVXD(){
/**********************************************************************************************/
/* Create a TrackStateImpl from the helix values and use it to initalise the fit */
/**********************************************************************************************/
std::array<float,15> covMatrix;
decltype(edm4hep::TrackState::covMatrix) covMatrix;
for (unsigned icov = 0; icov<covMatrix.size(); ++icov) {
covMatrix[icov] = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment