1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
4 ///////////////////////////////////////////////////////////////////////////////
6 // (see AliQAHistNavigator.cxx for details)
8 // Origin: Mikolaj Krzewicki, Nikhef, Mikolaj.Krzewicki@cern.ch
10 //////////////////////////////////////////////////////////////////////////////
12 #ifndef ALIQAHISTVIEWER_H
13 #define ALIQAHISTVIEWER_H
15 #include <TApplication.h>
20 #include <TRootEmbeddedCanvas.h>
21 #include <TGStatusBar.h>
28 #include <TGComboBox.h>
29 #include "AliQAHistNavigator.h"
31 class AliQAHistViewer : public TGMainFrame {
34 TRootEmbeddedCanvas *fEcan; //embedded canvas
35 AliQAHistNavigator *fQANavigator; //the navigator engine
36 TGComboBox *fFileListBox; //drop down menu
37 TGComboBox *fDetectorListBox; //drop down menun
38 TGComboBox *fLevelListBox; //drop down menu
39 TGComboBox *fHistListBox; //drop down menu
40 TGCheckButton *fExpertMode;// expertmode
41 Bool_t fIsEmbedded; //whether the window is embedded somewhere
42 AliQAHistViewer(const AliQAHistViewer&); // Not implemented
43 AliQAHistViewer& operator=(const AliQAHistViewer&); // Not implemented
46 AliQAHistViewer(const TGWindow *p, UInt_t w=500, UInt_t h=500, Bool_t embed=kFALSE);
47 virtual ~AliQAHistViewer();
51 void DoSetFile(Int_t s);
52 void DoSetDetector(Int_t s);
53 void DoSetLevel(Int_t s);
54 void DoSetHistogram(Int_t s);
55 void DoSetExpertMode(Bool_t mode=kTRUE);
56 void FillComboBoxWithListEntries( TGComboBox* box, const TList* list );
57 void UpdateAllPathComboBoxes();
59 ClassDef(AliQAHistViewer, 999)