- Timestamp:
- 04/27/01 14:34:12 (24 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r756 r776 1 1 -*-*- END -*-*- 2 3 2001/04/27: Thomas Bretz 4 5 * macros/merpp.C: 6 - made the merpp-macro Mars 0.3 compatible 7 8 2 9 3 10 2001/04/19: Thomas Bretz -
trunk/MagicSoft/Mars/macros/merpp.C
r454 r776 19 19 // and an (empty) list of tasks which should be executed 20 20 // 21 MParList *plist = new MParList; 22 MTaskList *tasks = new MTaskList; 21 MTaskList tasks; 22 MParList plist; 23 24 plist.AddToList(&tasks); 23 25 24 26 // … … 32 34 // (Using root 2.25/03, with Cint 5.14.50 on OSF1) 33 35 // 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); 38 41 39 42 // … … 43 46 MEvtLoop magic; 44 47 45 magic.SetParList(plist); 46 magic.SetTaskList(tasks); 48 magic.SetParList(&plist); 47 49 48 50 //
Note:
See TracChangeset
for help on using the changeset viewer.