Ignore:
Timestamp:
01/16/05 17:34:30 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r5811 r5859  
    8383using namespace std;
    8484
    85 static TString outpath = "./";
    86 static TString inpath  = "/home/rootdata/Calib/2004_09_22";
     85static TString outpath = ".";
     86//static TString inpath  = "/home/rootdata/Calib/2004_07_06";
     87//static TString inpath  = "/home/rootdata/Calib/2004_09_22";
     88static TString inpath  = "/home/rootdata/Calib/2004_12_18";
    8789static TString badfile;
    8890//static TString badfile = "badpixels_only0_388_559.dat";
     
    134136static Bool_t useIntensity  = kFALSE;
    135137//
     138// Tell if you to calibrated interlaced calibration events
     139//
     140static Bool_t useInterlaced = kTRUE;
     141//
    136142// Tell if you want to store and read the F0 and F1- files
    137143//
    138 static Bool_t useStorage   = kTRUE;
     144static Bool_t useStorage    = kTRUE;
    139145//
    140146// Tell which extractor you want to use. The flags are counted according
     
    209215
    210216  MJPedestal pedloop1;
    211   pedloop1.SetNoStorage(!useStorage);
     217  pedloop1.SetNoStorage();
    212218  pedloop1.SetEnvDebug(debug);
    213219  pedloop1.SetExtractor(extractor);
     
    239245     
    240246      pedloop2.SetUseData();
    241       pedloop2.SetNoStorage(!useStorage);
     247      pedloop2.SetNoStorage();
    242248      pedloop2.SetEnvDebug(debug);
    243249      pedloop2.SetExtractor(extractor);
     
    365371  calibloop.SetExtractor(extractor);
    366372  calibloop.SetInput(&druns);
    367   //  calibloop.SetOutputPath(outpath);
     373  calibloop.SetPathOut(outpath);
    368374  if (useDisplay)
    369375    calibloop.SetDisplay(display);
    370376  calibloop.SetBadPixels(calloop.GetBadPixels());
    371377  calibloop.SetNoStorage(!useStorage);
     378  calibloop.SetInterlaced(useInterlaced);
    372379 
    373380  if (!calibloop.ProcessFile(pedloop1.GetPedestalCam(),timeandcharge ? pedloop2.GetPedestalCam() : pedloop1.GetPedestalCam(), calloop.GetCalibrationCam(),calloop.GetQECam(), calloop.GetRelTimeCam()))
Note: See TracChangeset for help on using the changeset viewer.