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

update the code to use decltype(edm4hep::TrackState::covMatrix).

parent c310c857
No related branches found
No related tags found
No related merge requests found
...@@ -349,7 +349,7 @@ void Fitter::fit(){ ...@@ -349,7 +349,7 @@ void Fitter::fit(){
/**********************************************************************************************/ /**********************************************************************************************/
/* Create a TrackStateImpl from the helix values and use it to initalise the fit */ /* 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) { for (unsigned icov = 0; icov<covMatrix.size(); ++icov) {
covMatrix[icov] = 0; 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