.so cleanup: removed from gSystem->Load()
[u/mrichter/AliRoot.git] / TRD / TRDgui / testQAGuiBlackCh.C
CommitLineData
36f55715 1
2void testQAGuiBlackCh(const char *filename) {
3
4 gROOT->SetStyle("Plain");
5 gStyle->SetPalette(1);
6 gStyle->SetOptStat(0);
7
8
9
4070f709 10 gSystem->Load("libGui");
11 gSystem->Load("libTRDGui");
36f55715 12
13 TGMainFrame *fMain = new TGMainFrame(gClient->GetRoot(), 400, 400);
14 //TGuiDetector *det = new TGuiDetector((TGWindow*)fMain);
15 //fMain->AddFrame(det);
16
17 //AliTRDqaGuiBlackSM *sm = new AliTRDqaGuiBlackSM((TGWindow*)fMain);
18 AliTRDqaGuiBlackChamber *chamber = new AliTRDqaGuiBlackChamber((TGWindow*)fMain);
19 //fMain->AddFrame(sm);
20 fMain->AddFrame(chamber);
21
22 chamber->SetQAFile(filename);
23 //sm->SetQAFile(filename);
24
25 /**/
26 chamber->SetRangePed(8, 11);
27 chamber->SetRangeNoise(0.5, 2);
28 chamber->SetQAFile(filename);
29 /**/
30
31 fMain->SetWindowName("TRD QA");
32 fMain->MapSubwindows();
33 fMain->MapWindow();
34 fMain->Resize(fMain->GetDefaultSize());
35}