}
//___________________________________________________________________________
-void AliPHOSvFast::MakeBranch(Option_t* opt, char *file)
+void AliPHOSvFast::MakeBranch(Option_t* opt, const char *file)
{
// Create new branch in the current reconstructed Root Tree
char *cd = strstr(opt,"R");
if (fFastRecParticles && gAlice->TreeR() && cd) {
- gAlice->MakeBranchInTree(gAlice->TreeR(),
- branchname, &fFastRecParticles, fBufferSize, file);
+ MakeBranchInTree(gAlice->TreeR(),
+ branchname, &fFastRecParticles, fBufferSize, file);
}
}