Changes to compile with Root6 on macosx64
[u/mrichter/AliRoot.git] / PWGPP / TPC / AliRecInfoMaker.cxx
index 58c3e9c..b1edece 100644 (file)
@@ -178,6 +178,10 @@ TProfile prof("prof","prof",10,0.5,5);
 
 
 
+using std::cout;
+using std::cerr;
+using std::endl;
+
 ClassImp(AliRecInfoMaker)
 
 
@@ -1076,7 +1080,7 @@ Int_t AliRecInfoMaker::BuildV0Info(Int_t eventNr)
   TBranch * branch = fTreeCmpV0->GetBranch("RC.");
   branch->SetAddress(&fRecV0Info); // set all pointers
   const AliESDVertex * esdvertex = fEvent->GetVertex();
-  Float_t vertex[3]= {esdvertex->GetXv(), esdvertex->GetYv(),esdvertex->GetZv()};
+  Float_t vertex[3]= {static_cast<Float_t>(esdvertex->GetXv()), static_cast<Float_t>(esdvertex->GetYv()),static_cast<Float_t>(esdvertex->GetZv())};
   
   //
   while (entry < nParticlesTR) {