Changeset 3219


Ignore:
Timestamp:
02/17/04 19:53:19 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3217 r3219  
    1010     - Added missing gPad->cd(1), otherwise the display of events was
    1111       not updated.
     12
     13   * mgui/MHexagon.cc
     14     - fixed comment in DistanceToPrimitive(Float_t px, Float_t py)
     15       The pixel "radius" here used is that of the "outer" circle, not
     16       of the inner one as previously stated. Added FIXME comment to
     17       implement better calculation in the future.
     18
    1219
    1320 2004/01/17: Raquel de los Reyes
  • trunk/MagicSoft/Mars/mgui/MHexagon.cc

    r2230 r3219  
    169169    //
    170170    //  compute the distance from the border of Pixel
    171     //  here in the first implementation is just circle inside
     171    //  here in the first implementation is just circle outside
    172172    //
    173173    return fD*0.5772 < disthex ? disthex-fD*0.5772 : -1;
     174    //
     175    // FIXME: this approximate method results in some photons being
     176    // assigned to two or even three different pixels.
     177    //
    174178}
    175179
Note: See TracChangeset for help on using the changeset viewer.