Changeset 2674 for trunk


Ignore:
Timestamp:
12/15/03 15:41:15 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2673 r2674  
    44
    55                                                 -*-*- END OF LINE -*-*-
     6
     7 2003/12/15: Abelardo Moralejo
     8
     9   * mgeom/MGeomCam.h
     10     - made the CalcPixRatio function public.
     11
     12   * manalysis/MGeomApply.cc
     13     - call the CalcPixRatio of the MGeomCam object. Workaround to
     14       allow the analysis of some files from a beta version of camera
     15       0.7 in which the array containing pixel ratios was not
     16       initialized.
    617
    718 2003/12/12: Markus Gaug / Michele Doro
  • trunk/MagicSoft/Mars/manalysis/MGeomApply.cc

    r2644 r2674  
    106106    }
    107107
     108    // FIXME, workaround: this call to CalcPixRatio is here just to allow
     109    // the use of some camera files from the 0.7 beta version in which the
     110    // array containing pixel ratios is not initialized.
     111
     112    cam->CalcPixRatio();
     113
    108114    MPedestalCam *ped = (MPedestalCam*)pList->FindObject(AddSerialNumber("MPedestalCam"));
    109115    if (ped)
  • trunk/MagicSoft/Mars/mgeom/MGeomCam.h

    r2521 r2674  
    3131
    3232protected:
    33     void CalcPixRatio();
    3433    void CalcMaxRadius();
    3534    void CalcNumSectors();
     
    4948
    5049    virtual TObject *Clone(const char *newname=NULL) const;
     50
     51    void CalcPixRatio();
     52    // FIXME, workaround: this function is made public just to allow
     53    // the use of some camera files from the 0.7 beta version in which the
     54    // array containing pixel ratios is not initialized.
    5155
    5256    Float_t GetCameraDist() const { return fCamDist; }
Note: See TracChangeset for help on using the changeset viewer.