]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliRawReaderDateOnline.cxx
setting of the class name of the entry's object included in all constructors
[u/mrichter/AliRoot.git] / RAW / AliRawReaderDateOnline.cxx
index db47ba36d5bc5fcf9d8af8164f2f5bce7c56b21c..139aaf4d95786cebae44dc461cfd83909f8d64e2 100644 (file)
@@ -78,7 +78,7 @@ AliRawReaderDateOnline::AliRawReaderDateOnline(
   monitorSetNoWaitNetworkTimeout(1000);
 
   const Char_t* table[]  = {"ALL", "yes", "*", "*",
-                            "EOR", "all","*", "*",
+                            "EOR", "yes","*", "*",
                             NULL, NULL, NULL, NULL};
   monitorDeclareTableExtended(const_cast<char**>(table));
 
@@ -100,6 +100,8 @@ Bool_t AliRawReaderDateOnline::NextEvent()
   // Stop on SIGUSR1
   if (fStop) {
     AliInfo("Raw-data reading stopped by SIGUSR1");
+    if (fEvent) free(fEvent);
+    fEvent = NULL;
     return kFALSE;
   }
 
@@ -144,6 +146,7 @@ Bool_t AliRawReaderDateOnline::NextEvent()
     
     if (!IsEventSelected()) {
       free(fEvent);
+      fEvent = NULL;
       continue;
     }
 
@@ -188,7 +191,7 @@ void AliRawReaderDateOnline::SelectEvents(Int_t type,
 #ifdef ALI_DATE
   const Char_t* table[]  = {"ALL", "no", "*", "*",
                            "PHY", "yes","*", "*",
-                            "EOR", "all","*", "*",
+                            "EOR", "yes","*", "*",
                            NULL, NULL, NULL, NULL};
   TString trSelection;
   for (Int_t i = 0; i < 50; i++) {
@@ -199,6 +202,7 @@ void AliRawReaderDateOnline::SelectEvents(Int_t type,
   }
   table[7] = trSelection.Data();
 
+  monitorLogout();
   monitorDeclareTableExtended(const_cast<char**>(table));
   
 #endif