Changeset 776


Ignore:
Timestamp:
04/27/01 14:34:12 (24 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r756 r776  
    11                                                                  -*-*- END -*-*-
     2
     3 2001/04/27: Thomas Bretz
     4
     5   * macros/merpp.C:
     6     - made the merpp-macro Mars 0.3 compatible
     7
     8
    29
    310 2001/04/19: Thomas Bretz
  • trunk/MagicSoft/Mars/macros/merpp.C

    r454 r776  
    1919    // and an (empty) list of tasks which should be executed
    2020    //
    21     MParList *plist  = new MParList;
    22     MTaskList *tasks = new MTaskList;
     21    MTaskList tasks;
     22    MParList plist;
     23
     24    plist.AddToList(&tasks);
    2325
    2426    //
     
    3234    //         (Using root 2.25/03, with Cint 5.14.50 on OSF1)
    3335    //
    34     MRawFileWrite *writer = new MRawFileWrite("rawtest.root", "RECREATE");
    35     MRawFileRead  *reader = new MRawFileRead("rawtest.bin");
    36     tasks->AddToList(reader);
    37     tasks->AddToList(writer);
     36
     37    MRawFileRead  reader("/home/tbretz/data/20010219-00020-d-octobertest-e");
     38    MRawFileWrite writer("otest.root", "RECREATE");
     39    tasks.AddToList(&reader);
     40    tasks.AddToList(&writer);
    3841
    3942    //
     
    4346    MEvtLoop magic;
    4447
    45     magic.SetParList(plist);
    46     magic.SetTaskList(tasks);
     48    magic.SetParList(&plist);
    4749
    4850    //
Note: See TracChangeset for help on using the changeset viewer.