New code for visualization of QA histos. Will be embedded in AliEve (Mikolaj)
[u/mrichter/AliRoot.git] / MONITOR / AliQAHistViewer.h
CommitLineData
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
31class AliQAHistViewer : public TGMainFrame {
32
33private:
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 Bool_t fIsEmbedded; //whether the window is embedded somewhere
41
42public:
43 AliQAHistViewer(const TGWindow *p, UInt_t w=500, UInt_t h=500, Bool_t embed=kFALSE);
44 virtual ~AliQAHistViewer();
45 void DoExit();
46 void DoDrawNext();
47 void DoDrawPrev();
48 void DoSetFile(Int_t s);
49 void DoSetDetector(Int_t s);
50 void DoSetLevel(Int_t s);
51 void DoSetHistogram(Int_t s);
52 void FillComboBoxWithListEntries( TGComboBox* box, const TList* list );
53 void UpdateAllPathComboBoxes();
54
55 ClassDef(AliQAHistViewer, 999)
56};
57
58#endif