Changeset 17125 for trunk/Mars/mhbase
- Timestamp:
- 09/07/13 10:25:43 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mhbase/MFillH.cc
r9315 r17125 581 581 Int_t MFillH::PostProcess() 582 582 { 583 // Return if fH was never initialized. 584 if (!fH) 585 return kTRUE; 586 583 587 // 584 588 // Now all data is in the histogram. Maybe some final action is … … 602 606 { 603 607 const TString opt(MString::Format("nonew %s", fDrawOption.Data())); 604 fCanvas->cd(); 608 // fCanvas->cd(); 609 // fCanvas->Clear(); 610 605 611 // Remove the old class to prevent clashes calling 606 612 // Paint-functions when the display is updated 607 613 fCanvas->GetListOfPrimitives()->Remove(fH); 608 // DrawClone also takes care of calling gPad->Clear() 609 fH->DrawClone(opt); 614 fCanvas->GetListOfPrimitives()->Add(fH->Clone(), opt); 610 615 fCanvas->Modified(); 611 616 fCanvas->Update();
Note:
See TracChangeset
for help on using the changeset viewer.