1 #ifndef ALITRDQAGUICLUSTERSSM_H
2 #define ALITRDQAGUICLUSTERSSM_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 /* $Id: AliTRDqaGuiClustersSM.h 23387 2008-01-17 17:25:16Z cblume $ */
9 //////////////////////////////////////////////////////////////////////////////////
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
20 //////////////////////////////////////////////////////////////////////////////////
29 class TRootEmbeddedCanvas;
31 class AliTRDqaGuiClustersSM : public TGCompositeFrame {
35 AliTRDqaGuiClustersSM();
36 AliTRDqaGuiClustersSM(TGWindow *parent);
37 ~AliTRDqaGuiClustersSM() {}
39 void SetQAFile(const char *filename);
40 void SetSM(Int_t idx);
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*
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
53 //char fFileName[256]; // file with histograms
54 const Char_t *fFileName; // file with histograms
56 TRootEmbeddedCanvas *fCanvasList[4]; // canvases
57 TH1D *fHistList[4]; // and histograms
60 TGCompositeFrame *fGPanel; // panel with buttons
61 TGCompositeFrame *fGCanvas; // and with histograms
65 TGComboBox *fGSelect; // sm selector button
66 TGTextButton *fGPrev; // previus sm
67 TGTextButton *fGNext; // next sm
68 TGTextButton *fGPlay; // loop throu sm
71 AliTRDqaGuiClustersSM& operator = (const AliTRDqaGuiClustersSM& /*g*/) { return *this; };
72 AliTRDqaGuiClustersSM(const AliTRDqaGuiClustersSM&);
74 ClassDef(AliTRDqaGuiClustersSM,2) //