Ignore:
Timestamp:
11/02/06 19:54:22 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mcalib
Files:
2 edited

Legend:

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

    r8147 r8210  
    289289  ReInitialize();
    290290
     291  *fLog << all << "MCalibCalcFromPast: Calibration Update..." << flush;
     292
    291293  //
    292294  // Finalize Possible calibration histogram classes...
    293295  //
    294   *fLog << inf << GetDescriptor() << ": Finalize calibration histograms: " << flush;
     296  *fLog << inf << "Finalize calibration histograms:" << endl;
    295297
    296298  // This fills the IntensityCam which are newly created by
    297299  // ReInitialize with the result of the last calib cycle
    298   if (Finalize("MHCalibrationChargeCam"))      *fLog << "MHCalibrationChargeCam..." << flush;
    299   if (Finalize("MHCalibrationChargeBlindCam")) *fLog << "MHCalibrationChargeBlindCam..." << flush;
    300   if (Finalize("MHCalibrationRelTimeCam"))     *fLog << "MHCalibrationRelTimeCam..." << flush;
     300  Finalize("MHCalibrationChargeCam");
     301  Finalize("MHCalibrationChargeBlindCam");
     302  Finalize("MHCalibrationRelTimeCam");
    301303
    302304  //
     
    360362// - MHCalibrationCam::ResetHists()
    361363//
    362 Bool_t MCalibCalcFromPast::Finalize(const char* name, Bool_t finalize)
     364void MCalibCalcFromPast::Finalize(const char* name, Bool_t finalize)
    363365{
    364366    MHCalibrationCam *hist = (MHCalibrationCam*)fParList->FindObject(name, "MHCalibrationCam");
    365367    if (!hist)
    366         return kFALSE;
     368        return;
     369
     370    *fLog << inf << "Finalize " << name << ":" << endl;
    367371
    368372    if (finalize)
     
    370374
    371375    hist->ResetHists();
    372     return kTRUE;
    373376}
    374377
  • trunk/MagicSoft/Mars/mcalib/MCalibCalcFromPast.h

    r7288 r8210  
    6969  // MCalibCalcFromPast
    7070  Bool_t ReInitialize();
    71   Bool_t Finalize(const char* name, Bool_t finalize=kTRUE);
     71  void Finalize(const char* name, Bool_t finalize=kTRUE);
    7272
    7373  Bool_t UpdateMeanPhes();
Note: See TracChangeset for help on using the changeset viewer.