Ignore:
Timestamp:
12/10/03 11:56:33 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/readcurrents.C

    r2222 r2632  
    5050
    5151    MGeomCamMagic geomcam;
    52     MCurrents     cur;
     52    MCameraDC     cur;
    5353    MTaskList     tlist;
    5454
     
    5757    plist.AddToList(&tlist);
    5858
    59     MReadCurrents read(fname);
    60     /*
    61      read.AddFile("../currents/dcs_arcturus2.dat");
    62      read.AddFile("../currents/dcs_arcturus3.dat");
    63      read.AddFile("../currents/dcs_arcturus4.dat");
    64      read.AddFile("../currents/dcs_arcturus5.dat");
    65      read.AddFile("../currents/dcs_arcturus6.dat");
    66      read.AddFile("../currents/dcs_arcturus7.dat");
    67      read.AddFile("../currents/dcs_arcturus8.dat");
    68      read.AddFile("../currents/dcs_arcturus9.dat");
    69      read.AddFile("../currents/dcs_arcturus10.dat");
    70      */
     59    MReportFileRead read(fname);
     60    read.SetHasNoHeader();
     61    read.AddToList("MReportCurrents");
     62
    7163    tlist.AddToList(&read);
    7264
     
    9183        // Remove the comments if you want to go through the file
    9284        // event-by-event:
    93         //        if (!HandleInput())
    94         //            break;
     85        if (!HandleInput())
     86            break;
    9587    }
    9688
Note: See TracChangeset for help on using the changeset viewer.