Ignore:
Timestamp:
02/21/11 15:08:41 (14 years ago)
Author:
tbretz
Message:
Treat kArtificial in addition to kNightSky.
Location:
trunk/Mars/msimcamera
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/msimcamera/MSimCamera.cc

    r9625 r10167  
    279279        // FIMXE: How stable is the gain?
    280280
    281         if (ph.GetPrimary()!=MMcEvt::kNightSky)
     281        if (ph.GetPrimary()!=MMcEvt::kNightSky && ph.GetPrimary()!=MMcEvt::kArtificial)
    282282            tot += ph.GetWeight();
    283283
  • trunk/Mars/msimcamera/MSimSignalCam.cc

    r9347 r10167  
    150150
    151151        // Reject photons from the night sky
    152         if (ph.GetPrimary()==MMcEvtBasic::kNightSky)
     152        if (ph.GetPrimary()==MMcEvtBasic::kNightSky || ph.GetPrimary()==MMcEvtBasic::kArtificial)
    153153            continue;
    154154
Note: See TracChangeset for help on using the changeset viewer.