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