Update master to aliroot
[u/mrichter/AliRoot.git] / TPC / scripts / startGUI.C
... / ...
CommitLineData
1/// \file startGUI.C
2
3TObjArray *arrGUI=0x0;
4TTree *calPads=0x0;
5TTree *calPads2=0x0;
6AliTPCCalibViewerGUI *gui=0x0;
7AliTPCCalibViewerGUI *gui2=0x0;
8AliTPCCalibViewer *viewer=0x0;
9AliTPCCalibViewer *viewer2=0x0;
10
11startGUI(char *file=0x0){
12 if ( file ) {
13 arrGUI=AliTPCCalibViewerGUI::ShowGUI(file);
14 gui=((AliTPCCalibViewerGUI*)arrGUI->At(0));
15 gui2=((AliTPCCalibViewerGUI*)arrGUI->At(1));
16 viewer=gui->GetViewer();
17 viewer2=gui2->GetViewer();
18 calPads=viewer->GetTree();
19 calPads2=viewer2->GetTree();
20 }
21}