Changeset 5977


Ignore:
Timestamp:
01/24/05 19:38:51 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5976 r5977  
    2020
    2121                                                 -*-*- END OF LINE -*-*-
     22
     23 2005/01/24 Abelardo Moralejo
     24
     25   * manalysis/MMcCalibrationUpdate.cc
     26     - Adapted to changes in MCalibrateData from 2005/01/16: moved
     27       qepix.SetAvNormFFactor(1.)  from Process() to ReInit(). Due to
     28       this, for the last week you may have found trouble running
     29       starmc.C and mccalibrate.C.
    2230
    2331 2005/01/24 Thomas Bretz
  • trunk/MagicSoft/Mars/manalysis/MMcCalibrationUpdate.cc

    r5291 r5977  
    333333            avqe = MCalibrationQEPix::gkDefaultAverageQE*fOuterPixelsLightCollection;
    334334
     335        qepix.SetAvNormFFactor(1.);
     336        // This factor should convert the default average QE to average QE
     337        // for a spectrum like that of Cherenkov light. See the documentation
     338        // of MCalibrationQEPix. Here it is 1 because we calibrate using
     339        // Cherenkov light.
     340
    335341        qepix.SetAverageQE(avqe);
    336342    }
     
    343349//
    344350// Fill the MCerPhotPed object
     351//
     352// This has to be done on an event by event basis because the (calibrated) pedestal
     353// fluctuations depend on whether, for each pixel, we are using the high gain or the
     354// low gain branch.
    345355//
    346356Int_t MMcCalibrationUpdate::Process()
     
    386396        MCalibrationQEPix &qepix = (MCalibrationQEPix&)(*fQECam)[i];
    387397
    388         qepix.SetAvNormFFactor(1.);
    389         // This factor should convert the default average QE to average QE
    390         // for a spectrum like that of Cherenkov light. See the documentation
    391         // of MCalibrationQEPix. Here it is 1 because we calibrate using
    392         // Cherenkov light.
    393 
    394398        Float_t qe       = qepix.GetAverageQE();
    395399        Float_t adc2phot = calpix.GetMeanConvFADC2Phe() / qe;
Note: See TracChangeset for help on using the changeset viewer.