Ignore:
Timestamp:
12/08/03 11:42:07 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/star.cc

    r2563 r2622  
    1717#include "MMcPedestalNSBAdd.h"
    1818#include "MCerPhotCalc.h"
     19#include "MCerPhotAnal2.h"
    1920#include "MBlindPixelCalc.h"
    2021#include "MSigmabarCalc.h"
     
    2324#include "MHillasSrcCalc.h"
    2425#include "MWriteRootFile.h"
     26#include "MFDataMember.h"
     27#include "MFillH.h"
     28#include "MPointingPosCalc.h"
     29#include "MReportDrive.h"    // PRELIMINARY:
     30#include "MPointingPos.h"    // PRELIMINARY:
    2531
    2632using namespace std;
     
    146152    plist.AddToList(&tlist);
    147153
     154    // PRELIMINARY:
     155    /*
     156     MReportDrive rep;
     157     plist.AddToList(&rep);
     158     MPointingPos pos;
     159     plist.AddToList(&pos);
     160     */
     161
    148162    //
    149163    // Now setup the tasks and tasklist:
     
    156170    MMcPedestalCopy   pcopy;
    157171    MMcPedestalNSBAdd pnsb;
     172
     173    //MPointingPosCalc  pcalc;
     174
    158175    MCerPhotCalc      ncalc;
     176    MCerPhotAnal2     nanal;
     177
     178    MFDataMember f1("MRawRunHeader.fRunType", '>', 255.5);
     179    MFDataMember f2("MRawRunHeader.fRunType", '<', 255.5);
     180
     181    ncalc.SetFilter(&f1);
     182    nanal.SetFilter(&f2);
     183
    159184    MBlindPixelCalc   blind;
    160185    MSigmabarCalc     sgcal;
     186    //MFillH            fills("MHSigmaTheta",  "", "FillSigmaTheta");
     187    //MFillH            fillb("MHBlindPixels", "", "FillBlindPixels");
    161188    MImgCleanStd      clean;
    162189    MHillasCalc       hcalc;
     
    165192
    166193    tlist.AddToList(&read);
     194    tlist.AddToList(&f1);
     195    tlist.AddToList(&f2);
    167196    tlist.AddToList(&apply);
    168197    tlist.AddToList(&pcopy);
    169198    tlist.AddToList(&pnsb);
     199    //tlist.AddToList(&pcalc);
    170200    tlist.AddToList(&ncalc);
     201    tlist.AddToList(&nanal);
    171202    tlist.AddToList(&blind);
    172203    tlist.AddToList(&sgcal);
     204    //tlist.AddToList(&fills);
     205    //tlist.AddToList(&fillb);
    173206    tlist.AddToList(&clean);
    174207    tlist.AddToList(&hcalc);
     
    186219    blind.SetUseInterpolation();
    187220
    188     write.AddContainer(write.AddSerialNumber("MMcEvt"),       "Events");
     221    write.AddContainer(write.AddSerialNumber("MMcEvt"),       "Events", kFALSE);
    189222    write.AddContainer(write.AddSerialNumber("MSigmabar"),    "Events");
    190223    write.AddContainer(write.AddSerialNumber("MHillas"),      "Events");
     
    193226    write.AddContainer(write.AddSerialNumber("MNewImagePar"), "Events");
    194227    write.AddContainer(write.AddSerialNumber("MSrcPosCam"),   "RunHeaders");
     228    //write.AddContainer(write.AddSerialNumber("MHSigmaTheta"), "RunHeaders");
    195229    if (!kUpdate)
    196230    {
    197231        write.AddContainer("MRawRunHeader", "RunHeaders");
    198         write.AddContainer("MMcRunHeader",  "RunHeaders");
     232        write.AddContainer("MMcRunHeader",  "RunHeaders", kFALSE);
    199233    }
    200234
     
    214248    }
    215249
    216     // tlist.PrintStatistics();
     250    tlist.PrintStatistics();
     251
     252    //plist.FindObject("MHSigmaTheta")->Write();
     253    //plist.FindObject("MHBlindPixels")->Write();
    217254
    218255    gLog << all << "Star finished successfull!" << endl;
Note: See TracChangeset for help on using the changeset viewer.