Ignore:
Timestamp:
10/08/06 14:26:04 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhist
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MHCamera.cc

    r8021 r8022  
    16431643Int_t MHCamera::GetColor(Float_t val, Float_t min, Float_t max, Bool_t islog)
    16441644{
    1645     if (!TMath::Finite(val)) // FIXME: gLog!
    1646         return maxcolidx/2;
    1647 
    16481645    //
    16491646    //   first treat the over- and under-flows
    16501647    //
    16511648    const Int_t maxcolidx = kItemsLegend-1;
     1649
     1650    if (!TMath::Finite(val)) // FIXME: gLog!
     1651        return maxcolidx/2;
    16521652
    16531653    if (val >= max)
  • trunk/MagicSoft/Mars/mhist/MHHadronness.cc

    r7653 r8022  
    211211    const Double_t h = TMath::Min(TMath::Max(had.GetVal(), 0.), 1.);
    212212
    213     if (TMath::IsNaN(h))
     213    if (!TMath::Finite(h))
    214214        return kCONTINUE;
    215215
Note: See TracChangeset for help on using the changeset viewer.