1 #ifndef ALITRDQAGUIJPSISTEPS_H
2 #define ALITRDQAGUIJPSISTEPS_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 //////////////////////////////////////////////////////////////////////////////////
11 // This class is a Graphical User Interface for the Quality Monitorig
17 //////////////////////////////////////////////////////////////////////////////////
26 class TRootEmbeddedCanvas;
28 class AliTRDqaGuiJPsi : public TGCompositeFrame {
33 AliTRDqaGuiJPsi(TGWindow *parent);
36 void SetQAFile(const char *filename);
37 void SetStep(Int_t idx);
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*
45 Int_t fIdx; // super module index
46 const char *fNameList[6]; // names of histograms
48 //char fFileName[256]; // file with histograms
49 const Char_t *fFileName; // file with histograms
51 TRootEmbeddedCanvas *fCanvasList[6]; // canvases
52 TH1D *fHistList[6]; // and histograms
55 TGCompositeFrame *fGPanel; // panel with buttons
56 TGCompositeFrame *fGCanvas; // and with histograms
59 TGComboBox *fGSelect; // step selector button
60 TGTextButton *fGPrev; // previus step
61 TGTextButton *fGNext; // next step
64 AliTRDqaGuiJPsi& operator = (const AliTRDqaGuiJPsi& /*g*/) { return *this; };
65 AliTRDqaGuiJPsi(const AliTRDqaGuiJPsi&);
67 ClassDef(AliTRDqaGuiJPsi,2) //