Changeset 7755 for trunk/MagicSoft/Mars
- Timestamp:
- 06/27/06 09:15:53 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7753 r7755 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2006/06/27 Thomas Bretz 22 23 * mhflux/MHAlpha.cc: 24 - added a small change to prevent DrawAll from opening a new 25 canvas if called with the option "No new canvas" and no 26 fDisplay 27 28 20 29 21 30 2006/06/26 Thomas Bretz -
trunk/MagicSoft/Mars/mhflux/MHAlpha.cc
r7742 r7755 769 769 void MHAlpha::DrawAll(Bool_t newc) 770 770 { 771 if (newc && !fDisplay) 772 return; 773 771 774 // FIXME: Do in Paint if special option given! 772 TCanvas &c = newc || !fDisplay? *new TCanvas : fDisplay->AddTab("SizeBins");775 TCanvas &c = newc ? *new TCanvas : fDisplay->AddTab("SizeBins"); 773 776 Int_t n = fHist.GetNbinsY(); 774 777 Int_t nc = (Int_t)(TMath::Sqrt((Float_t)n-1)+1);
Note:
See TracChangeset
for help on using the changeset viewer.