Changeset 9258


Ignore:
Timestamp:
01/25/09 10:53:29 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mreflector/MRflEvtData.cc

    r8290 r9258  
    4444#include "MLogManip.h"
    4545
    46 #include "MHexagon.h"
    4746#include "MGeomCam.h"
     47#include "MGeomPix.h"
    4848
    4949#include "MRflSinglePhoton.h"
     
    205205    val = 0;
    206206
    207     MHexagon hex(cam[idx]);
    208 
    209     MRflSinglePhoton *ph=NULL;
    210 
    211     TIter Next(&fList);
    212     while ((ph=(MRflSinglePhoton*)Next()))
    213         if (hex.DistanceToPrimitive(ph->GetX(), ph->GetY())<=0)
     207    MRflSinglePhoton *ph=NULL;
     208
     209    TIter Next(&fList);
     210    while ((ph=(MRflSinglePhoton*)Next()))
     211        if (cam[idx].DistanceToPrimitive(ph->GetX(), ph->GetY())<=0)
    214212            val += cam.GetPixRatio(idx);
    215213
Note: See TracChangeset for help on using the changeset viewer.