Fill the Tree instead of branches to be able to use the root browser
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Mar 2002 10:28:06 +0000 (10:28 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Mar 2002 10:28:06 +0000 (10:28 +0000)
PHOS/AliPHOSDigitizer.cxx
PHOS/AliPHOSSDigitizer.cxx

index 275297ec008c4b2650758633e9628682305ff388..1c3f2d739a377626feec66677eafc8ad93afdbb2 100644 (file)
@@ -772,9 +772,7 @@ void AliPHOSDigitizer::WriteDigits(Int_t event)
     cwd->cd();
   }
   
-  digitsBranch->Fill() ;      
-  digitizerBranch->Fill() ;
-
+  treeD->Fill() ;
   treeD->Write(0,kOverwrite) ;  
  
 }
index 92f415792771780511f4f7585bf2a299cc0af041..8bdf9f7f2ca0b0296798c02bac390d0638cd2ed2 100644 (file)
@@ -256,8 +256,7 @@ void AliPHOSSDigitizer::Exec(Option_t *option)
       delete file;
     }
 
-    sdigitsBranch->Fill() ;
-    sdigitizerBranch->Fill() ;
+    gAlice->TreeS()->Fill() ; 
     gAlice->TreeS()->Write(0,TObject::kOverwrite) ;
     
     if(strstr(option,"deb"))