Ignore:
Timestamp:
04/16/04 19:17:36 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/macros
Files:
2 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
  • trunk/MagicSoft/Mars/macros/starmc.C

    r3534 r3768  
    5252  // differences in gain of outer pixels)
    5353  //
    54   CalibrationFilename = new TString("nonoise/Gamma_zbin0_90_*.root");
     54  CalibrationFilename = new TString("../../gammas_nonoise/Gamma_zbin0_90_*.root");
    5555  // File to be used in the calibration (must be a camera file without added noise)
    5656
    5757  Char_t* AnalysisFilename = "Gamma_zbin*.root";  // File to be analyzed
     58
    5859
    5960  // ------------- user change -----------------
     
    7374  Float_t CleanLev[2] = {4., 3.}; // Tail cuts for image analysis
    7475
    75   Int_t BinsHigh[2] = {5, 9}; // First and last FADC bin of the range to be integrated,
    76   Int_t BinsLow[2]  = {5, 9}; // for high and low gain respectively.
     76  Int_t BinsHigh[2] = {5, 10}; // First and last FADC bin of the range to be integrated,
     77  Int_t BinsLow[2]  = {5, 10}; // for high and low gain respectively.
    7778
    7879  // -------------------------------------------
     
    114115
    115116  MExtractSignal    sigextract;
     117  sigextract.SetSaturationLimit(240);
    116118  // Define ADC slices to be integrated in high and low gain:
    117119  sigextract.SetRange(BinsHigh[0], BinsHigh[1], BinsLow[0], BinsLow[1]);
     
    120122
    121123  MCalibrate calib; // Transforms signals from ADC counts into photons.
     124  calib.SetCalibrationMode(MCalibrate::kFfactor);
    122125
    123126  //    MBlindPixelCalc   blind;
Note: See TracChangeset for help on using the changeset viewer.