Changeset 9258
- Timestamp:
- 01/25/09 10:53:29 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mreflector/MRflEvtData.cc
r8290 r9258 44 44 #include "MLogManip.h" 45 45 46 #include "MHexagon.h"47 46 #include "MGeomCam.h" 47 #include "MGeomPix.h" 48 48 49 49 #include "MRflSinglePhoton.h" … … 205 205 val = 0; 206 206 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) 214 212 val += cam.GetPixRatio(idx); 215 213
Note:
See TracChangeset
for help on using the changeset viewer.