Ignore:
Timestamp:
09/16/02 10:10:17 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r1504 r1524  
    170170    const MBinning *bins = (MBinning*)plist->FindObject("BinningCamera");
    171171    if (!bins)
    172         *fLog << warn << "Object 'BinningCamera' [MBinning] not found... no binning applied." << endl;
     172    {
     173        float r = geom ? geom->GetMaxRadius() : 600;
     174        r *= 0.9;
     175        if (!fUseMmScale)
     176            r *= fMm2Deg;
     177
     178        MBinning b;
     179        b.SetEdges(61, -r, r);
     180        SetBinning(fCenter, &b, &b);
     181    }
    173182    else
    174183        SetBinning(fCenter, bins, bins);
     184
    175185
    176186    return kTRUE;
Note: See TracChangeset for help on using the changeset viewer.