Changeset 8677 for trunk/MagicSoft
- Timestamp:
- 08/19/07 13:21:29 (17 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8676 r8677 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2007/08/19 Thomas Bretz 22 23 * mbase/MStatusDisplay.cc: 24 - fixed the fix of the strange crashes. Now fBatch is added to 25 the ListOfCleanups instead of removing the newly created canvas 26 from the global list of canvases 27 28 20 29 21 30 2007/08/18 Thomas Bretz -
trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc
r8673 r8677 702 702 fBatch = new TList; 703 703 fBatch->SetOwner(); 704 fBatch->SetBit(kMustCleanup); 705 gROOT->GetListOfCleanups()->Add(fBatch); 704 706 705 707 // … … 1011 1013 { 1012 1014 /* 1013 if ( HasCanvas(name))1015 if (GetCanvas(name)) 1014 1016 { 1015 1017 *fLog << warn; … … 1025 1027 1026 1028 TCanvas *c = new TCanvas(name, name, -cw, ch); 1027 1028 gROOT->GetListOfCanvases()->Remove(c);1029 1030 1029 fBatch->Add(c); 1031 1030 return *c; -
trunk/MagicSoft/Mars/mimage/MHHillas.cc
r8025 r8677 315 315 pad->cd(1); 316 316 gPad->SetBorderMode(0); 317 gPad->SetGridx(); 318 gPad->SetGridy(); 317 319 RemoveFromPad("WidthSame"); 318 320 RemoveFromPad("LengthSame"); … … 321 323 pad->cd(2); 322 324 gPad->SetBorderMode(0); 325 gPad->SetGridx(); 326 gPad->SetGridy(); 323 327 RemoveFromPad("DistCSame"); 324 328 fDistC->Draw(same?"same":""); 325 329 326 330 pad->cd(3); 331 gPad->SetGridx(); 332 gPad->SetGridy(); 327 333 gPad->SetBorderMode(0); 328 334 gPad->SetLogx(); … … 333 339 pad->cd(4); 334 340 gPad->SetBorderMode(0); 341 gPad->SetGridx(); 342 gPad->SetGridy(); 335 343 gPad->SetPad(0.51, 0.01, 0.99, 0.65); 336 344 if (same) … … 361 369 pad->cd(5); 362 370 gPad->SetBorderMode(0); 371 gPad->SetGridx(); 372 gPad->SetGridy(); 363 373 RemoveFromPad("DeltaSame"); 364 374 fDelta->Draw(same?"same":""); -
trunk/MagicSoft/Mars/mimage/MHHillasExt.cc
r8657 r8677 295 295 pad->cd(1); 296 296 gPad->SetBorderMode(0); 297 gPad->SetGridx(); 298 gPad->SetGridy(); 297 299 RemoveFromPad("M3lSame"); 298 300 RemoveFromPad("M3tSame"); … … 301 303 pad->cd(3); 302 304 gPad->SetBorderMode(0); 305 gPad->SetGridx(); 306 gPad->SetGridy(); 303 307 RemoveFromPad("AsymmetrySame"); 304 308 fHAsym.Draw(same?"same":""); … … 306 310 pad->cd(2); 307 311 gPad->SetBorderMode(0); 312 gPad->SetGridx(); 313 gPad->SetGridy(); 308 314 //RemoveFromPad("SlopeLSame"); 309 315 //fHSlopeL.Draw(same?"same":""); -
trunk/MagicSoft/Mars/mimage/MHHillasSrc.cc
r8601 r8677 255 255 pad->cd(1); 256 256 gPad->SetBorderMode(0); 257 gPad->SetGridx(); 258 gPad->SetGridy(); 257 259 RemoveFromPad("AlphaSame"); 258 260 fAlpha->Draw(same?"same":""); … … 260 262 pad->cd(2); 261 263 gPad->SetBorderMode(0); 264 gPad->SetGridx(); 265 gPad->SetGridy(); 262 266 RemoveFromPad("DistSame"); 263 267 fDist->Draw(same?"same":""); … … 265 269 pad->cd(3); 266 270 gPad->SetBorderMode(0); 271 gPad->SetGridx(); 272 gPad->SetGridy(); 267 273 RemoveFromPad("DCASame"); 268 274 fDCA->Draw(same?"same":""); … … 270 276 pad->cd(4); 271 277 gPad->SetBorderMode(0); 278 gPad->SetGridx(); 279 gPad->SetGridy(); 272 280 273 281 TVirtualPad *p = gPad; … … 276 284 p->cd(1); 277 285 gPad->SetBorderMode(0); 286 gPad->SetGridx(); 287 gPad->SetGridy(); 278 288 RemoveFromPad("CosDASame"); 279 289 fCosDA->Draw(same?"same":""); … … 281 291 p->cd(2); 282 292 gPad->SetBorderMode(0); 293 gPad->SetGridx(); 294 gPad->SetGridy(); 283 295 RemoveFromPad("DCADeltaSame"); 284 296 fDCADelta->Draw(same?"same":""); -
trunk/MagicSoft/Mars/mimage/MHImagePar.cc
r6977 r8677 259 259 pad->cd(1); 260 260 gPad->SetBorderMode(0); 261 gPad->SetGridx(); 262 gPad->SetGridy(); 261 263 RemoveFromPad("SatHiSame"); 262 264 RemoveFromPad("SatLoSame"); … … 268 270 pad->cd(4); 269 271 gPad->SetBorderMode(0); 272 gPad->SetGridx(); 273 gPad->SetGridy(); 270 274 RemoveFromPad("SizeSubSame"); 271 275 RemoveFromPad("SizeMainSame"); … … 277 281 pad->cd(2); 278 282 gPad->SetBorderMode(0); 283 gPad->SetGridx(); 284 gPad->SetGridy(); 279 285 if (!same) 280 286 pad->GetPad(2)->Divide(1,2,1e-10,1e-10); … … 293 299 pad->cd(3); 294 300 gPad->SetBorderMode(0); 301 gPad->SetGridx(); 302 gPad->SetGridy(); 295 303 RemoveFromPad("IslandsSame"); 296 304 fHistIslands.Draw(same?"same":""); -
trunk/MagicSoft/Mars/mimage/MHNewImagePar.cc
r7687 r8677 378 378 gPad->SetBorderMode(0); 379 379 gPad->SetGridx(); 380 gPad->SetGridy(); 380 381 TAxis &x = *fHistLeakage1.GetXaxis(); 381 382 x.SetRangeUser(0.0, x.GetXmax()); … … 390 391 gPad->SetBorderMode(0); 391 392 gPad->SetGridx(); 393 gPad->SetGridy(); 392 394 RemoveFromPad("UsedPixSame"); 393 395 RemoveFromPad("CorePixSame"); … … 397 399 gPad->SetBorderMode(0); 398 400 gPad->SetGridx(); 401 gPad->SetGridy(); 399 402 RemoveFromPad("CoreAreaSame"); 400 403 RemoveFromPad("UsedAreaSame"); … … 410 413 gPad->SetBorderMode(0); 411 414 gPad->SetGridx(); 415 gPad->SetGridy(); 412 416 RemoveFromPad("Conc1Same"); 413 417 RemoveFromPad("Conc2Same"); … … 417 421 gPad->SetBorderMode(0); 418 422 gPad->SetGridx(); 423 gPad->SetGridy(); 419 424 RemoveFromPad("ConcCOGSame"); 420 425 RemoveFromPad("ConcCoreSame");
Note:
See TracChangeset
for help on using the changeset viewer.