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"
36 ClassImp(AliTRDqaGuiMainBlack)
38 ////////////////////////////////////////////////////////////////////////////////
40 AliTRDqaGuiMainBlack::AliTRDqaGuiMainBlack(TGWindow *parent) :
41 TGMainFrame(parent, 400, 400)
47 fGTabPanel = new TGTab(this);
48 fGSM = new AliTRDqaGuiBlackSM(fGTabPanel);
49 fGChamber = new AliTRDqaGuiBlackChamber(fGTabPanel);
51 fGChamber->SetRangePed(8, 11);
52 fGChamber->SetRangeNoise(0.5, 2);
54 fGSM->SetRangePed(8, 11);
55 fGSM->SetRangeNoise(0.5, 3);
57 fGTabPanel->AddTab("Super Module", fGSM);
58 fGTabPanel->AddTab("Chamber", fGChamber);
62 SetWindowName("TRD QA -- Black Events");
65 Resize(GetDefaultSize());
68 ////////////////////////////////////////////////////////////////////////////////
70 void AliTRDqaGuiMainBlack::SetQAFile(const char *file)
76 fGChamber->SetQAFile(file);
77 fGSM->SetQAFile(file);
80 ////////////////////////////////////////////////////////////////////////////////