Changeset 6457 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 02/14/05 14:01:35 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCamera.cc
r6276 r6457 858 858 if (!issame) 859 859 { 860 if (IsUsed(i) && iscol) 860 const Bool_t isnan = TMath::IsNaN(fArray[i+1]); 861 if (!IsUsed(i) || !iscol || isnan) 861 862 { 862 if (TMath::IsNaN(fArray[i+1])) 863 hex.SetFillColor(10); 864 865 if (isnan) 863 866 gLog << warn << "MHCamera::Update: " << GetName() << " <" << GetTitle() << "> - Pixel Index #" << i << " contents is NaN (Not a Number)..." << endl; 864 865 hex.SetFillColor(GetColor(GetBinContent(i+1), min, max, islog));866 867 } 867 868 else 868 hex.SetFillColor( 10);869 hex.SetFillColor(GetColor(GetBinContent(i+1), min, max, islog)); 869 870 } 870 871
Note:
See TracChangeset
for help on using the changeset viewer.