Changeset 8022 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 10/08/06 14:26:04 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mhist
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCamera.cc
r8021 r8022 1643 1643 Int_t MHCamera::GetColor(Float_t val, Float_t min, Float_t max, Bool_t islog) 1644 1644 { 1645 if (!TMath::Finite(val)) // FIXME: gLog!1646 return maxcolidx/2;1647 1648 1645 // 1649 1646 // first treat the over- and under-flows 1650 1647 // 1651 1648 const Int_t maxcolidx = kItemsLegend-1; 1649 1650 if (!TMath::Finite(val)) // FIXME: gLog! 1651 return maxcolidx/2; 1652 1652 1653 1653 if (val >= max) -
trunk/MagicSoft/Mars/mhist/MHHadronness.cc
r7653 r8022 211 211 const Double_t h = TMath::Min(TMath::Max(had.GetVal(), 0.), 1.); 212 212 213 if ( TMath::IsNaN(h))213 if (!TMath::Finite(h)) 214 214 return kCONTINUE; 215 215
Note:
See TracChangeset
for help on using the changeset viewer.