Ignore:
Timestamp:
04/14/04 19:58:08 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r3725 r3740  
    2828  const MCalibrationCam::PulserColor_t color = MCalibrationCam::kGREEN;
    2929
    30   //  const TString inpath = "/mnt/Data/rootdata/CrabNebula/2004_01_27/";
    31   const TString inpath = "/mnt/Data/rootdata/Miscellaneous/2004_03_03/";
    32   //  const TString inpath = "/home/rootdata/BlindPixel/";
     30  const TString inpath = "/home/rootdata/Calib/2004_04_08/";
    3331
    3432  MRunIter pruns;
    3533  MRunIter cruns;
    3634
    37   pruns.AddRun(20132,inpath);
    38   cruns.AddRun(20134,inpath);
    39   //  cruns.AddRun(16774,inpath);
     35  pruns.AddRun(22254,inpath);
     36  cruns.AddRun(22253,inpath);
    4037
    4138  gStyle->SetOptStat(1111);
     
    8279  static_cast<MRead&>(read).AddFiles(pruns);
    8380
    84   //
    85   // Now the short version:
    86   //
    8781  MJCalibration calloop;
    8882  calloop.SetColor(color);
     83
     84  //
     85  // If you want only the most necessary plots, choose:
     86  // calloop.SetDataCheck();
     87  //
     88  // For everything, you ever dreamed of, choose:
     89  // calloop.SetFullDisplay();
     90
     91  //
     92  // If you want to calibrate the times as well, choose:
     93  //  calloop.SetRelTimeCalibration();
    8994  calloop.SetInput(&cruns);
    9095  calloop.SetDisplay(display);
     
    9398  if (!calloop.Process(pedloop.GetPedestalCam()))
    9499    return;
     100
     101
    95102
    96103#if 0
     
    157164  MArrivalTimeCalc2      timecalc;
    158165  MCalibrationChargeCalc calcalc;
     166  calcalc.SetPulserColor(color);
    159167  MGeomApply             geomapl;
    160168 
     
    163171  MFillH fillblind("MHCalibrationChargeBlindPix", "MExtractedSignalBlindPixel");
    164172  MFillH fillcam  ("MHCalibrationChargeCam"     , "MExtractedSignalCam");
    165  
    166   //
    167   // As long, as we don't have digital modules,
    168   // we have to set the color of the pulser LED by hand
    169   //
    170   calcalc.SetPulserColor(MCalibrationCam::kCT1);
    171173 
    172174  //
Note: See TracChangeset for help on using the changeset viewer.