Changeset 1094 for trunk


Ignore:
Timestamp:
11/28/01 16:08:24 (23 years ago)
Author:
blanch
Message:
Added severaltask in the task list:
MReadMarsFile to read  RunHeaders Tree and
MPedestalCopy and MPedestalNSB to treat correctly pedestals.
File:
1 edited

Legend:

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

    r1023 r1094  
    6666    //
    6767    MReadTree read("Events", filename);
     68    MReadMarsFile  readhead("Events",filename);
    6869    // read.AddFile("data/cer000019.root");
    6970
     71    MMcPedestalCopy pedestals;
     72    MMcPedestalNSB pedNSB;
    7073    MCerPhotCalc ncalc;
    7174    MImgCleanStd clean;
     
    8285
    8386    tlist.AddToList(&read);
     87    tlist.AddToList(&readhead);
     88    tlist.AddToList(&pedestals);
     89    tlist.AddToList(&pedNSB);
    8490    tlist.AddToList(&ncalc);
    8591    tlist.AddToList(&clean);
     
    100106    if (!evtloop.Eventloop())
    101107        return;
     108    tlist.PrintStatistics();
    102109
    103110    //
     
    107114    plist.FindObject("MHStarMap")->DrawClone();
    108115}
    109 
Note: See TracChangeset for help on using the changeset viewer.