Changeset 3740 for trunk/MagicSoft


Ignore:
Timestamp:
04/14/04 19:58:08 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3737 r3740  
    4343 2004/04/14: Markus Gaug
    4444 
     45   * mcalib/MCalibrationQEPix.cc
     46     - found a bug in the calculation of the error, fixed
     47
    4548   * macros/mccalibrate.C, mmain/MEventDisplay.cc:
    4649     - replaced SetCalibrationMethod by SetCalibrationMode
  • 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  //
  • trunk/MagicSoft/Mars/mcalib/MCalibrationQEPix.cc

    r3728 r3740  
    225225    wav  += newavqe / newavqevar;
    226226    sumw += 1./ newavqevar;
     227
    227228  }
    228229}
     
    245246    wav  += newavqe / newavqevar;
    246247    sumw += 1./ newavqevar;
     248
     249    *fLog << err << GetQEFFactorRelVar(col) << "   " << GetDefaultQERelVar(col) << endl;
    247250  }
     251
     252
    248253}
    249254
     
    675680Float_t MCalibrationQEPix::GetQECascadesBlindPixelErr( const Float_t zenith  )  const
    676681{
    677   const Float_t var = GetQECascadesBlindPixel(zenith);
     682  const Float_t var = GetQECascadesBlindPixelVar(zenith);
    678683 
    679684  if (var < 0.)
     
    702707Float_t MCalibrationQEPix::GetQECascadesCombinedErr( const Float_t zenith  )  const
    703708{
    704   const Float_t var = GetQECascadesCombined(zenith);
     709  const Float_t var = GetQECascadesCombinedVar(zenith);
    705710 
    706711  if (var < 0.)
     
    740745Float_t MCalibrationQEPix::GetQECascadesFFactorErr( const Float_t zenith  )  const
    741746{
    742   const Float_t var = GetQECascadesFFactor(zenith);
     747  const Float_t var = GetQECascadesFFactorVar(zenith);
    743748 
    744749  if (var < 0.)
     
    778783Float_t MCalibrationQEPix::GetQECascadesPINDiodeErr( const Float_t zenith  )  const
    779784{
    780   const Float_t var = GetQECascadesPINDiode(zenith);
     785  const Float_t var = GetQECascadesPINDiodeVar(zenith);
    781786 
    782787  if (var < 0.)
  • trunk/MagicSoft/Mars/mjobs/MJCalibration.cc

    r3738 r3740  
    7373// i=1: Use MArrivalTimeCalc  (using MCubicSpline, arrival time == position at half maximum)
    7474// i=2: Use MArrivalTimeCalc2 (mean time of fWindowSize time slices with the highest integral content: default)
     75//
     76// See also: MHCalibrationRelTimePix, MHCalibrationRelTimeCam, MHGausEvents
     77//           MCalibrationRelTimePix, MCalibrationRelTimeCam
     78//           MBadPixelsPix, MBadPixelsCam
    7579//
    7680/////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.