156 |
delete datadir; |
delete datadir; |
157 |
}; |
}; |
158 |
// |
// |
159 |
|
// Add working directory to file names if no full path is provided |
160 |
|
// |
161 |
|
if ( !strcmp(gSystem->BaseName(filename),filename.Data()) ){ |
162 |
|
filename = startingdir+"/"+filename; |
163 |
|
}; |
164 |
|
if ( !strcmp(gSystem->BaseName(selfile),selfile.Data()) && strcmp(selfile.Data(),"") ){ |
165 |
|
selfile = startingdir+"/"+selfile; |
166 |
|
}; |
167 |
|
// |
168 |
// book the canvas |
// book the canvas |
169 |
// |
// |
170 |
TCanvas *figure = new TCanvas("PAMELA event viewer", "PAMELA event viewer",(int)winx,(int)winy); |
TCanvas *figure = new TCanvas("PAMELA event viewer", "PAMELA event viewer",(int)winx,(int)winy); |