1 #ifndef ALITRDQAGUIENERGYDEPOSIT_H
2 #define ALITRDQAGUIENERGYDEPOSIT_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 //////////////////////////////////////////////////////////////////////////////////
9 // This class is a Graphical User Interface for the Quality Monitorig
15 //////////////////////////////////////////////////////////////////////////////////
24 class TRootEmbeddedCanvas;
26 class AliTRDqaGuiEnergyDeposit : public TGCompositeFrame {
30 AliTRDqaGuiEnergyDeposit();
31 AliTRDqaGuiEnergyDeposit(TGWindow *parent);
32 AliTRDqaGuiEnergyDeposit& operator = (const AliTRDqaGuiEnergyDeposit& /*g*/) { return *this; };
33 AliTRDqaGuiEnergyDeposit(const AliTRDqaGuiEnergyDeposit&);
34 ~AliTRDqaGuiEnergyDeposit() {}
36 void SetQAFile(const char *filename);
37 void SetType(Int_t idx);
39 void PreviusType() {if (fIdx > 0) SetType(fIdx-1);} // *SLOT*
40 void NextType() {if (fIdx < 17) SetType(fIdx+1);} // *SLOT*
41 void SelectType(Int_t idx) {SetType(idx);} // *SLOT*
45 Int_t fIdx; // super module index
46 const char *fNameList[6]; // names of histograms
48 char fFileName[256]; // file with histograms
50 TRootEmbeddedCanvas *fCanvasList[6]; // canvases
51 TH1D *fHistList[6]; // and histograms
54 TGCompositeFrame *fGPanel; // panel with buttons
55 TGCompositeFrame *fGCanvas; // and with histograms
58 TGComboBox *fGSelect; // step selector button
59 TGTextButton *fGPrev; // previus step
60 TGTextButton *fGNext; // next step
62 ClassDef(AliTRDqaGuiEnergyDeposit,1) //