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

WIP: use decltype to deduce the type of std::array

parent 72390688
No related branches found
No related tags found
No related merge requests found
......@@ -207,8 +207,8 @@ StatusCode TruthTrackerAlg::execute()
trackState.Z0=helix.getZ0();
trackState.tanLambda=helix.getTanLambda();
trackState.referencePoint=helix.getReferencePoint();
std::array<float,15> covMatrix;
for(int i=0;i<15;i++){covMatrix[i]=999.;}//FIXME
decltype(trackState.covMatrix) covMatrix;
for(int i=0;i<covMatrix.size();i++){covMatrix[i]=999.;}//FIXME
trackState.covMatrix=covMatrix;
dcTrack.addToTrackStates(trackState);
//dcTrack.setType();//TODO
......
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