Changeset 1088 for trunk


Ignore:
Timestamp:
11/26/01 15:07:11 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r1086 r1088  
    11                                                                  -*-*- END -*-*-
     2
     3 2001/11/16: Thomas Bretz
     4
     5   * mhist/MHMcCollectionArea.cc:
     6     - set the ReadyToSave bit in CalcEfficiency.
     7
     8   * mmontecarlo/MMcThresholdCalc.cc:
     9     - set the ReadyToSave bit after the calculation has been finished.
     10
     11   * mhist/MHMcRate.cc:
     12     - set the ReadyToSave bit in CalcRate
     13
     14
    215
    316 2001/11/16: Thomas Bretz
  • trunk/MagicSoft/Mars/mhist/MHMcCollectionArea.cc

    r1082 r1088  
    194194// --------------------------------------------------------------------------
    195195//
    196 //  Calculate the Efficiency (collection area)
     196//  Calculate the Efficiency (collection area) and set the 'ReadyToSave'
     197//  flag
    197198//
    198199void MHMcCollectionArea::CalcEfficiency()
     
    258259        fHistCol->SetBinError(ix, sqrt(errA));
    259260    }
    260 }
     261
     262    SetReadyToSave();
     263}
  • trunk/MagicSoft/Mars/mhist/MHMcRate.cc

    r1082 r1088  
    151151// --------------------------------------------------------------------------
    152152//
    153 //  compute the trigger rate
     153//  compute the trigger rate and set the ReadyToSave bit
    154154//
    155155void MHMcRate::CalcRate(Float_t trig, Float_t anal, Float_t simu)
     
    188188
    189189    fTriggerRate = trig*fShowerRate/simu + anal2*fBackTrig/back2;
     190
     191    SetReadyToSave();
    190192}
    191193
  • trunk/MagicSoft/Mars/mmontecarlo/MMcThresholdCalc.cc

    r1082 r1088  
    176176        sigma = hist.GetGaussSigma();
    177177        hist.Fit(peak - fSqrt2*sigma, peak + fSqrt2*sigma);
     178
     179        hist.SetReadyToSave();
    178180    }
    179181    return kTRUE;
Note: See TracChangeset for help on using the changeset viewer.