Changeset 7053


Ignore:
Timestamp:
05/18/05 11:12:11 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibCalcFromPast.cc

    r7013 r7053  
    7777MCalibCalcFromPast::MCalibCalcFromPast(const char *name, const char *title)
    7878    : fGeom(NULL), fParList(NULL), fRunHeader(NULL),
    79       fIntensCharge(NULL), fIntensBlind(NULL), fIntensRelTime(NULL), fIntensBad(NULL),
    80       fChargeCalc(NULL), fRelTimeCalc(NULL), fCalibrate(NULL),
    81       fNumEvents(0), fNumCam(0), fUpdateWithFFactorMethod(kFALSE)
     79    fIntensCharge(NULL), fIntensBlind(NULL), fIntensQE(NULL),
     80    fIntensRelTime(NULL), fIntensBad(NULL), fChargeCalc(NULL),
     81    fRelTimeCalc(NULL), fCalibrate(NULL), fNumEvents(0), fNumCam(0),
     82    fUpdateWithFFactorMethod(kFALSE)
    8283{
    8384
  • trunk/MagicSoft/Mars/mcalib/MCalibrateData.cc

    r6932 r7053  
    253253    }
    254254
    255     if (fPedestalFlag)
     255    if (fPedestalFlag!=kNo)
    256256    {
    257257        if (fNamesPedestal.GetSize()==0)
     
    323323
    324324    // Sizes might have changed
    325     if (fPedestalFlag)
     325    if (fPedestalFlag!=kNo)
    326326    {
    327327        TIter Next(&fPedestalCams);
     
    405405          {
    406406            *fLog << "Size mismatch between MGeomCam and MCalibrationChargeCam... abort!" << endl;
    407             return kFALSE;
    408           }
    409        
    410         if (fBadPixels->GetSize() != npixels)
    411           {
    412             *fLog << "Size mismatch between MGeomCam and MBadPixelsCam... abort!" << endl;
    413407            return kFALSE;
    414408          }
     
    598592        if (calibConv != 0. && calibQE != 0.)
    599593          {
    600             // Now doing:
    601594            calibConvVar  = calibConvVar/(calibConv*calibConv) + calibQEVar/(calibQE*calibQE);
    602595            calibConvVar *= (calibConv*calibConv);
    603             // The above two lines had been commented by TB and replaced by the following line
    604             // (without notice to me!) but it is simply wrong!
    605             //          calibConvVar += calibQEVar*(calibConv*calibConv)/(calibQE*calibQE);
    606596          }
    607597
     
    631621        return kFALSE;
    632622    }
    633 
    634    
    635 
    636     //    Print();
    637623
    638624    return kTRUE;
  • trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc

    r7035 r7053  
    722722    tlist2.AddToList(&contcos);
    723723    if (fIsHiLoCalibration)
    724       tlist2.AddToList(&filhil);
    725     if (fIsPulsePosCheck)
    726         tlist2.AddToList(&filpul);
    727     if (fIsHiLoCalibration)
    728724    {
    729725        plist.AddToList(&hilocam);
  • trunk/MagicSoft/Mars/mjobs/MJCalibration.cc

    r7047 r7053  
    19761976        SetUsePINDiode(kFALSE);
    19771977
    1978     tlist.PrintStatistics();
    1979     DisplayResult(plist);
    1980     if (!WriteResult(plist))
    1981         return kFALSE;
     1978    const Int_t numexec = IsUseRawData() ? rawread.GetNuMExecutions() : read.GetNuMExecutions();
     1979    if (numexec>0)
     1980    {
     1981        tlist.PrintStatistics();
     1982        DisplayResult(plist);
     1983        if (!WriteResult(plist))
     1984            return kFALSE;
     1985    }
    19821986
    19831987    if (!rc)
Note: See TracChangeset for help on using the changeset viewer.