]>
Commit | Line | Data |
---|---|---|
d477ad88 | 1 | #include "DATENotifier.h" |
2 | ||
3 | #include "AliLog.h" | |
4 | ||
5 | #include "AliShuttleTrigger.h" | |
6 | ||
4f0ab988 | 7 | //______________________________________________________________________ |
8 | void DATENotifier::infoHandler() | |
9 | { | |
10 | // Info handler | |
11 | ||
4a5d9e0d | 12 | Int_t run = -1; |
13 | if (getData()) | |
14 | run = getInt(); | |
15 | AliInfoGeneral("DATENotifier::infoHandler()", Form("DATE notification received for run %d...", run)); | |
d477ad88 | 16 | fTrigger->Notify(); |
17 | } | |
18 | ||
4f0ab988 | 19 | //______________________________________________________________________ |
20 | void DATENotifier::errorHandler(int severity, int code, char *msg) | |
21 | { | |
22 | // Error handler | |
d477ad88 | 23 | |
24 | AliInfoGeneral("DATENotifier::errorHandler()", | |
25 | Form("DIM Error: severity<%d>, code<%d> , message<%s>", | |
26 | severity, code, msg)); | |
27 | } |