]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/Rec/AliTPCclusterer.cxx
Changes to compile with Root6 on macosx64
[u/mrichter/AliRoot.git] / TPC / Rec / AliTPCclusterer.cxx
index a8afecdd90b1fe2ce66462665cf5b5d373a93483..83ca7ca1293ab6a979e64214c1670d0504db32a5 100644 (file)
@@ -611,7 +611,7 @@ void AliTPCclusterer::AddCluster(AliTPCclusterMI &c, Float_t * /*matrix*/, Int_t
     return;
   }
   transform->SetCurrentRecoParam((AliTPCRecoParam*)fRecoParam);
-  Double_t x[3]={c.GetRow(),c.GetPad(),c.GetTimeBin()};
+  Double_t x[3]={static_cast<Double_t>(c.GetRow()),static_cast<Double_t>(c.GetPad()),static_cast<Double_t>(c.GetTimeBin())};
   Int_t i[1]={fSector};
   transform->Transform(x,i,0,1);
   c.SetX(x[0]);
@@ -873,7 +873,7 @@ void AliTPCclusterer::ProcessSectorData(){
           Int_t bin = iPad*fMaxTime+iTimeBin;
           Float_t signal = fAllBins[iRow][bin];
           if (AliTPCReconstructor::StreamLevel()>3 && signal>3) {
-            Double_t x[]={iRow,iPad-3,iTimeBin-3};
+            Double_t x[]={static_cast<Double_t>(iRow),static_cast<Double_t>(iPad-3),static_cast<Double_t>(iTimeBin-3)};
             Int_t i[]={fSector};
             AliTPCTransform trafo;
             trafo.Transform(x,i,0,1);