Ignore:
Timestamp:
11/18/02 11:35:20 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r1546 r1633  
    7272    // For real data the containers will be filled by a task.
    7373    //
    74     MSrcPosCam source("Source")
    75     source.SetXY(0, 0);
    76 
    77     MSrcPosCam antisrc("AntiSrc");
    78     antisrc.SetXY(240, 0);
    79 
     74    MSrcPosCam source;
     75    source.SetReadyToSave();
    8076    plist.AddToList(&source);
    81     plist.AddToList(&antisrc);
    8277
    8378    //
     
    115110    //
    116111    MHillasCalc    hcalc;
    117     MHillasSrcCalc csrc1("Source",  "HillasSource");
    118     MHillasSrcCalc csrc2("AntiSrc", "HillasAntiSrc");
     112    MHillasSrcCalc csrc1;
    119113
    120114    //
     
    127121    MFillH hfill2("MHHillasExt");
    128122    MFillH hfill3("MHStarMap", "MHillas");
    129     MFillH hfill4("HistExtSource [MHHillasExt]", "HillasSource");
    130     MFillH hfill5("HistExtAntiSrc [MHHillasExt]", "HillasAntiSrc");
    131     MFillH hfill6("HistSource [MHHillasSrc]", "HillasSource");
    132     MFillH hfill7("HistAntiSrc [MHHillasSrc]", "HillasAntiSrc");
     123    MFillH hfill4("HistExtSource [MHHillasExt]", "MHillasSrc");
     124    MFillH hfill5("HistSource [MHHillasSrc]", "MHillasSrc");
    133125
    134126    MWriteRootFile write("hillas.root");
    135     write.AddContainer("HillasSource",  "Hillas");
    136     write.AddContainer("HillasAntiSrc", "Hillas");
    137127    write.AddContainer("MHStarMap");
    138     write.AddContainer("MMcEvt","Hillas");
    139     write.AddContainer("Source","RunHeaders");
    140     write.AddContainer("AntiSrc","RunHeaders");
     128    write.AddContainer("MHHillas");
     129    write.AddContainer("MHHillasExt");
     130    write.AddContainer("HistSource");
     131    write.AddContainer("HistExtSource");
    141132
    142133    tlist.AddToList(&read);
     
    156147    tlist.AddToList(&hfill4);
    157148    tlist.AddToList(&hfill5);
    158     tlist.AddToList(&hfill6);
    159     tlist.AddToList(&hfill7);
    160149    tlist.AddToList(&write);
    161150
     
    183172    plist.FindObject("MHStarMap")->DrawClone();
    184173    plist.FindObject("HistSource")->DrawClone();
    185     plist.FindObject("HistAntiSrc")->DrawClone();
    186174    plist.FindObject("HistExtSource")->DrawClone();
    187     plist.FindObject("HistExtAntiSrc")->DrawClone();
    188175}
    189176
Note: See TracChangeset for help on using the changeset viewer.