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 **************************************************************************/
18 #include "AliTRDqaGuiMainAnalysis.h"
19 #include "AliTRDqaGuiJPsi.h"
20 #include "AliTRDqaGuiEnergyDeposit.h"
23 ClassImp(AliTRDqaGuiMainAnalysis)
25 //////////////////////////////////////////////////////////////////////////////////
27 // This class is a Graphical User Interface for the Quality Monitorig
28 // of clusters and ESDs.
29 // It displays histograms created by the AliTRDQADataMakerRec
30 // run during the reconstruction
36 //////////////////////////////////////////////////////////////////////////////////
38 AliTRDqaGuiMainAnalysis::AliTRDqaGuiMainAnalysis()
44 // Default constructor
49 ////////////////////////////////////////////////////////////////////////////////
51 AliTRDqaGuiMainAnalysis::AliTRDqaGuiMainAnalysis(TGWindow *parent) :
52 TGMainFrame(parent, 400, 400),
61 fGTabPanel = new TGTab(this);
62 fGJPsi = new AliTRDqaGuiJPsi(fGTabPanel);
63 fGED = new AliTRDqaGuiEnergyDeposit(fGTabPanel);
65 fGTabPanel->AddTab("JPsi", fGJPsi);
66 fGTabPanel->AddTab("Energy Deposit", fGED);
70 SetWindowName("TRD Analysis QA");
73 Resize(GetDefaultSize());
76 ////////////////////////////////////////////////////////////////////////////////
78 void AliTRDqaGuiMainAnalysis::SetQAFile() {
80 // sets a file with histograms
83 fGJPsi->SetQAFile("outJPsi.root");
84 fGED->SetQAFile("outEnergyDeposit.root");
87 ////////////////////////////////////////////////////////////////////////////////