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