Ignore:
Timestamp:
09/08/03 16:09:06 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r2298 r2327  
    7171#include "MImgCleanStd.h"
    7272
     73
    7374#define kItemsLegend 48 // see SetPalette(1,0)
    7475
     
    676677        for (Int_t idx=0; idx<fNcells-2; idx++)
    677678            if (d.GetBinContent(idx+1)!=0)
    678                 Fill(idx, fabs(d.GetBinError(idx+1)/d.GetBinContent(idx+1)));
     679                Fill(idx, TMath::Abs(d.GetBinError(idx+1)/d.GetBinContent(idx+1)));
    679680        break;
    680681    default:
     
    896897    const Float_t step   = (islog && min>0 ? log10(max/min) : max-min) / kItemsLegend;
    897898    const Int_t   firsts = step*3 < 1e-8 ? 8 : (Int_t)floor(log10(step*3));
    898     const TString opt    = Form("%%.%if", firsts>0 ? 0 : abs(firsts));
     899    const TString opt    = Form("%%.%if", firsts>0 ? 0 : TMath::Abs(firsts));
    899900
    900901    for (Int_t i=0; i<kItemsLegend+1; i+=3)
Note: See TracChangeset for help on using the changeset viewer.