]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Use Bronch.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 28 Jan 2005 10:46:37 +0000 (10:46 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 28 Jan 2005 10:46:37 +0000 (10:46 +0000)
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;