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

index db08245..d148aa9 100644 (file)
@@ -657,9 +657,7 @@ void AliEMCALDigitizer::WriteDigits(Int_t event)
     cwd->cd();
   }
   
-  digitsBranch->Fill() ;      
-  digitizerBranch->Fill() ;
-
+  treeD->Fill() ; 
   treeD->Write(0,kOverwrite) ;  
  
 }
index c2a7519..032323d 100644 (file)
@@ -345,8 +345,7 @@ void AliEMCALSDigitizer::Exec(Option_t *option) {
        delete file;
       }
       
-      sdigitsBranch->Fill() ;
-      sdigitizerBranch->Fill() ;
+      gAlice->TreeS()->Fill() ; 
       gAlice->TreeS()->Write(0,TObject::kOverwrite) ;
       
       if(strstr(option,"deb"))