Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:05:22

0001 #include "DataFormats/TrackReco/interface/fillCovariance.h"
0002 
0003 namespace reco {
0004 
0005   PerigeeCovarianceMatrix &fillCovariance(PerigeeCovarianceMatrix &v, const float *data) {
0006     typedef unsigned int index;
0007     index idx = 0;
0008     for (index i = 0; i < 5; ++i) {
0009       for (index j = 0; j <= i; ++j) {
0010         v(i, j) = data[idx++];
0011       }
0012     }
0013     return v;
0014   }
0015 
0016 }  // namespace reco