Changeset 3907 for trunk


Ignore:
Timestamp:
04/30/04 14:40:15 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3904 r3907  
    2626   * mcalib/MHCalibrationRelTimeCam.[h,cc]
    2727     -  Getter and Setter for the reference pixel
     28
     29   * mcalib/MCalibrate.cc
     30     - make error of nphot to be taken from square root of absolute
     31       number of photons instead of number of photons, otherwise
     32       NaN's are obtained
     33
    2834
    2935 2004/04/29: Thomas Bretz
  • trunk/MagicSoft/Mars/mcalib/MCalibrate.cc

    r3845 r3907  
    334334                  case kFfactor:
    335335                      if (pix.IsFFactorMethodValid())
    336                       {
     336                        {
    337337                          calibQE      = qe.GetQECascadesFFactor   ( zenith );
    338338                          calibQEVar   = qe.GetQECascadesFFactorVar( zenith );
    339                       }
     339                        }
    340340                      else
    341341                          continue;
     
    394394     
    395395      nphot    = signal*calibConv/calibQE;
    396       nphotErr = calibFFactor*TMath::Sqrt(nphot);
     396      nphotErr = calibFFactor*TMath::Sqrt(TMath::Abs(nphot));
    397397
    398398      if (fCalibrationMode == kFlatCharge)
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationChargePINDiode.cc

    r3723 r3907  
    5656const Int_t   MHCalibrationChargePINDiode::fgAbsTimeNbins    = 30;
    5757const Axis_t  MHCalibrationChargePINDiode::fgChargeFirst     = -0.5;
    58 const Axis_t  MHCalibrationChargePINDiode::fgChargeLast      = 199.5;
    59 const Int_t   MHCalibrationChargePINDiode::fgChargeNbins     = 200;
    60 const Int_t   MHCalibrationChargePINDiode::fgRmsChargeNbins  = 100;
     58const Axis_t  MHCalibrationChargePINDiode::fgChargeLast      = 1999.5;
     59const Int_t   MHCalibrationChargePINDiode::fgChargeNbins     = 2000;
     60const Int_t   MHCalibrationChargePINDiode::fgRmsChargeNbins  = 200;
    6161const Axis_t  MHCalibrationChargePINDiode::fgRmsChargeFirst  = 0.;
    62 const Axis_t  MHCalibrationChargePINDiode::fgRmsChargeLast   = 100.; 
     62const Axis_t  MHCalibrationChargePINDiode::fgRmsChargeLast   = 200.; 
    6363const Float_t MHCalibrationChargePINDiode::fgTimeLowerLimit  = 3.;
    6464const Float_t MHCalibrationChargePINDiode::fgTimeUpperLimit  = 4.;
     
    156156  MHGausEvents::InitBins();
    157157
    158   fHAbsTime.SetBins(fAbsTimeNbins,fAbsTimeFirst,fAbsTimeLast);
     158  fHAbsTime.  SetBins(fAbsTimeNbins,  fAbsTimeFirst,  fAbsTimeLast);
    159159  fHRmsCharge.SetBins(fRmsChargeNbins,fRmsChargeFirst,fRmsChargeLast);
    160160
Note: See TracChangeset for help on using the changeset viewer.