]>
Commit | Line | Data |
---|---|---|
36f55715 | 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); | |
36f55715 | 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 | ||
821ef0a9 | 53 | //char fFileName[256]; // file with histograms |
54 | const Char_t *fFileName; // file with histograms | |
36f55715 | 55 | |
56 | TRootEmbeddedCanvas *fCanvasList[4]; // canvases | |
57 | TH1D *fHistList[4]; // and histograms | |
58 | ||
59 | // | |
60 | TGCompositeFrame *fGPanel; // panel with buttons | |
61 | TGCompositeFrame *fGCanvas; // and with histograms | |
62 | ||
63 | // steering panel | |
64 | // TGLabel *fGLabel; | |
65 | TGComboBox *fGSelect; // sm selector button | |
66 | TGTextButton *fGPrev; // previus sm | |
67 | TGTextButton *fGNext; // next sm | |
68 | TGTextButton *fGPlay; // loop throu sm | |
69 | ||
8c8c004f | 70 | private: |
71 | AliTRDqaGuiClustersSM& operator = (const AliTRDqaGuiClustersSM& /*g*/) { return *this; }; | |
72 | AliTRDqaGuiClustersSM(const AliTRDqaGuiClustersSM&); | |
73 | ||
821ef0a9 | 74 | ClassDef(AliTRDqaGuiClustersSM,2) // |
36f55715 | 75 | }; |
76 | ||
77 | #endif |