]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MONITOR/AliQAHistViewer.h
fixes for coding violations
[u/mrichter/AliRoot.git] / MONITOR / AliQAHistViewer.h
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice                               */
3 ///////////////////////////////////////////////////////////////////////////////
4 //
5 //     QA histogram viewer
6 //     (see AliQAHistNavigator.cxx for details)
7 //     Origin: Mikolaj Krzewicki, Nikhef, Mikolaj.Krzewicki@cern.ch
8 //
9 //////////////////////////////////////////////////////////////////////////////
10
11 #ifndef ALIQAHISTVIEWER_H
12 #define ALIQAHISTVIEWER_H
13
14 class TRootEmbeddedCanvas;
15 class AliQAHistNavigator;
16 class TGComboBox;
17 class TGCheckButton;
18 class TGWindow;
19
20 class AliQAHistViewer : public TGMainFrame {
21
22 private:
23     TRootEmbeddedCanvas  *fEcan; //embedded canvas
24     AliQAHistNavigator   *fQANavigator; //the navigator engine
25     TGComboBox           *fFileListBox; //drop down menu
26     TGComboBox           *fDetectorListBox; //drop down menun
27     TGComboBox           *fLevelListBox; //drop down menu
28     TGComboBox           *fHistListBox; //drop down menu
29     TGCheckButton        *fExpertMode;// expertmode
30     Bool_t               fIsEmbedded; //whether the window is embedded somewhere
31     AliQAHistViewer(const AliQAHistViewer&);            // Not implemented
32     AliQAHistViewer& operator=(const AliQAHistViewer&); // Not implemented
33    
34 public:
35     AliQAHistViewer(const TGWindow *p, UInt_t w=500, UInt_t h=500, Bool_t embed=kFALSE);
36     virtual ~AliQAHistViewer();
37     void DoExit();
38     void DoDrawNext();
39     void DoDrawPrev();
40     void DoSetFile(Int_t s);
41     void DoSetDetector(Int_t s);
42     void DoSetLevel(Int_t s);
43     void DoSetHistogram(Int_t s);
44     void DoSetExpertMode(Bool_t mode=kTRUE);
45     void FillComboBoxWithListEntries( TGComboBox* box, const TList* list );
46     void UpdateAllPathComboBoxes();
47    
48     ClassDef(AliQAHistViewer, 999)
49 };
50
51 #endif