]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Updating the spacepoint constructor - using also covariance matrix
authormivanov <mivanov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 6 Jun 2013 12:57:51 +0000 (12:57 +0000)
committermivanov <mivanov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 6 Jun 2013 12:57:51 +0000 (12:57 +0000)
TPC/Rec/AliTPCclusterMI.cxx

index 4151f67a05ef4272572e5515ce5886418e8dfa90..7cabe1e194585ee80dd9463cbfefb3d729aa6dfc 100644 (file)
@@ -184,8 +184,12 @@ AliTrackPoint* AliTPCclusterMI::MakePoint(AliTPCclusterMI* cluster) {
     point = new AliTrackPoint();
     
     Float_t xyz[3];
+    Float_t cov[6];
     cl->GetGlobalXYZ(xyz);
+    cl->GetGlobalCov(cov);
+    // voluem ID to add later ....
     point->SetXYZ(xyz);
+    point->SetCov(cov);
   }
 
   return point;