]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Read SDigits in READ mode (needed when merging where the brckground files are in...
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 13 Feb 2004 16:22:13 +0000 (16:22 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 13 Feb 2004 16:22:13 +0000 (16:22 +0000)
EMCAL/AliEMCALGetter.cxx

index 888a3d2694345fb3b7a7125fe74e826080b33e34..403f92f45c27af1a7329e977791a26cba3c91333 100644 (file)
@@ -461,7 +461,7 @@ Int_t AliEMCALGetter::ReadTreeH()
     
   // gets TreeH from the root file (EMCAL.Hit.root)
   if ( !IsLoaded("H") ) {
-    EmcalLoader()->LoadHits("UPDATE") ;
+    EmcalLoader()->LoadHits("READ") ;
     SetLoaded("H") ; 
   }  
   return Hits()->GetEntries() ; 
@@ -521,8 +521,8 @@ Int_t AliEMCALGetter::ReadTreeS()
   
   // gets TreeS from the root file (EMCAL.SDigits.root)
    if ( !IsLoaded("S") ) {
-    EmcalLoader()->LoadSDigits("UPDATE") ;
-    EmcalLoader()->LoadSDigitizer("UPDATE") ;
+    EmcalLoader()->LoadSDigits("READ") ;
+    EmcalLoader()->LoadSDigitizer("READ") ;
     SetLoaded("S") ; 
   }