]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/qaGui/AliTRDqaGuiClustersSM.h
Compilation on Windows/Cygwin: moving the non-implemented/dummy copy constructors...
[u/mrichter/AliRoot.git] / TRD / qaGui / AliTRDqaGuiClustersSM.h
1 #ifndef ALITRDQAGUICLUSTERSSM_H
2 #define ALITRDQAGUICLUSTERSSM_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: AliTRDqaGuiClustersSM.h 23387 2008-01-17 17:25:16Z cblume $ */
8
9 //////////////////////////////////////////////////////////////////////////////////
10 //
11 // This class is a Graphical User Interface for the Quality Monitorig 
12 // of clusters on the full detector level.
13 // It displays histograms created by the AliTRDQADataMakerRec 
14 // run during the reconstruction 
15 //
16 // S. Radomski 
17 // Uni-Heidelberg
18 // Feb. 2008
19 // 
20 //////////////////////////////////////////////////////////////////////////////////
21
22 #include "TGFrame.h"  
23
24 class TH1D;
25 class TString;
26 class TGLabel;
27 class TGComboBox;
28 class TGTextButton;
29 class TRootEmbeddedCanvas;
30
31 class AliTRDqaGuiClustersSM : public TGCompositeFrame {
32
33  public:
34
35   AliTRDqaGuiClustersSM();
36   AliTRDqaGuiClustersSM(TGWindow *parent);
37   ~AliTRDqaGuiClustersSM() {}
38   
39   void SetQAFile(const char *filename);
40   void SetSM(Int_t idx);
41
42   void Play();  // *SLOT*
43   void PreviusSM() {if (fIdx > 0) SetSM(fIdx-1);}   // *SLOT*
44   void NextSM()    {if (fIdx < 17) SetSM(fIdx+1);}  // *SLOT*
45   void SelectSM(Int_t idx) {SetSM(idx);} // *SLOT*
46   
47  protected:
48
49   Int_t fIdx;                          // super module index
50   const char *fNameList[4];            // names of histograms
51   static const Int_t fgkLogList[4];    // flag for logaritmic scale
52    
53   char fFileName[256];                 // file with histograms
54  
55   TRootEmbeddedCanvas *fCanvasList[4];  // canvases
56   TH1D *fHistList[4];                   // and histograms
57   
58   // 
59   TGCompositeFrame *fGPanel;            // panel with buttons
60   TGCompositeFrame *fGCanvas;           // and with histograms
61   
62   // steering panel
63   // TGLabel      *fGLabel;
64   TGComboBox   *fGSelect;    // sm selector button 
65   TGTextButton *fGPrev;      // previus sm
66   TGTextButton *fGNext;      // next sm
67   TGTextButton *fGPlay;      // loop throu sm
68
69  private:
70   AliTRDqaGuiClustersSM& operator = (const AliTRDqaGuiClustersSM& /*g*/) { return *this; };
71   AliTRDqaGuiClustersSM(const AliTRDqaGuiClustersSM&);
72
73   ClassDef(AliTRDqaGuiClustersSM,1) // 
74 };
75
76 #endif