Changeset 9186 for trunk/MagicSoft/Mars/mhbase
- Timestamp:
- 12/02/08 11:23:24 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhbase/MH.cc
r9153 r9186 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MH.cc,v 1.4 0 2008-11-11 11:42:13tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MH.cc,v 1.41 2008-12-02 11:22:15 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 352 352 y.SetTimeFormat(tfy); 353 353 #else 354 h->SetBins(bx.GetNumBins(), bx.GetEdges(), 355 by.GetNumBins(), by.GetEdges()); 354 if (h->InheritsFrom(TProfile2D::Class())) 355 { 356 h->SetBins(bx.GetNumBins(), 0, 1, 357 by.GetNumBins(), 0, 1); 358 359 h->SetBinsLength(); 360 361 x.Set(bx.GetNumBins(), bx.GetEdges()); 362 y.Set(by.GetNumBins(), by.GetEdges()); 363 } 364 else 365 h->SetBins(bx.GetNumBins(), bx.GetEdges(), 366 by.GetNumBins(), by.GetEdges()); 356 367 #endif 357 368
Note:
See TracChangeset
for help on using the changeset viewer.