1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
16 /* $Id: AliTRDqaGuiMainBlack.cxx 23871 2008-02-12 11:48:20Z hristov $ */
18 //////////////////////////////////////////////////////////////////////////////////
20 // This class is a Graphical User Interface for the Quality Monitorig
21 // of clusters. It lets display and browse throu histograms created by
22 // the AliTRDQADataMakerRec run during the reconstruction
28 //////////////////////////////////////////////////////////////////////////////////
30 #include "AliTRDqaGuiMainBlack.h"
31 #include "AliTRDqaGuiBlackSM.h"
32 #include "AliTRDqaGuiBlackChamber.h"
33 #include "AliTRDqaGuiBlackError.h"
34 #include "AliTRDqaGuiBlackGlobal.h"
35 #include "AliTRDqaGuiBlackGTU.h"
39 ClassImp(AliTRDqaGuiMainBlack)
41 ////////////////////////////////////////////////////////////////////////////////
43 AliTRDqaGuiMainBlack::AliTRDqaGuiMainBlack(TGWindow *parent)
44 : TGMainFrame(parent, 400, 400),
56 fGTabPanel = new TGTab(this);
57 fGSM = new AliTRDqaGuiBlackSM(fGTabPanel);
58 fGChamber = new AliTRDqaGuiBlackChamber(fGTabPanel);
59 fGError = new AliTRDqaGuiBlackError(fGTabPanel);
60 fGGlobal = new AliTRDqaGuiBlackGlobal(fGTabPanel);
61 fGGTU = new AliTRDqaGuiBlackGTU(fGTabPanel);
63 fGChamber->SetRangePed(8, 11);
64 fGChamber->SetRangeNoise(0.5, 2);
66 fGSM->SetRangePed(8, 11);
67 fGSM->SetRangeNoise(0.5, 3);
69 fGTabPanel->AddTab("GTU status", fGGTU);
70 fGTabPanel->AddTab("Global View", fGGlobal);
71 fGTabPanel->AddTab("Super Module", fGSM);
72 fGTabPanel->AddTab("Chamber", fGChamber);
73 fGTabPanel->AddTab("Reader Error", fGError);
78 SetWindowName("TRD QA -- Black Events");
81 Resize(GetDefaultSize());
84 ////////////////////////////////////////////////////////////////////////////////
86 void AliTRDqaGuiMainBlack::SetQAFile(const char *file)
92 fGChamber->SetQAFile(file);
93 fGSM->SetQAFile(file);
94 fGError->SetQAFile(file);
95 fGGlobal->SetQAFile(file);
96 fGGTU->SetQAFile(file);
99 ////////////////////////////////////////////////////////////////////////////////