From: morsch Date: Fri, 28 Jan 2005 10:46:37 +0000 (+0000) Subject: Use Bronch. X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=a96ab15b2b04fd86de9579cf32f276db3db1705f Use Bronch. --- diff --git a/STEER/AliDetector.cxx b/STEER/AliDetector.cxx index 3d9e210f13f..f58011d8536 100644 --- a/STEER/AliDetector.cxx +++ b/STEER/AliDetector.cxx @@ -162,6 +162,7 @@ TBranch* AliDetector::MakeBranchInTree(TTree *tree, const char* name, // // // if (GetDebug()>1) + AliDebug(2,Form("Making Branch %s",name)); if (tree == 0x0) { @@ -181,7 +182,7 @@ TBranch* AliDetector::MakeBranchInTree(TTree *tree, const char* name, } else { - branch = tree->Branch(name,address,size); + branch = tree->Bronch(name, "TClonesArray", address, size, splitlevel); } AliDebug(2,Form("Branch %s returning branch %#x",name,branch)); return branch;