Ignore:
Timestamp:
07/28/04 11:01:15 (20 years ago)
Author:
jlopez
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtemp/mifae/macros/makeHillas.C

    r4310 r4429  
    7171
    7272  MJPedestal pedloop0;
     73  pedloop0.SetOutputPath("./");
    7374  pedloop0.SetInput(&pedcaliter);
    7475  pedloop0.SetExtractor(&extractor);
     
    8687  MJCalibration calloop;
    8788
     89  calloop.SetOutputPath("./");
    8890  calloop.SetExtractor(&extractor);
    8991  calloop.SetInput(&caliter);
     
    101103  // First Compute the pedestals
    102104  MJPedestal pedloop;
     105  pedloop.SetOutputPath("./");
    103106  pedloop.SetInput(&pediter);
    104107
     
    225228  read4.AddTree("Drive");
    226229  static_cast<MRead&>(read4).AddFiles(datiter);
     230  read4.AddToBranchList("MReportCurrents.*");
    227231
    228232  // Task that use Slow control information
     
    252256  MSrcPosFromStars srcposfromstar;
    253257   
    254   // set bad pixels
    255   MBlindPixelCalc   blind;
    256   MBlindPixelCalc   blind2;
    257   const Short_t x[16] = {330,395,329,396,389,
    258                          323,388,322,384,385,
    259                          386,387,321,320,319,
    260                          394};
    261   const TArrayS bp(16,(Short_t*)x);
    262   blind.SetPixelIndices(bp);
    263   blind2.SetPixelIndices(bp);
     258  MBadPixelsTreat   interpolatebadpixels;
     259  interpolatebadpixels.SetUseInterpolation();
    264260 
    265261  MImgCleanStd      clean(lcore,ltail);
     
    315311  tlist4.AddToList(&extractor,"Events");
    316312  tlist4.AddToList(&photcalc,"Events");
    317   //tlist4.AddToList(&blind,"Events");
     313  if(calflag==11)
     314    tlist4.AddToList(&interpolatebadpixels);
    318315  tlist4.AddToList(&clean,"Events");
    319316
     
    332329  //tlist4.AddToList(&blind2,"Events");
    333330  tlist4.AddToList(&hcalc,"Events");
    334   //  tlist4.AddToList(&srcposcalc,"Events");
    335331  tlist4.AddToList(&csrc1,"Events");
    336332  tlist4.AddToList(&write,"Events");
     
    350346
    351347  tlist4.PrintStatistics();   
     348
    352349}
    353350//-------------------------------------------------------------------------------
     
    476473    }
    477474
    478    pedcaliter.Reset();
    479    pediter.Reset();
    480    caliter.Reset();
    481    datiter.Reset();
     475  pedcaliter.Reset();
     476  pediter.Reset();
     477  caliter.Reset();
     478  datiter.Reset();
    482479  TString pfile;
    483480
Note: See TracChangeset for help on using the changeset viewer.