Changeset 8022 for trunk/MagicSoft/Mars/mhvstime
- Timestamp:
- 10/08/06 14:26:04 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mhvstime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhvstime/MHPixVsTime.cc
r7971 r8022 180 180 Double_t rms = 0; 181 181 evt->GetPixelContent(val, fIndex, *fCam, fType); 182 if ( TMath::IsNaN(val))182 if (!TMath::Finite(val)) 183 183 return kCONTINUE; 184 184 … … 194 194 { 195 195 evt->GetPixelContent(rms, fIndex, *fCam, fTypeErr); 196 if ( TMath::IsNaN(rms))196 if (!TMath::Finite(rms)) 197 197 return kCONTINUE; 198 198 } -
trunk/MagicSoft/Mars/mhvstime/MHSectorVsTime.cc
r7971 r8022 228 228 const Double_t val0 = fHCamera.GetMeanSectors(fSectors, fAreaIndex); 229 229 230 if ( TMath::IsNaN(val0))230 if (!TMath::Finite(val0)) 231 231 return kTRUE; 232 232 … … 236 236 { 237 237 const Double_t rms0 = fHCamera.GetRmsSectors(fSectors, fAreaIndex); 238 if ( TMath::IsNaN(rms0))238 if (!TMath::Finite(rms0)) 239 239 return kTRUE; 240 240 ((TGraphErrors*)fGraph)->SetPointError(fGraph->GetN()-1, 0, rms0);
Note:
See TracChangeset
for help on using the changeset viewer.