Ignore:
Timestamp:
10/29/01 14:42:25 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r967 r1011  
    4747
    4848    //
    49     // The Hillas histograms (MHHillas) could be created automatically
    50     // but to make sure, that they are not deleted when the macro is
    51     // finished you must create them yourself and add it to the list
    52     //
    53     MHHillas  *hists = new MHHillas;
    54     plist.AddToList(hists);
    55 
    56     MHStarMap *smap = new MHStarMap;
    57     plist.AddToList(smap);
    58 
    59     //
    6049    // Now setup the tasks and tasklist:
    6150    //
     
    6554    //  4) fill the hillas into the histograms      MFillHHillas
    6655    //
    67     MCT1ReadAscii read("data/MCCT1_97_ga45.dat");
    68     // read.AddFile("data/MCCT1_97_ga20.dat");
     56    MCT1ReadAscii read("data/CT1_97_on1.dat");
     57    read.AddFile("data/CT1_97_off1.dat");
    6958
    7059    MImgCleanStd  clean;
    7160    MHillasCalc   hcalc;
    72     MFillHHillas  hfill;
    73     MFillHStarMap sfill;
     61    MFillH        hfill("MHillas", "MHHillas");
     62    MFillH        sfill("MHillas", "MHStarMap");
    7463
    7564    tlist.AddToList(&read);
     
    8372    //
    8473    MEvtLoop evtloop;
    85     evtloop.SetParList(&plist)
     74    evtloop.SetParList(&plist);
    8675
    8776    //
     
    9483    // After the analysis is finished we can display the histograms
    9584    //
    96     hists->Draw();
    97     smap->Draw();
     85    plist.FindObject("MHHillas")->DrawClone();
     86    plist.FindObject("MHStarMap")->DrawClone();
    9887}
Note: See TracChangeset for help on using the changeset viewer.