Changeset 8106 for trunk/MagicSoft/Mars/mhbase
- Timestamp:
- 10/17/06 18:18:40 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mhbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhbase/MBinning.cc
r7804 r8106 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MBinning.cc,v 1.17 2006-10-17 17:16:00 tbretz Exp $ 3 ! -------------------------------------------------------------------------- 2 4 ! 3 5 ! * … … 635 637 *fLog << warn << GetDescriptor() << "::ReadEnv - WARNING: 'Edges' found... ignoring any 'NumBins', 'EdgeLo' and 'EdgeHi'" << endl; 636 638 637 const TString type = GetEnvValue(env, prefix, "Edges", "");639 const TString etype = GetEnvValue(env, prefix, "Edges", ""); 638 640 //type = kIsUserArray; 639 641 /* MISSING */ -
trunk/MagicSoft/Mars/mhbase/MH.cc
r8073 r8106 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MH.cc,v 1.31 2006-10-17 17:16:00 tbretz Exp $ 3 ! -------------------------------------------------------------------------- 2 4 ! 3 5 ! * … … 511 513 512 514 TArrayD val(n0-1); 513 TArrayD er r(haserr ? n0-1 : 0);515 TArrayD er(haserr ? n0-1 : 0); 514 516 for (int i=1; i<n0; i++) 515 517 { 516 518 val[i-1] = h.GetBinContent(i+1); 517 519 if (haserr) 518 er r[i-1] = h.GetBinError(i+1);520 er[i-1] = h.GetBinError(i+1); 519 521 } 520 522 … … 530 532 h.SetBinContent(i, val[i-1]); 531 533 if (haserr) 532 h.SetBinError(i, er r[i-1]);534 h.SetBinError(i, er[i-1]); 533 535 } 534 536 }
Note:
See TracChangeset
for help on using the changeset viewer.