]>
Commit | Line | Data |
---|---|---|
923f55ee | 1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
2 | * See cxx source for full Copyright notice */ | |
3 | ||
4 | /////////////////////////////////////////////////////////////////////////////// | |
5 | // | |
6 | // (see AliQAHistNavigator.cxx for details) | |
7 | // | |
8 | // Origin: Mikolaj Krzewicki, Nikhef, Mikolaj.Krzewicki@cern.ch | |
9 | // | |
10 | ////////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef ALIQAHISTVIEWER_H | |
13 | #define ALIQAHISTVIEWER_H | |
14 | ||
15 | #include <TApplication.h> | |
16 | #include <TGClient.h> | |
17 | #include <TGButton.h> | |
18 | #include <TGFrame.h> | |
19 | #include <TFrame.h> | |
20 | #include <TRootEmbeddedCanvas.h> | |
21 | #include <TGStatusBar.h> | |
22 | #include <TCanvas.h> | |
23 | #include <TF1.h> | |
24 | #include <TRandom.h> | |
25 | #include <TGraph.h> | |
26 | #include <TAxis.h> | |
27 | #include <TString.h> | |
28 | #include <TGComboBox.h> | |
29 | #include "AliQAHistNavigator.h" | |
30 | ||
31 | class AliQAHistViewer : public TGMainFrame { | |
32 | ||
33 | private: | |
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 | |
d3a269ff | 40 | TGCheckButton *fExpertMode;// expertmode |
923f55ee | 41 | Bool_t fIsEmbedded; //whether the window is embedded somewhere |
d3a269ff | 42 | AliQAHistViewer(const AliQAHistViewer&); // Not implemented |
43 | AliQAHistViewer& operator=(const AliQAHistViewer&); // Not implemented | |
923f55ee | 44 | |
45 | public: | |
46 | AliQAHistViewer(const TGWindow *p, UInt_t w=500, UInt_t h=500, Bool_t embed=kFALSE); | |
47 | virtual ~AliQAHistViewer(); | |
48 | void DoExit(); | |
49 | void DoDrawNext(); | |
50 | void DoDrawPrev(); | |
51 | void DoSetFile(Int_t s); | |
52 | void DoSetDetector(Int_t s); | |
53 | void DoSetLevel(Int_t s); | |
54 | void DoSetHistogram(Int_t s); | |
d3a269ff | 55 | void DoSetExpertMode(Bool_t mode=kTRUE); |
923f55ee | 56 | void FillComboBoxWithListEntries( TGComboBox* box, const TList* list ); |
57 | void UpdateAllPathComboBoxes(); | |
58 | ||
59 | ClassDef(AliQAHistViewer, 999) | |
60 | }; | |
61 | ||
62 | #endif |