]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/qaGui/AliTRDqaGuiJPsi.h
Updated QA (Sylwester)
[u/mrichter/AliRoot.git] / TRD / qaGui / AliTRDqaGuiJPsi.h
1 #ifndef ALITRDQAGUIJPSISTEPS_H
2 #define ALITRDQAGUIJPSISTEPS_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 /* $Id$ */
8
9 //////////////////////////////////////////////////////////////////////////////////
10 //
11 // This class is a Graphical User Interface for the Quality Monitorig 
12 //
13 // S. Radomski 
14 // Uni-Heidelberg
15 // April 2008
16 // 
17 //////////////////////////////////////////////////////////////////////////////////
18
19 #include "TGFrame.h"  
20
21 class TH1D;
22 class TString;
23 class TGLabel;
24 class TGComboBox;
25 class TGTextButton;
26 class TRootEmbeddedCanvas;
27
28 class AliTRDqaGuiJPsi : public TGCompositeFrame {
29
30  public:
31
32   AliTRDqaGuiJPsi();
33   AliTRDqaGuiJPsi(TGWindow *parent);
34   AliTRDqaGuiJPsi& operator = (const AliTRDqaGuiJPsi& /*g*/) { return *this; };
35   AliTRDqaGuiJPsi(const AliTRDqaGuiJPsi&);
36   ~AliTRDqaGuiJPsi() {}
37   
38   void SetQAFile(const char *filename);
39   void SetStep(Int_t idx);
40
41   void PreviusStep()         {if (fIdx > 0) SetStep(fIdx-1);}   // *SLOT*
42   void NextStep()            {if (fIdx < 17) SetStep(fIdx+1);}  // *SLOT*
43   void SelectStep(Int_t idx) {SetStep(idx);} // *SLOT*
44   
45  protected:
46
47   Int_t fIdx;                          // super module index
48   const char *fNameList[6];            // names of histograms
49
50   char fFileName[256];                 // file with histograms
51  
52   TRootEmbeddedCanvas *fCanvasList[6];  // canvases
53   TH1D *fHistList[6];                   // and histograms
54   
55   // 
56   TGCompositeFrame *fGPanel;            // panel with buttons
57   TGCompositeFrame *fGCanvas;           // and with histograms
58   
59   // steering panel
60   TGComboBox   *fGSelect;    // step selector button 
61   TGTextButton *fGPrev;      // previus step
62   TGTextButton *fGNext;      // next step
63
64   ClassDef(AliTRDqaGuiJPsi,1) // 
65 };
66
67 #endif