Ignore:
Timestamp:
08/07/02 14:32:26 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhist
Files:
2 edited

Legend:

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

    r1484 r1487  
    120120{
    121121    out << "   MBinning " << GetUniqueName();
    122     if (fName!=gsDefName)
     122    if (fName!=gsDefName || fTitle!=gsDefTitle)
    123123    {
    124124        out << "(\"" << fName << "\"";
  • trunk/MagicSoft/Mars/mhist/MHHillas.cc

    r1465 r1487  
    148148    ApplyBinning(*plist, "Length", fLength);
    149149    ApplyBinning(*plist, "Dist",   fDistC);
    150     ApplyBinning(*plist, "Camera", fCenter);
    151150    ApplyBinning(*plist, "Delta",  fDelta);
    152151    ApplyBinning(*plist, "Size",   fSize);
     152
     153    const MBinning *bins = (MBinning*)plist->FindObject("BinningCamera");
     154    if (!bins)
     155        *fLog << warn << "Object 'BinningCamera' [MBinning] not found... no binning applied." << endl;
     156    else
     157        SetBinning(fCenter, bins, bins);
    153158
    154159    return kTRUE;
Note: See TracChangeset for help on using the changeset viewer.