]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/qaGui/AliTRDqaGuiJPsi.h
QA ref defaut storage setter in sim and rec
[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() {}
35   
36   void SetQAFile(const char *filename);
37   void SetStep(Int_t idx);
38
39   void PreviusStep()         {if (fIdx > 0) SetStep(fIdx-1);}   // *SLOT*
40   void NextStep()            {if (fIdx < 17) SetStep(fIdx+1);}  // *SLOT*
41   void SelectStep(Int_t idx) {SetStep(idx);} // *SLOT*
42   
43  protected:
44
45   Int_t fIdx;                          // super module index
46   const char *fNameList[6];            // names of histograms
47
48   char fFileName[256];                 // file with histograms
49  
50   TRootEmbeddedCanvas *fCanvasList[6];  // canvases
51   TH1D *fHistList[6];                   // and histograms
52   
53   // 
54   TGCompositeFrame *fGPanel;            // panel with buttons
55   TGCompositeFrame *fGCanvas;           // and with histograms
56   
57   // steering panel
58   TGComboBox   *fGSelect;    // step selector button 
59   TGTextButton *fGPrev;      // previus step
60   TGTextButton *fGNext;      // next step
61
62  private:
63   AliTRDqaGuiJPsi& operator = (const AliTRDqaGuiJPsi& /*g*/) { return *this; };
64   AliTRDqaGuiJPsi(const AliTRDqaGuiJPsi&);
65
66   ClassDef(AliTRDqaGuiJPsi,1) // 
67 };
68
69 #endif