changing name of ECS DIM trigger, printing run that was triggered
[u/mrichter/AliRoot.git] / SHUTTLE / DATENotifier.cxx
index cce88235d9f317b23cd30604d254615810ec41c2..d5697360c4e83d0522c2081874f4440e483b4a58 100644 (file)
@@ -9,8 +9,10 @@ void DATENotifier::infoHandler()
 {
 // Info handler
 
-       AliInfoGeneral("DATENotifier::infoHandler()",
-                       "DATE notification received ...");
+       Int_t run = -1;
+       if (getData())
+               run = getInt();
+       AliInfoGeneral("DATENotifier::infoHandler()", Form("DATE notification received for run %d...", run));
        fTrigger->Notify();
 }
 
@@ -23,10 +25,3 @@ void DATENotifier::errorHandler(int severity, int code, char *msg)
                Form("DIM Error: severity<%d>, code<%d> , message<%s>",
                severity, code, msg));
 }
-
-//______________________________________________________________________
-DATENotifier::DATENotifier(const DATENotifier& /*other*/):
-DimInfo(), fTrigger(0) {
-// copy constructor (not implemented)
-
-}