Ignore:
Timestamp:
11/04/03 17:08:27 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r2423 r2470  
    4747    plist.AddToList(&tlist);
    4848
    49     MSrcPosCam src;
    50     src.SetReadyToSave();
    51     plist.AddToList(&src);
    52 
    5349    //
    5450    // Now setup the tasks and tasklist:
     
    7672    // ------------- user change -----------------
    7773    MWriteRootFile write("starfile.root");
    78     write.AddContainer("MMcEvt",        "Events");
    79     write.AddContainer("MSigmabar",     "Events");
    80     write.AddContainer("MHillas",       "Events");
    81     write.AddContainer("MHillasExt",    "Events");
    82     write.AddContainer("MHillasSrc",    "Events");
    83     write.AddContainer("MNewImagePar",  "Events");
    84     write.AddContainer("MRawRunHeader", "RunHeaders");
    85     write.AddContainer("MMcRunHeader",  "RunHeaders");
    86     write.AddContainer("MSrcPosCam",    "RunHeaders");
    8774
    8875    tlist.AddToList(&read);
     
    9784    tlist.AddToList(&scalc);
    9885    tlist.AddToList(&write);
     86
     87    // ------------- user change -----------------
     88    // You may use the "UPDATE" option in the constructor
     89    // of MWriteRootFile to update an existing file.
     90    //
     91    // tlist.SetSerialNumber(1); // Serial number of telescope
     92
     93    write.AddContainer(write.AddSerialNumber("MMcEvt"),       "Events");
     94    write.AddContainer(write.AddSerialNumber("MSigmabar"),    "Events");
     95    write.AddContainer(write.AddSerialNumber("MHillas"),      "Events");
     96    write.AddContainer(write.AddSerialNumber("MHillasExt"),   "Events");
     97    write.AddContainer(write.AddSerialNumber("MHillasSrc"),   "Events");
     98    write.AddContainer(write.AddSerialNumber("MNewImagePar"), "Events");
     99    write.AddContainer(write.AddSerialNumber("MSrcPosCam"),   "RunHeaders");
     100    write.AddContainer("MRawRunHeader", "RunHeaders");
     101    write.AddContainer("MMcRunHeader",  "RunHeaders");
    99102
    100103    //
Note: See TracChangeset for help on using the changeset viewer.