Changeset 2327 for trunk/MagicSoft
- Timestamp:
- 09/08/03 16:09:06 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2326 r2327 11 11 - Added casts to arguments of fTime->SetTime(h, m, s, ns) to get 12 12 rid of compilation warnings. 13 14 * mhist/MHCamera.cc: 15 - Changed calls to abs and fabs by TMath::Abs. At least in RH7.2 16 with gcc2.96, abs() was not recognized. 13 17 14 18 2003/09/07: Abelardo Moralejo -
trunk/MagicSoft/Mars/mhist/MHCamera.cc
r2298 r2327 71 71 #include "MImgCleanStd.h" 72 72 73 73 74 #define kItemsLegend 48 // see SetPalette(1,0) 74 75 … … 676 677 for (Int_t idx=0; idx<fNcells-2; idx++) 677 678 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))); 679 680 break; 680 681 default: … … 896 897 const Float_t step = (islog && min>0 ? log10(max/min) : max-min) / kItemsLegend; 897 898 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)); 899 900 900 901 for (Int_t i=0; i<kItemsLegend+1; i+=3)
Note:
See TracChangeset
for help on using the changeset viewer.