memory consumption measures only memory used by preprocessor
[u/mrichter/AliRoot.git] / SHUTTLE / DATENotifier.cxx
index f9a2533484c23e74f2d8053a10aeecdf2cafd784..d5697360c4e83d0522c2081874f4440e483b4a58 100644 (file)
@@ -4,13 +4,22 @@
 
 #include "AliShuttleTrigger.h"
 
-void DATENotifier::infoHandler() {
-       AliInfoGeneral("DATENotifier::infoHandler()",
-                       "DATE notification received ...");
+//______________________________________________________________________
+void DATENotifier::infoHandler()
+{
+// Info handler
+
+       Int_t run = -1;
+       if (getData())
+               run = getInt();
+       AliInfoGeneral("DATENotifier::infoHandler()", Form("DATE notification received for run %d...", run));
        fTrigger->Notify();
 }
 
-void DATENotifier::errorHandler(int severity, int code, char *msg) {
+//______________________________________________________________________
+void DATENotifier::errorHandler(int severity, int code, char *msg)
+{
+// Error handler
 
        AliInfoGeneral("DATENotifier::errorHandler()",
                Form("DIM Error: severity<%d>, code<%d> , message<%s>",