Ignore:
Timestamp:
08/07/02 14:32:26 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MEvtLoop.cc

    r1483 r1487  
    9292//! Also we can derive MEvtLoop from MTaskList to have a static tasklist, too
    9393//!
     94
     95TList *gListOfPrimitives; // forard declaration in MParContainer.h
    9496
    9597// --------------------------------------------------------------------------
     
    346348
    347349    fout << "}" << endl;
     350
     351    *fLog << inf << "Macro '" << name << "' written." << endl;
    348352}
    349353
     
    365369        out << endl;
    366370    }
     371
     372    gListOfPrimitives = new TList;
    367373
    368374    if (fParList)
     
    376382    out << "   if (!evtloop.Eventloop())" << endl;
    377383    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
    378390}
    379391
     
    477489    HasDuplicateNames(list, "MEvtLoop::Read");
    478490
     491    *fLog << inf << "Eventloop '" << name << "' read from file." << endl;
     492
    479493    return n;
     494}
     495
     496// --------------------------------------------------------------------------
     497//
     498// If available print the contents of the parameter list.
     499//
     500void MEvtLoop::Print(Option_t *opt="") const
     501{
     502    if (fParList)
     503        fParList->Print();
     504    else
     505        *fLog << all << "MEvtloop: No Parameter List available." << endl;
    480506}
    481507
     
    530556    HasDuplicateNames(list, "MEvtLoop::Write");
    531557
     558    *fLog << inf << "Eventloop written to file as " << name << "." << endl;
     559
    532560    return n;
    533561}
Note: See TracChangeset for help on using the changeset viewer.