Changeset 3144 for trunk/MagicSoft/Mars/mhbase
- Timestamp:
- 02/13/04 18:02:54 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mhbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhbase/MFillH.cc
r2735 r3144 395 395 396 396 if (!fWeight) 397 398 399 400 397 { 398 *fLog << err << fWeightName << " [MWeight] not found... aborting." << endl; 399 return kFALSE; 400 } 401 401 } 402 402 … … 474 474 return DrawToDisplay(); 475 475 476 if (TestBit(kCanSkip)) 477 { 478 *fLog << warn << fParContainerName << " [MParContainer] not found... skipped." << endl; 479 return kSKIP; 480 } 481 476 482 *fLog << err << fParContainerName << " [MParContainer] not found... aborting." << endl; 477 483 return kFALSE; … … 501 507 */ 502 508 503 return fH->Fill(fParContainer, fWeight?fWeight->GetWeight():1); 509 TVirtualPad *save = gPad; 510 if (fCanvas) 511 fCanvas->cd(); 512 513 Bool_t rc = fH->Fill(fParContainer, fWeight?fWeight->GetWeight():1); 514 515 if (save && fCanvas) 516 save->cd(); 517 518 return rc; 504 519 } 505 520 -
trunk/MagicSoft/Mars/mhbase/MFillH.h
r2735 r3144 18 18 public: 19 19 enum { 20 kDoNotDisplay = BIT(17) 20 kDoNotDisplay = BIT(17), 21 kCanSkip = BIT(18) 21 22 }; 22 23
Note:
See TracChangeset
for help on using the changeset viewer.