]> git.uio.no Git - u/mrichter/AliRoot.git/blob - SHUTTLE/DATENotifier.cxx
If ROOT build with AliEn support adding AliEn to lib and include path
[u/mrichter/AliRoot.git] / SHUTTLE / DATENotifier.cxx
1 #include "DATENotifier.h"
2
3 #include "AliLog.h"
4
5 #include "AliShuttleTrigger.h"
6
7 //______________________________________________________________________
8 void DATENotifier::infoHandler()
9 {
10 // Info handler
11
12         Int_t run = -1;
13         if (getData())
14                 run = getInt();
15         AliInfoGeneral("DATENotifier::infoHandler()", Form("DATE notification received for run %d...", run));
16         fTrigger->Notify();
17 }
18
19 //______________________________________________________________________
20 void DATENotifier::errorHandler(int severity, int code, char *msg)
21 {
22 // Error handler
23
24         AliInfoGeneral("DATENotifier::errorHandler()",
25                 Form("DIM Error: severity<%d>, code<%d> , message<%s>",
26                 severity, code, msg));
27 }