Ignore:
Timestamp:
10/17/06 18:18:40 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhbase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhbase/MBinning.cc

    r7804 r8106  
    11/* ======================================================================== *\
     2! $Name: not supported by cvs2svn $:$Id: MBinning.cc,v 1.17 2006-10-17 17:16:00 tbretz Exp $
     3! --------------------------------------------------------------------------
    24!
    35! *
     
    635637            *fLog << warn << GetDescriptor() << "::ReadEnv - WARNING: 'Edges' found... ignoring any 'NumBins', 'EdgeLo' and 'EdgeHi'" << endl;
    636638
    637         const TString type = GetEnvValue(env, prefix, "Edges", "");
     639        const TString etype = GetEnvValue(env, prefix, "Edges", "");
    638640        //type = kIsUserArray;
    639641        /* MISSING */
  • trunk/MagicSoft/Mars/mhbase/MH.cc

    r8073 r8106  
    11/* ======================================================================== *\
     2! $Name: not supported by cvs2svn $:$Id: MH.cc,v 1.31 2006-10-17 17:16:00 tbretz Exp $
     3! --------------------------------------------------------------------------
    24!
    35! *
     
    511513
    512514    TArrayD val(n0-1);
    513     TArrayD err(haserr ? n0-1 : 0);
     515    TArrayD er(haserr ? n0-1 : 0);
    514516    for (int i=1; i<n0; i++)
    515517    {
    516518        val[i-1] = h.GetBinContent(i+1);
    517519        if (haserr)
    518             err[i-1] = h.GetBinError(i+1);
     520            er[i-1] = h.GetBinError(i+1);
    519521    }
    520522
     
    530532        h.SetBinContent(i, val[i-1]);
    531533        if (haserr)
    532             h.SetBinError(i, err[i-1]);
     534            h.SetBinError(i, er[i-1]);
    533535    }
    534536}
Note: See TracChangeset for help on using the changeset viewer.