Changeset 1487 for trunk/MagicSoft/Mars/mbase/MEvtLoop.cc
- Timestamp:
- 08/07/02 14:32:26 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MEvtLoop.cc
r1483 r1487 92 92 //! Also we can derive MEvtLoop from MTaskList to have a static tasklist, too 93 93 //! 94 95 TList *gListOfPrimitives; // forard declaration in MParContainer.h 94 96 95 97 // -------------------------------------------------------------------------- … … 346 348 347 349 fout << "}" << endl; 350 351 *fLog << inf << "Macro '" << name << "' written." << endl; 348 352 } 349 353 … … 365 369 out << endl; 366 370 } 371 372 gListOfPrimitives = new TList; 367 373 368 374 if (fParList) … … 376 382 out << " if (!evtloop.Eventloop())" << endl; 377 383 out << " return;" << endl; 384 385 gListOfPrimitives->ForEach(TObject, ResetBit)(BIT(15)); 386 delete gListOfPrimitives; 387 gListOfPrimitives = 0; 388 389 // remove all objects with BIT(15) set from gObjectTable 378 390 } 379 391 … … 477 489 HasDuplicateNames(list, "MEvtLoop::Read"); 478 490 491 *fLog << inf << "Eventloop '" << name << "' read from file." << endl; 492 479 493 return n; 494 } 495 496 // -------------------------------------------------------------------------- 497 // 498 // If available print the contents of the parameter list. 499 // 500 void MEvtLoop::Print(Option_t *opt="") const 501 { 502 if (fParList) 503 fParList->Print(); 504 else 505 *fLog << all << "MEvtloop: No Parameter List available." << endl; 480 506 } 481 507 … … 530 556 HasDuplicateNames(list, "MEvtLoop::Write"); 531 557 558 *fLog << inf << "Eventloop written to file as " << name << "." << endl; 559 532 560 return n; 533 561 }
Note:
See TracChangeset
for help on using the changeset viewer.