]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MONITOR/SORNotifier.h
fix typo
[u/mrichter/AliRoot.git] / MONITOR / SORNotifier.h
1 /**************************************************************************
2  * Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
3  * See cxx source for full Copyright notice                               *
4  **************************************************************************/
5 #ifndef SORNOTIFIER_H
6 #define SORNOTIFIER_H
7
8 //______________________________________________________________________________
9 //
10 // ECS Start-of-Run notifier
11 //
12 // This class "listens" to the SOR coming from the ECS.
13 //
14
15 // DIM
16 #include <dic.hxx>
17
18 class AliOnlineRecoTrigger;
19
20 class SORNotifier: public DimUpdatedInfo
21 {
22 public:
23         SORNotifier(AliOnlineRecoTrigger* trigger): 
24           DimUpdatedInfo("/LOGBOOK/SUBSCRIBE/DAQ_SOR_PHYSICS", -1), fRun(-1), fTrigger(trigger) {}
25
26         void infoHandler();
27
28         void errorHandler(int severity, int code, char *msg);
29
30         int GetRun() const {return fRun;}
31 private:
32         SORNotifier(const SORNotifier& other);
33         SORNotifier& operator = (const SORNotifier& other);
34
35         int fRun;
36
37         AliOnlineRecoTrigger* fTrigger;
38 };
39
40 #endif