]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MONITOR/SORNotifier.cxx
Coverity fix.
[u/mrichter/AliRoot.git] / MONITOR / SORNotifier.cxx
CommitLineData
c989b443 1#include "SORNotifier.h"
2
3#include "AliLog.h"
4#include "AliOnlineRecoTrigger.h"
5
6//______________________________________________________________________
7void SORNotifier::infoHandler()
8{
9// Info handler
10
11 Int_t run = -1;
12 if (getData())
13 run = getInt();
14 AliInfoGeneral("SORNotifier::infoHandler()", Form("ECS SOR notification received for run %d...", run));
15 fRun = run;
16 fTrigger->Notify();
17}
18
19//______________________________________________________________________
20void SORNotifier::errorHandler(int severity, int code, char *msg)
21{
22// Error handler
23
24 AliInfoGeneral("SORNotifier::errorHandler()",
25 Form("DIM Error: severity<%d>, code<%d> , message<%s>",
26 severity, code, msg));
27}