Changeset 1011 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
10/29/01 14:42:25 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 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}
  • trunk/MagicSoft/Mars/manalysis/MCT1ReadAscii.cc

    r1003 r1011  
    185185void MCT1ReadAscii::ReadPedestals()
    186186{
    187     *fLog << "MCT1Pedestals::AsciiRead: Reading Pedestals..." << endl;
    188 
    189187    //
    190188    // skip the next 4 values
Note: See TracChangeset for help on using the changeset viewer.