Ignore:
Timestamp:
02/13/02 16:40:37 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/MagicHillas.C

    r1209 r1216  
    2424
    2525
    26 void MagicHillas(const char *filename="~/data/Gamma*.root")
     26void MagicHillas(const char *filename="~/data/gamma*.root")
    2727{
    2828    //
     
    4545    MGeomCamMagic geomcam;
    4646    plist.AddToList(&geomcam);
     47
     48    //
     49    // Setup binning for your histograms.
     50    //
     51    MBinning binswidth("BinningWidth");
     52    binswidth.SetEdges(100, 0, 1);   // 100 bins from 0 to 1 deg
     53
     54    MBinning binslength("BinningLength");
     55    binslength.SetEdges(100, 0, 1);  // 100 bins from 0 to 1 deg
     56
     57    MBinning binsalpha("BinningAlpha");
     58    binsalpha.SetEdges(90, 0, 90);   // 90 bins from 0 to 90 deg
     59
     60    MBinning binsdist("BinningDist");
     61    binsdist.SetEdges(100, 0, 2);    // 100 bins from 0 to 2 deg
     62
     63    plist.AddToList(&binswidth);
     64    plist.AddToList(&binslength);
     65    plist.AddToList(&binsalpha);
     66    plist.AddToList(&binsdist);
    4767
    4868    //
Note: See TracChangeset for help on using the changeset viewer.