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 db08245c5de8b98cb748d2e989e3273a0d9c43e8..d148aa931bf07827ad08e52836b5d2388b4c40a4 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 c2a75199d7cc4298689920c8b18cf2bb4046e542..032323db0006882af4443a60e7ab1e963263a673 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"))