2 // Author: Matevz Tadel 2007
4 /**************************************************************************
5 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
7 * full copyright notice. *
8 **************************************************************************/
10 #ifndef AliOnlineReco_H
11 #define AliOnlineReco_H
19 class AliDimIntNotifier;
24 //______________________________________________________________________________
25 // Short description of AliOnlineReco
29 class AliOnlineReco : public TGMainFrame
33 virtual ~AliOnlineReco() {}
35 AliDimIntNotifier* GetSOR() const { return fSOR; }
36 AliDimIntNotifier* GetEOR() const { return fEOR; }
38 void SetTestMode() { fTestMode = kTRUE; }
40 //------------------------------------------------------------------------------
41 // Handlers of DIM signals.
42 //------------------------------------------------------------------------------
44 void StartOfRun(Int_t run);
45 void EndOfRun(Int_t run);
47 //------------------------------------------------------------------------------
48 // Handlers of OS signals.
49 //------------------------------------------------------------------------------
51 void ChildProcTerm(Int_t pid, Int_t status);
53 //------------------------------------------------------------------------------
54 // Handlers of button signals.
55 //------------------------------------------------------------------------------
61 virtual void CloseWindow();
63 Int_t RetrieveGRP(UInt_t run, TString &gdc);
66 AliOnlineReco(const AliOnlineReco&); // Not implemented
67 AliOnlineReco& operator=(const AliOnlineReco&); // Not implemented
71 TGTextButton *fStartButt;
72 TGTextButton *fStopButt;
73 TGTextButton *fXyzzButt;
75 // DIM interface. Could do without ...
76 AliDimIntNotifier *fSOR;
77 AliDimIntNotifier *fEOR;
79 // Run-state, process mngmnt
80 typedef std::map<Int_t, Int_t> mIntInt_t; // value should be struct { pid, state, ... };
81 typedef mIntInt_t::iterator mIntInt_i;
83 mIntInt_t fRun2PidMap;
87 mIntInt_i FindMapEntryByPid(Int_t pid);
89 ClassDef(AliOnlineReco, 0);