Opening run loader in update mode (T.Kuhr)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 1 Dec 2003 11:06:51 +0000 (11:06 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 1 Dec 2003 11:06:51 +0000 (11:06 +0000)
PMD/AliPMDDigitizer.cxx
STEER/AliRunDigitizer.cxx
TRD/AliTRDdigitizer.cxx

index 03f6454..743da36 100644 (file)
@@ -92,7 +92,8 @@ void AliPMDDigitizer::OpengAliceFile(const char *file, Option_t *option)
   // Loads galice.root file and corresponding header, kinematics
   // hits and sdigits or digits depending on the option
   //
-  fRunLoader = AliRunLoader::Open(file,AliConfig::fgkDefaultEventFolderName);
+  fRunLoader = AliRunLoader::Open(file,AliConfig::fgkDefaultEventFolderName,
+                                 "UPDATE");
   
   if (!fRunLoader)
    {
index d35107c..e75329d 100644 (file)
@@ -179,7 +179,7 @@ AliRunDigitizer::AliRunDigitizer(Int_t nInputStreams, Int_t sperb):
   TClonesArray &lInputStreams = *fInputStreams;
   
   for (i=0;i<nInputStreams;i++) {
-    new(lInputStreams[i]) AliStream(fgkBaseInFolderName+(Long_t)i,"READ");
+    new(lInputStreams[i]) AliStream(fgkBaseInFolderName+(Long_t)i,"UPDATE");
   }
 }
 //_______________________________________________________________________
index f440d9c..7dbc3ad 100644 (file)
@@ -401,7 +401,8 @@ Bool_t AliTRDdigitizer::Open(const Char_t *file, Int_t nEvent)
 
   // Connect the AliRoot file containing Geometry, Kine, and Hits
   
-  fRunLoader = AliRunLoader::Open(file,AliConfig::fgkDefaultEventFolderName);
+  fRunLoader = AliRunLoader::Open(file,AliConfig::fgkDefaultEventFolderName,
+                                 "UPDATE");
   
   if (!fRunLoader)
    {