Ignore:
Timestamp:
04/16/04 19:17:36 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r3744 r3768  
    4646  // ------------- user change -----------------
    4747  TString* CalibrationFilename;
    48   CalibrationFilename = new TString("nonoise/Gamma_zbin0_0*.root");
     48  CalibrationFilename = new TString("../../gammas_nonoise/Gamma_zbin0_0*.root");
    4949  // File to be used for the calibration (must be a camera file without added noise)
    5050
     
    5454
    5555
    56   Int_t BinsHigh[2] = {5, 9}; // First and last FADC bin of the range to be integrated,
    57   Int_t BinsLow[2]  = {5, 9}; // for high and low gain respectively.
     56  Int_t BinsHigh[2] = {5, 10}; // First and last FADC bin of the range to be integrated,
     57  Int_t BinsLow[2]  = {5, 10}; // for high and low gain respectively.
    5858
    5959  // -------------------------------------------
     
    9595
    9696  MExtractSignal    sigextract;
     97  sigextract.SetSaturationLimit(240);
     98
    9799  // Define ADC slices to be integrated in high and low gain:
    98100  sigextract.SetRange(BinsHigh[0], BinsHigh[1], BinsLow[0], BinsLow[1]);
     
    101103
    102104  MCalibrate calib; // Transforms signals from ADC counts into photons.
    103   calib.SetCalibrationMode(MCalibrate::kDummy);
     105  calib.SetCalibrationMode(MCalibrate::kFfactor);
    104106
    105107  //    MBlindPixelCalc   blind;
     
    170172    }
    171173
    172   calib.SetCalibrationMode(MCalibrate::kFfactor);
    173 
    174174  //
    175175  // Second loop: analysis loop
Note: See TracChangeset for help on using the changeset viewer.