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
55 TRootEmbeddedCanvas *fCanvasList[4]; // canvases
56 TH1D *fHistList[4]; // and histograms
59 TGCompositeFrame *fGPanel; // panel with buttons
60 TGCompositeFrame *fGCanvas; // and with histograms
64 TGComboBox *fGSelect; // sm selector button
65 TGTextButton *fGPrev; // previus sm
66 TGTextButton *fGNext; // next sm
67 TGTextButton *fGPlay; // loop throu sm
70 AliTRDqaGuiClustersSM& operator = (const AliTRDqaGuiClustersSM& /*g*/) { return *this; };
71 AliTRDqaGuiClustersSM(const AliTRDqaGuiClustersSM&);
73 ClassDef(AliTRDqaGuiClustersSM,1) //