]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG3/AliAODRecoDecayHF4Prong.cxx
Adapting the code to the transition to Double32_t in AODRecoDecay (Gines)
[u/mrichter/AliRoot.git] / PWG3 / AliAODRecoDecayHF4Prong.cxx
index 11e6261c269bbe30f2b0007716fe81837672b930..3955610cd86a75c3f55599a46d2e85db95e0b2f5 100644 (file)
@@ -58,7 +58,7 @@ AliAODRecoDecayHF4Prong::AliAODRecoDecayHF4Prong(AliAODVertex *vtx2,
   //
   // Constructor with AliAODVertex for decay vertex
   //
-  Float_t dcafloat[6];
+  Double_t dcafloat[6];
   for(Int_t i=0;i<6;i++) dcafloat[i]=dca[i];
   SetDCAs(6,dcafloat);
 }
@@ -79,7 +79,7 @@ AliAODRecoDecayHF4Prong::AliAODRecoDecayHF4Prong(AliAODVertex *vtx2,
   //
   // Constructor with AliAODVertex for decay vertex and without prongs momenta
   //
-  Float_t dcafloat[6];
+  Double_t dcafloat[6];
   for(Int_t i=0;i<6;i++) dcafloat[i]=dca[i];
   SetDCAs(6,dcafloat);
 }
@@ -134,7 +134,7 @@ AliAODRecoDecayHF4Prong &AliAODRecoDecayHF4Prong::operator=(const AliAODRecoDeca
       memcpy(fPID,source.fPID,GetNProngs()*sizeof(Double_t));
     }
     if(source.fDCA) {
-      fDCA = new Float_t[GetNProngs()*(GetNProngs()-1)/2];
+      fDCA = new Double32_t[GetNProngs()*(GetNProngs()-1)/2];
       memcpy(fDCA,source.fDCA,(GetNProngs()*(GetNProngs()-1)/2)*sizeof(Float_t));
     }
   }