AliRoot Core  3dc7879 (3dc7879)
AliTPCCalibViewerGUIAlarms.h
Go to the documentation of this file.
1 
2 
3 #ifndef AliTPCCalibViewerGUIAlarms_H
4 #define AliTPCCalibViewerGUIAlarms_H
5 
6 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
7  * See cxx source for full Copyright notice */
8 
9 /* $Id: AliTPCCalibViewerGUIAlarms.h,v */
10 
12 // //
13 // GUI for displaying Alarms of type AliTPCCalibQAChecker //
14 // //
16 
17 #include <TGFrame.h>
18 
19 class TGListTree;
20 class TGListTreeItem;
21 class TCanvas;
22 class TGCanvas;
23 class TGLabel;
24 
28 
29 class AliTPCCalibViewerGUIAlarms : public TGCompositeFrame {
30 public:
31  AliTPCCalibViewerGUIAlarms(const TGWindow *p, UInt_t w, UInt_t h);
32 
34 
38 
39  void InitBrowser();
40  void UpdateBrowser();
41  void ResetBrowser();
42  void OpenAllItems();
43 
45 
46  void OnDoubleClick(TGListTreeItem* item, Int_t id);
47  void OnClick(TGListTreeItem* item, Int_t id);
48 
49 protected:
50  AliTPCCalibQAChecker *fCalibChecker; //Calibration checker
51  TGListTree *fAlarmTree; //tree representation of alarms
52  TCanvas *fMainCanvas; //canvas for alarm histogram displaying
53  TGCanvas *fTreeCanvas; //tree canvas
54  TGLabel *fAlarmText; //alarm information
55  //
58  //
59  void DrawGUI(const TGWindow */*p*/, UInt_t w, UInt_t h);
60  void AddSubItems(AliTPCCalibQAChecker *fChecker, TGListTreeItem *item);
61  void UpdateSubItem(TGListTreeItem *item);
62  void OpenSubItems(TGListTreeItem *item);
63 
64 private:
66  AliTPCCalibViewerGUIAlarms &operator = (const AliTPCCalibViewerGUIAlarms &v); // assignment operator
67 
68 
69  ClassDef(AliTPCCalibViewerGUIAlarms,0);
70 };
71 
72 #endif
73 
74 
void SetCalibChecker(AliTPCCalibQAChecker *checker)
AliTPCCalibViewerGUI * fCalibViewerGUI
void OpenSubItems(TGListTreeItem *item)
GUI for the AliTPCCalibViewer used for the calibration monitor All functionalities of the AliTPCCalib...
static AliTPCCalibViewerGUIAlarms * Show()
Float_t p[]
Definition: kNNTest.C:133
AliTPCCalibQAChecker * fCalibChecker
void UpdateSubItem(TGListTreeItem *item)
void SetCalibViewerGUI(AliTPCCalibViewerGUI *gui)
void SetCalibViewerGUItime(AliTPCCalibViewerGUItime *gui)
AliTPCCalibViewerGUIAlarms(const TGWindow *p, UInt_t w, UInt_t h)
void OnClick(TGListTreeItem *item, Int_t id)
void OnDoubleClick(TGListTreeItem *item, Int_t id)
AliTPCCalibViewerGUI * gui
Definition: startGUI.C:6
AliTPCCalibViewerGUIAlarms & operator=(const AliTPCCalibViewerGUIAlarms &v)
AliTPCCalibViewerGUItime * fCalibViewerGUItime
pointer to gui
void AddSubItems(AliTPCCalibQAChecker *fChecker, TGListTreeItem *item)
void DrawGUI(const TGWindow *, UInt_t w, UInt_t h)
pointer to gui time
GUI for displaying calibration entires over time Calibration Trees are created using the macro TPC/Ca...