Changeset 6682


Ignore:
Timestamp:
02/28/05 16:30:25 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6680 r6682  
    2121
    2222                                                 -*-*- END OF LINE -*-*-
     23 2005/02/25 Markus Gaug
     24
     25   * mhcalib/MHCalibrationHiLoCam.[h,cc]
     26     - fixed bug in inter-calibration hi-logain for arrival times.
     27
     28
    2329 2005/02/25 Abelardo Moralejo
    2430   * msignal/MC_calibration_weights_UV.dat
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationHiLoCam.cc

    r6678 r6682  
    144144//
    145145MHCalibrationHiLoCam::MHCalibrationHiLoCam(const char *name, const char *title)
     146  : fArrTimes(NULL)
    146147{
    147148
     
    250251  }
    251252
    252   MArrivalTimeCam *times = (MArrivalTimeCam*)pList->FindObject("MArrivalTimeCam");
    253   if (!times)
     253  fArrTimes = (MArrivalTimeCam*)pList->FindObject("MArrivalTimeCam");
     254  if (!fArrTimes)
    254255  {
    255256      *fLog << warn << "MArrivalTimeCam not found... cannot calibrated arrival times between "
     
    305306      return kFALSE;
    306307    }
    307  
    308   MArrivalTimeCam *times = (MArrivalTimeCam*)par;
    309308 
    310309  const Int_t npixels  = fGeom->GetNumPixels();
     
    351350      if (IsLoGain())
    352351        {
    353           const MArrivalTimePix &tix = (*times)[i];
     352          const MArrivalTimePix &tix = (*fArrTimes)[i];
    354353          MHCalibrationPix &histlo = (*this)(i);         
    355354
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationHiLoCam.h

    r5946 r6682  
    1717
    1818class MGeomCam;
    19 class MRawEvtData;
     19class MArrivalTimeCam;
    2020class MHCalibrationHiLoCam : public MHCalibrationCam
    2121{
     
    4242  MArrayI fNumsectorlo;                               //
    4343
     44  MArrivalTimeCam *fArrTimes;                         //! Pointer to arrival times
     45
    4446  Bool_t ReInitHists(MParList *pList);
    4547  Bool_t FillHists(const MParContainer *par, const Stat_t w=1);
Note: See TracChangeset for help on using the changeset viewer.