]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliDetector.cxx
Use Bronch.
[u/mrichter/AliRoot.git] / STEER / AliDetector.cxx
index 3d9e210f13f3731d79885bcd81a40ba6390c82fc..f58011d8536cbbbac19d7a7fd7d1136c3a7841d5 100644 (file)
@@ -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;